1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Apache 2.0 RH 9

Discussion in 'Linux and Unix' started by Squashman, Oct 14, 2003.

Thread Status:
Not open for further replies.
Advertisement
  1. Squashman

    Squashman Trusted Advisor Thread Starter

    Joined:
    Apr 4, 2003
    Messages:
    19,731
    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.
     
  2. JayTheHun

    JayTheHun

    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?
     
  3. Squashman

    Squashman Trusted Advisor Thread Starter

    Joined:
    Apr 4, 2003
    Messages:
    19,731
    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
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 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/171911