Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Apache Web Sever

Posted on 2000-03-03
1
Medium Priority
?
211 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 40

Accepted Solution

by:
jlevie earned 400 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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.
If you’re involved with your company’s wide area network (WAN), you’ve probably heard about SD-WANs. They’re the “boy wonder” of networking, ostensibly allowing companies to replace expensive MPLS lines with low-cost Internet access. But, are they …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

715 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