Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Linux and Unix
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop driver drivers dvd email error excel firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem recovery router safe mode screen slow sound spyware tdlwsp.dll trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Apache 2.0 RH 9

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
Squashman's Avatar
Distinguished Member with 14,983 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: IIAHYAYCESA,YAADA!
14-Oct-2003, 12:15 PM #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.
__________________
I hate asking the same question twice!
How to ask questions the smart way!
Microsoft MVP - User Desktop Experience

Last edited by LwdSquashman : 14-Oct-2003 12:26 PM.
JayTheHun's Avatar
Senior Member with 383 posts.
 
Join Date: Jun 2002
Location: WA State
21-Oct-2003, 04: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
Distinguished Member with 14,983 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: IIAHYAYCESA,YAADA!
22-Oct-2003, 02: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.
__________________
I hate asking the same question twice!
How to ask questions the smart way!
Microsoft MVP - User Desktop Experience
Closed Thread Bookmark and Share

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.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 08:55 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.