![]() |
![]() |
![]()
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 ![]() -------------- Przeniesione: Gotowe skrypty ---> Serwery WWW > Apache -- dr_bonzo |
|
|
![]() ![]() |
![]() |
Aktualny czas: 20.08.2025 - 06:34 |