httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Tomazos <>
Subject Recognizing .htaccess in non-apache directory.
Date Sat, 22 Dec 2001 11:35:55 GMT
My system administrator and myself are puzzled over Apache using a .htaccess
file that it shouldn't know about.

The .htaccess file is located at:


Apache is located at:


In the httpd.conf file are the following statements which may provide clues:

  ServerRoot /usr/local/apache
  DocumentRoot /home/fred/web
  ScriptAlias /cgi-bin /home/fred/cgi
  ScriptAlias /cgi /home/fred/cgi

(These are the only references containing /home/fred.)

When a change is made to /home/fred/.htaccess Apache reads and makes the
changes to the configuration.

The question is that why is apache looking at that file?  The document root
is /home/fred/web not /home/fred.

Any ideas appreciated.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message