Messages: 1

Enregistré le: 5 Juin 2007

Message le Mar Juin 05, 2007 19:50

Bonjour,

Alors voila le .htaccess a la racine du site :

Code: Tout sélectionner
RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^designs/?(.*)$ /dotclear2/index.php/$1 [E=DC_BLOG_ID:designs,L]
RewriteRule ^(.*)$ /dotclear2/index.php/$1 [L]



ceci provoque une boucle inifine pour toutes les urls entrées !

dans les logs apache :

Code: Tout sélectionner
[Tue Jun 05 19:27:26 2007] [error] [client 127.0.0.1] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[Tue Jun 05 19:27:26 2007] [debug] core.c(3046): [client 127.0.0.1] r->uri = /dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/
[Tue Jun 05 19:27:26 2007] [debug] core.c(3052): [client 127.0.0.1] redirected from r->uri = /dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/
[Tue Jun 05 19:27:26 2007] [debug] core.c(3052): [client 127.0.0.1] redirected from r->uri = /dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/
[Tue Jun 05 19:27:26 2007] [debug] core.c(3052): [client 127.0.0.1] redirected from r->uri = /dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/
[Tue Jun 05 19:27:26 2007] [debug] core.c(3052): [client 127.0.0.1] redirected from r->uri = /dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/
[Tue Jun 05 19:27:26 2007] [debug] core.c(3052): [client 127.0.0.1] redirected from r->uri = /dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/
[Tue Jun 05 19:27:26 2007] [debug] core.c(3052): [client 127.0.0.1] redirected from r->uri = /dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/
[Tue Jun 05 19:27:26 2007] [debug] core.c(3052): [client 127.0.0.1] redirected from r->uri = /dotclear2/index.php/dotclear2/index.php/dotclear2/index.php/
[Tue Jun 05 19:27:26 2007] [debug] core.c(3052): [client 127.0.0.1] redirected from r->uri = /dotclear2/index.php/dotclear2/index.php/
[Tue Jun 05 19:27:26 2007] [debug] core.c(3052): [client 127.0.0.1] redirected from r->uri = /dotclear2/index.php/
[Tue Jun 05 19:27:26 2007] [debug] core.c(3052): [client 127.0.0.1] redirected from r->uri = /designs/


on dirait que la 2° regle est executée indéfiniment, mais si j'enleve la 1° plus de boucle infinie ! (pour http://localhost/start/ par exemple)

aussi si j'enleve la 2° regle, la aussi ca marche (pour pour http://localhost/designs/) alors que j'ai une boucle infine sur la meme url avec les 2 régles dans le .htaccess.

c'est a n'y rien comprendre...

merci d'avance pour vos réponses !
Haut