[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] [RAQ4] .htaccess erroring...



----- Original Message -----
From: "Greg Hewitt-Long" <cobaltusers@xxxxxxxxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Sunday, December 01, 2002 10:27 AM
Subject: [cobalt-users] [RAQ4] .htaccess erroring...


> I'm having a bad day already...
>
> I have a brand new site, gui created, and loading even the simplest of
.htaccess files causes the whole site to internal server error... any ideas?
>
> I've checked the ownership and permissions of .htaccess file and they are
correct for the admin user of the site - the perms are wide open and it's
internal server error - perhaps I need more coffee - perhaps I'm missing
something fundamental - but this IS the first site on this machine with
.htaccess to my knowledge:
>
> [root web]# ls -ld . ;
> drwxrwsr-x   9 nobody   site7        1024 Dec  1 09:20 .
> [root web]# ls -l .htaccess 404* ;
> -rwxrwxrwx   1 aaahost9 site7          32 Dec  1 09:20 .htaccess
> -rwxrwxrwx   1 aaahost9 site7        1052 Nov 29 16:36 404err.shtml
> [root web]# cat .htaccess
> ErrorDocument   404     /404err.shtml
>
>
> Any pointers, or more coffee beans greatly appreciated!
>
> Greg Hewitt-Long
>
>
> ps - an EMPTY .htaccess file doesn't error, nor does one with only
comments
> --
> http://www.webyourbusiness.com/
> Providers of E-Commerce Software &
> Web Design Consultancy and Services.
> PH: (970) 266-0195   FAX: (970) 266-0158
>
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users


In your access configuration - /etc/httpd/access.conf - make sure you've got
this directive on:

----snip----
AllowOverride All
----snip----

If the directive is set to 'Off' then that is most likely the problem.  In
addition, you should have the directive:  "AuthPam_Enable off", in your
.htaccess file.  Hope this helps.

Tae C.