You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Benoit GEORGELIN (web4all)" <be...@web4all.fr> on 2013/01/20 22:54:21 UTC

[users@httpd] apache2.2.23, mod_fcgid and mod_rewrite


Hi, 

Since I moved from mod_php to mod_fcgid , mod_rewrite is not working as espected. 

I have this url : 
http://exemple.com/index.php/fr/tous-les-albums 

And this url was working before : 
http://exemple.com/fr/tous-les-albums 

Here the content of the .htaccess 

RewriteEngine on 
RewriteBase / 
RewriteRule ^fr/(.*) ./index.php/fr/$1 
RewriteRule ^en/(.*) ./index.php/en/$1 

The temporay solution for is to do this : 

RewriteRule ^fr/(.*) http://exemple.com/index.php/fr/$1 [L] 
RewriteRule ^en/(.*) http://exemple.com/index.php/en/$1 [L] 

Why should have to put http://exemple.com now ? 

Thanks for you help ! 

Re: [users@httpd] apache2.2.23, mod_fcgid and mod_rewrite

Posted by "Benoit GEORGELIN (web4all)" <be...@web4all.fr>.
Hello ! 

FcgidFixPathinfo and in cgi.fix_pathinfo are already to 1 :( 

Thanks 


Re: [users@httpd] apache2.2.23, mod_fcgid and mod_rewrite

Posted by pio <pi...@rdl.pl>.
Hello
try set FcgidFixPathinfo to 1 and in php.ini cgi.fix_pathinfo=3D3D1

Piotr Kloc


----- Original Message ----- 
From: "Benoit GEORGELIN (web4all)" <be...@web4all.fr>
To: <us...@httpd.apache.org>
Sent: Sunday, January 20, 2013 10:54 PM
Subject: [users@httpd] apache2.2.23, mod_fcgid and mod_rewrite


>
>
> Hi,
>
> Since I moved from mod_php to mod_fcgid , mod_rewrite is not working as 
> espected.
>
> I have this url :
> http://exemple.com/index.php/fr/tous-les-albums
>
> And this url was working before :
> http://exemple.com/fr/tous-les-albums
>
> Here the content of the .htaccess
>
> RewriteEngine on
> RewriteBase /
> RewriteRule ^fr/(.*) ./index.php/fr/$1
> RewriteRule ^en/(.*) ./index.php/en/$1
>
> The temporay solution for is to do this :
>
> RewriteRule ^fr/(.*) http://exemple.com/index.php/fr/$1 [L]
> RewriteRule ^en/(.*) http://exemple.com/index.php/en/$1 [L]
>
> Why should have to put http://exemple.com now ?
>
> Thanks for you help !
>
>
>
> __________ Informacja programu ESET NOD32 Antivirus, wersja bazy sygnatur 
> wirusw 7913 (20130120) __________
>
> Wiadomo zostaa sprawdzona przez program ESET NOD32 Antivirus.
>
> http://www.eset.pl lub http://www.eset.com
>
> 



__________ Informacja programu ESET NOD32 Antivirus, wersja bazy sygnatur wirus�w 7913 (20130120) __________

Wiadomo�� zosta�a sprawdzona przez program ESET NOD32 Antivirus.

http://www.eset.pl lub http://www.eset.com 





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org