httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit GEORGELIN (web4all)" <benoit.george...@web4all.fr>
Subject Re: [users@httpd] apache2 htaccess
Date Thu, 27 Dec 2012 13:58:49 GMT
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 

----- Mail original -----

De: "Igor Cicimov" <icicimov@gmail.com> 
À: "users" <users@httpd.apache.org> 
Envoyé: Jeudi 27 Décembre 2012 12:57:41 
Objet: Re: [users@httpd] apache2 htaccess 




On 27/12/2012 10:43 PM, "Benoit GEORGELIN (web4all)" < benoit.georgelin@web4all.fr >
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é 
> 


Mime
View raw message