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

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



-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx] On Behalf Of Greg
Hewitt-Long
Sent: Sunday, December 01, 2002 7:28 AM
To: cobalt-users@xxxxxxxxxxxxxxx
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

_____________________________________


Greg,

I had the same problem before..
Find out it was something "ErrorDocument isn't allowed here"
I'm sure if it was frontpage enabled which has .htaccess already
and you would put ErrorDocument   404     /404err.shtml ot the 
top of the .htaccess file would work..
Otherwise probably need to modify some httpd config file under
/etc/httpd/conf/

Andras