Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> .htaccess - Internal Server Error
nevt
post
Post #1





Grupa: Przyjaciele php.pl
Postów: 1 595
Pomógł: 282
Dołączył: 24.09.2007
Skąd: Reda, Pomorskie.

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


Witam.

Dostaję już kociokwiku z tym .htaccess... Czy ktoś mnie naprowadzi dlaczego reguły:
Kod
RewriteRule pl index.php/home/pl [L]
RewriteRule uk index.php/home/uk [L]

samodzielnie działają 100% poprawnie, ale jak są umieszczone razem, to wywołanie domena/pl dział prawidłowo, ale wywołanie domena/uk powoduje błąd:
Kod
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

A w error logu mam wpis:
Kod
[Wed Apr 28 09:42:18 2010] [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.

Patrzę od wczoraj na te dwie proste jak drut reguły, i nijak nie mogę się dopatrzyć, gdzie tu może powstać "zapętlenie wywołań" (InternalRecursion) questionmark.gif?

Będę niezmiernie wdzięczny, za każdą sugestię.

EDIT: oczywiście, jeżeli zamieniam ich kolejność, to wtedy wywołanie domena/uk jest OK, a domena/pl generuje błąd...

Pozdrawiam.

Ten post edytował nevt 28.04.2010, 08:58:00


--------------------

-
Oh no, my young coder. You will find that it is you who are mistaken, about a great many things... -
Go to the top of the page
+Quote Post

Posty w temacie
- nevt   .htaccess - Internal Server Error   28.04.2010, 08:53:04


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

 



RSS Aktualny czas: 21.08.2025 - 16:06