Advertisement

There's no such thing as a stupid question, but they're the easiest to answer.
Login
Search

Advertisement

Linux and Unix Linux and Unix
Search Search
Search for:
Tech Support Guy > > >

Apache 2.0 RH 9


(!)

Squashman's Avatar
Trusted Advisor with 19,660 posts.
THREAD STARTER
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
14-Oct-2003, 11:15 AM #1
Apache 2.0 RH 9
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.
__________________
.

Last edited by LwdSquashman; 14-Oct-2003 at 11:26 AM..
JayTheHun's Avatar
JayTheHun JayTheHun is offline
Member with 383 posts.
 
Join Date: Jun 2002
Location: WA State
21-Oct-2003, 03:27 PM #2
Have you checked the httpd.conf file for a directive that may exclude .htaccess and .htpasswd from the DocumentRoot?
Squashman's Avatar
Trusted Advisor with 19,660 posts.
THREAD STARTER
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
22-Oct-2003, 01:36 AM #3
Quote:
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.
As Seen On

BBC, Reader's Digest, PC Magazine, Today Show, Money Magazine
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.


(clock)
THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


WELCOME
You Are Using: Server ID
Trusted Website Back to the Top ↑