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

Re: [cobalt-users] how2fix /home/sites/site2/web/.htaccess: ErrorDocument not allowed here



On Sun, 21 Jul 2002, Support wrote:
> 
> (1)  Is these normal for RAQ4 server ?  I am sure that I can use it in RAQ3.

yes, by default the Raq4 is a little tighter 


> (2)  Do I have to add 'AllowOverride All'  
in /etc/httpd/conf/access.conf manually to fix those problem ?

Yes, in fact,  it's not allowed in
.htaccess [as i remember, you can not turn the RewriteEngine on/off in
htaccess regardless btw, tho, you can set some options on it]

> 
> (3)  I am newbie and I need to restart apache 
server after edit access.conf ? 

Yes, it won't read the config file until you restart it
> 
> (4)  If yes, what's the command ?

Making any gui change to a web site will do it, or you can use the
start/stop script in /etc/rc.d/init.d , should be something like
httpd restart [off the top of my head i forget what it's named on the
raq4]

> 
> (5)  In case I have to edit access.conf, 
I can add new virtual site without problem ?

If you change it there, yes, if you change it for a specific site via
httpd.conf, it may get eaten
> 
> (6)  Or after add new name base domain, I must edit access.conf again ?

Save the old file regardless, upgrading apache/system files will
likely replace that file also.

gsh