Apache 2.0 RH 9

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Squashman

Thread Starter
Trusted Advisor
Joined
Apr 4, 2003
Messages
19,786
Well ever since I upgraded to RH9 and Apache 2, I have had nothing but headaches.

The latest problem is that I cannot password protect any directories in the main domain (www.mydomain.com). But if I create virtual host say named (squashman.mydomain.com) and password protect a directory in there, it works just fine.

This makes no Fricken sense at all. The .htaccess and .htpasswd files are identical. Permissions are correct.

I get the Password box for the subdomains but the main domain it just bypasses the htaccess and executes the index file.

I am just baffled by this.
 
Joined
Jun 26, 2002
Messages
383
Have you checked the httpd.conf file for a directive that may exclude .htaccess and .htpasswd from the DocumentRoot?
 

Squashman

Thread Starter
Trusted Advisor
Joined
Apr 4, 2003
Messages
19,786
Originally posted by JayTheHun:
Have you checked the httpd.conf file for a directive that may exclude .htaccess and .htpasswd from the DocumentRoot?
I did resolve this issue. I just forgot to post back. Apache 2.0 must set the AllowOverride None by default. I have no idea why they would do this. I dont remember it being that way in Apache 1.3.

They have changed so much crap around with 2.0, it has been making my head spin. I am ready to go back to 1.3. Took me 2 days to figure out why my Virtual Hosts would not work when I upgraded to 2.0.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Members online

Top