[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] [RAQ4] .htaccess erroring...
- Subject: RE: [cobalt-users] [RAQ4] .htaccess erroring...
- From: Greg Hewitt-Long <cobaltusers@xxxxxxxxxxxxxxxxxxx>
- Date: Sun Dec 1 14:00:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
>[snip]
>
>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
>
>----------------------------------------------
>
>Greg,
>
>Solved on my raq4:
>
>If you check /var/log/httpd/error it will tell you whats wrong..
>
>1.
>Add "AllowOverride All" to your site (replace site1 with you sitenumber)
>
>/etc/httpd/conf/access.conf
>
><Directory /home/sites/site1>
>AllowOverride All
>Options All
></Directory>
>
>2.
>.htaccess
>ErrorDocument 404 /404err.shtml
>
>3.
>/etc/rc.d/init.d/httpd reload
>
>Should be working then..
>
>Andras
>
Andras,
thanks a lot - it was indeed these directives missing from access.conf - what now perplexes me, is why these never got created for the sites on the machine, especially when the permissions on the relevant folders and .conf files appear the same as on a RAQ4 where things are working fine.
thanks for the excellent fix!
regards
Greg Hewitt-Long
--
http://www.webyourbusiness.com/
Providers of E-Commerce Software &
Web Design Consultancy and Services.
PH: (970) 266-0195 FAX: (970) 266-0158