httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Tomazos <orei...@tomazos.com>
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:

   /home/fred/.htaccess

Apache is located at:

   /usr/local/apache/

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.

Regards,
Andrew.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message