Re: apache2 htaccess

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

 



The documentation is helpful thanks, but it was working good with mod_php and mode prefork
Now any syntax error in .htaccess crash the process because of apache2 mode worker
Do you know how can I log theses syntax error if possible?

Thanks for your help


De: "Igor Cicimov" <icicimov@xxxxxxxxx>
À: "users" <users@xxxxxxxxxxxxxxxx>
Envoyé: Jeudi 27 Décembre 2012 12:57:41
Objet: Re: apache2 htaccess


On 27/12/2012 10:43 PM, "Benoit GEORGELIN (web4all)" <benoit.georgelin@xxxxxxxxxx> wrote:
>
> Hi folks,
>
> I just migrated from mod_php  to mod_fcgid on apache 2.2.23 and now I have a problem on all .htaccess files who contains apache2 configuration like Options, Adhandler etc..
> If the .htaccess is use to set different apache2 option, the process crash. No error log, nothing at all. 
> Exemple here:  http://dev.b2s-immo.com/
>
> Content of .htaccess
>
> Options FollowSymLinks
>
> Now, if I put 
>
> Options +FollowSymLinks
>
> It's working..
>
> Same thing for all Options (FollowSymLinks, Indexes etc..)
>
> I was thinking that it was possible to specify "Options FollowSymLinks", without + .
> Why by default it is not a + if there is nothing?
>
> Thanks for your help regarding this misunderstanding. 
>
> Server Version: Apache/2.2.23
> mod_fcgid/2.3.7
>
> Vhost Config
> <Directory /xxx>
> .....
> Options ExecCGI -Indexes Includes FollowSymLinks MultiViews
> ....
> </Directory
>

If you read the Options directive in the apache docs page you will find Warning section which explains why your above setting is not working.

> Cordialement,
>
> Benoît Georgelin
> Web4all  Hébergeur associatif
>
> Afin de contribuer au respect de l'environnement, merci de n'imprimer ce mail qu'en cas de nécessité
>



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux