![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 1 447 Pomógł: 191 Dołączył: 26.03.2008 Ostrzeżenie: (0%) ![]() ![]() |
Kod RewriteEngine On RewriteRule ^([^-]+)$ $1.php RewriteRule ^news-([^-]+).html$ index.php?mode=news&id=$1 co tutaj jest źle że serwer wywala internal server error (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) edit, już sobie poradziłem trzecią linijkę napisałem tak, zapomniałem dodać poprostu tego html (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) RewriteRule ^([^-]+).html$ $1.php Ten post edytował peter13135 24.03.2009, 21:23:57 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 726 Pomógł: 129 Dołączył: 10.01.2008 Skąd: Gdańsk Ostrzeżenie: (0%) ![]() ![]() |
Przed kropką w regexpie musi być \ jeśli nie chcesz aby było to traktowane jako dowolny znak.
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 22.08.2025 - 16:39 |