You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ed Curtis <ed...@homes2see.com> on 2003/08/08 17:13:13 UTC

[users@httpd] From RH to Debian

 I recently had to switch servers and moved from a Red Hat 5.2 system
running Apache 1.3.26 to a Debian 3.0 system running Apache 1.3.26.
Somewhere along the move my .htaccess files quit working. I have them pretty
scattered througout my document root directory and need to get them working
again. I think it's a <Directory> thing if I'm thinking clearly.

Say my document root is: /var/www

I have a .htaccess file in /var/www/dir1 and /var/www/dir5 and
/var/www/dir7/main

How would I go about getting these directories to use the .htaccess to ask
for authentication again.

Thanks,

Ed

---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] From RH to Debian

Posted by Robert Andersson <ro...@profundis.nu>.
Ed Curtis wrote:
> Somewhere along the move my .htaccess files quit working.

Take a look a your existing or abscent AllowOverride directive:
http://httpd.apache.org/docs/mod/core.html#allowoverride

Specifically, you must have it in the directory block for the directory in
which you want Apache to read and obey access files, and make sure no more
specific directory block overrides it.

Regards,
Robert Andersson


---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org