Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [.htaccess] mod_rewrite, Jak?
MaestroS
post
Post #1





Grupa: Zarejestrowani
Postów: 65
Pomógł: 0
Dołączył: 8.11.2006
Skąd: Kanagawa-ken, Japonia

Ostrzeżenie: (10%)
X----


Uhm, mając taki .htaccess
Cytat
RewriteEngine On

RewriteCond %{Query_String} ^([a-zA-Z]+)$
RewriteRule ^GameEngine.da index.php?page=%1 [L]
RewriteRule ^GameEngine.da$ index.php [L]


Jak zrobić tak, aby można było używać adresu
Cytat
GameEngine.da?Login (index.php?page=Login)
GameEngine.da?Login/Rules (index.php?page=Login&module=Rules)
GameEngine.da?Login/Rules/Accept (index.php?page=Login&module=Rules&do=Accept)

?

Bo przy moim obecnym .htaccessie, gdy dodaje coś po np. Login, np. Login&Load=Rules to nie znajduje mi Login_panel.php...

dzieki za pomoc

Ten post edytował MaestroS 7.04.2008, 09:35:16
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
EdeusEx
post
Post #2





Grupa: Zarejestrowani
Postów: 49
Pomógł: 1
Dołączył: 6.04.2008

Ostrzeżenie: (20%)
X----


RewriteRule ^GameEngine.da/(a-zA-Z)/(0-9) index.php?page=%1&module=%2 [L]

Może tak?
Go to the top of the page
+Quote Post

Posty w temacie


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: 27.12.2025 - 23:32