Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php] mod_rewrite - coś nie tak, mod_rewrite i phpBB2
MK777
post
Post #1





Grupa: Zarejestrowani
Postów: 17
Pomógł: 0
Dołączył: 2.01.2005

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


Chciałem zastosować mod rewrite dla mojego forum, jest pod adresem http://forum.simsy.net (a bezpośredni adres to http://www.simsy.net/forum ) mój .htaccess wygląda tak:
Kod
RewriteEngine on
Options +FollowSymlinks
RewriteBase /
RewriteRule ^([^&]+)\-([0-9]{1,}).html$ index.php?subaction=$1&id=$2
RewriteRule ^start_from=([0-9]{1,}).html$ index.php?start_from=$1
RewriteRule ^([^&]+)\.html$ index.php?go=$1
RewriteRule ^profil([0-9]{1,12})-(.*).html$ profile.php?mode=viewprofile&u=$1
RewriteRule [.]*-vf([0-9]*) viewforum.php?%{QUERY_STRING}&f=$1
RewriteRule [.]*-vp([0-9]*) viewtopic.php?%{QUERY_STRING}&p=$1
RewriteRule [.]*-vt([0-9]*) viewtopic.php?%{QUERY_STRING}&t=$1
RewriteRule ^\.htaccess$ - [F]

I jak widać, nie wiem czemu nie działa sad.gif

--------------
Przeniesione: Gotowe skrypty ---> Serwery WWW > Apache
-- dr_bonzo
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: 20.08.2025 - 06:34