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 |
|
|
|
sebekzosw [htaccess] Zapętlanie przekierowań 24.01.2013, 09:35:14
nospor Wywal tę linijkę:
RewriteRule ^(.*)(\.js|... 24.01.2013, 09:59:42
sebekzosw tak, i dalej błąd 500.
po usunięciu:
RewriteCond... 24.01.2013, 10:07:50
nospor 1) A istnieje plik index.php?
2) nie: ^(.*)... 24.01.2013, 10:10:52
sebekzosw 1. Oczywiście, że istnieje ;-)
2.
RewriteCond %{... 24.01.2013, 10:13:36
nospor 1) A może to spowodu przekierowań w pliku php? Mas... 24.01.2013, 10:34:44
sebekzosw w pliku nie mam przekierowań. Robiłem tak jak zasu... 24.01.2013, 10:41:51
nospor Z którą linijką? Omawialiśmy kilka... 24.01.2013, 10:52:08
sebekzosw RewriteCond %{REQUEST_FILENAME} !-f
RewriteCon... 24.01.2013, 11:37:09 ![]() ![]() |
|
Aktualny czas: 22.12.2025 - 09:43 |