[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



Hi,

Look for this in /etc/httpd/conf/access.conf

<Directory /home/sites/>

The line below is standaard.
Options Indexes FollowSymLinks Includes MultiViews

 for our servers I changed it to
Options FollowSymLinks Includes MultiViews

# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"

Standaard line
AllowOverride AuthConfig Indexes Limit

which we changed to read:

AllowOverride All


regards

Erik Venema
DutchNet Internet

----- Original Message -----
From: "Support" <support@xxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Sunday, July 21, 2002 2:33 AM
Subject: Re: [cobalt-users] how2fix /home/sites/site2/web/.htaccess:
ErrorDocument not allowed here


> Thank you very much sir.
>
> So I have to add 'AllowOverride All'  in in /etc/httpd/conf/access.conf
> at the bottom of file.
>
> ^_^
>
> ----------------------------------------
8< ----------------------------------------
>
> On 7/20/2002 at 8:38 PM flash22@xxxxxxx wrote:
>
> 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
>
>
> _____________________________________
> 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
>
>
>
> _____________________________________
> 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
>
>