Solved

Apache Web Sever

Posted on 2000-03-03
1
201 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
ID: 2582237
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

895 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

15 Experts available now in Live!

Get 1:1 Help Now