Solved

Apache Web Sever

Posted on 2000-03-03
1
196 Views
Last Modified: 2013-12-23
Hi,
  I just install Apache Web Server and add ,.htaccess file to my one web directory.  But, the htaccess function doesn't work. I am not sure what do I miss in httpd.conf file.
  Also, I don't want people browsing directory. I added the below line to httpd.conf  and restart httpd services.

<Directory />
    Options FollowSymLinks ExecCGI Includes Indexes
    AllowOverride All
</Directory>

But still doesn't work, any idea?
0
Comment
Question by:jpchen
1 Comment
 
LVL 40

Accepted Solution

by:
jlevie earned 100 total points
Comment Utility
You donm't have the Document Root set up correctly for either.

Do something like:

DocumentRoot "/opt/Apache/htdocs"
<Directory />
    Options FollowSymLinks Includes
    AllowOverride AuthConfig
    Order allow,deny
    Allow from all                       </Directory>                                                                    

You probably don't want to allow ExecCGI in the document root, but woould need it on the ScriptAlias directory.

The Apache docs provide a full explanation of all of these directives.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Lets look at the default installation and configuration of FreeProxy 4.10 REQUIREMENTS 1. FreeProxy 4.10 Application - Can be downloaded here (http://www.handcraftedsoftware.org/index.php?page=download) 2. Ensure that you disable the windows fi…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now