[eluser]Spir[/eluser]
It seems like on OVH when using PHP 5.3 mod_rewrite doesn't work.
I have 404 headers on all my page when using it
Code:
#PHP 5.2
SetEnv PHP_VER 5
#PHP 5.3
#SetEnv PHP_VER 5_TEST
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond $1 !^(index\.php|robots\.txt|img\/|css\/|js\/|favicon.ico)
RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
# If we don't have mod_rewrite installed, all 404's
# can be sent to index.php, and everything works as normal.
ErrorDocument 404 /index.php
</IfModule>
So when I'm using PHP 5.3 it goes through:
Code:
<IfModule !mod_rewrite.c>
Then 404 header are put. I have to manually set them to 200 when I need it
Becarefull of that.