Solved

Apache Web Sever

Posted on 2000-03-03
1
210 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 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
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…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Suggested Courses
Course of the Month7 days, 23 hours left to enroll

617 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