Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [htaccess] Zapętlanie przekierowań, 10 internal redirects
sebekzosw
post
Post #1





Grupa: Zarejestrowani
Postów: 437
Pomógł: 42
Dołączył: 16.04.2007

Ostrzeżenie: (0%)
-----


Witam,

mam taki plik htaccess:

Kod
Options FollowSymLinks
Options -Indexes

RewriteEngine On
DirectoryIndex index.php


RewriteCond %{HTTP_HOST} ^www.domena.pl
RewriteRule ^(.*)$ http://domena.pl/$1 [R=301,L]

RewriteRule ^images/token\.jpg$ images/token.php?mod_rewrite=true [QSA,L]
RewriteRule ^admin/(.*).html$ admin/index.php?page=$1 [QSA,L]

RewriteRule ^(.*)(\.js|\.css|\.jpg|\.png|\.gif|\.ico|\.txt|\.php|\.log|\.swf)$ $1$2 [QSA,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]

RewriteRule .*.(cache|tpl|log)$ - [F,NC]


i dostaję błąd którego nie wiem jak naprawić:

Cytat
[Wed Jan 23 23:23:10 2013] [error] [client 91.222.27.120] 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.


Zna ktoś może sposób na naprawę? Dodam, że strona leży na nazwa.pl (IMG:style_emoticons/default/wink.gif)

Ten post edytował sebekzosw 24.01.2013, 09:44:36
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 22.12.2025 - 09:43