Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Apache Web Sever

Posted on 2000-03-03
1
Medium Priority
?
212 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 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Unable to change the program that handles the scan event from a network attached Canon/Brother printer/scanner. This means you'll always have to choose which program handles this action, e.g. ControlCenter4 (in the case of a Brother).
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy. ¬†This article also serves as your NTP server documentation.
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

877 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