Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> mod_rewrite, nie działa na innym serwerze
cholew
post 25.09.2007, 16:24:42
Post #1





Grupa: Zarejestrowani
Postów: 64
Pomógł: 0
Dołączył: 5.01.2007

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


Wczesniej mialem wykupiony serwer w nazwa.pl i mod_rewrite na stronie http://smiechowo.com działał poprawnie.
Byłem zmuszony do zmiany serwera i wybrałem http://masternet.pl. Przeniosłem wszystki pliki na nowy serwer, nic nie zmianiałem, a mod_rewrite nie działa prawidłowo.
Strona glowna otwiera sie bez problemow.
http://smiechowo.com/gry ta strona tez działa,
http://smiechowo.com/gry/X-Bound/1 a to juz nie działa...

w pliku .htaccess jest wpisane:
Kod
RewriteEngine On
RewriteRule ^filmy/?$ index.php?page=list
RewriteRule ^gry/?$ index1.php?page=list_gry
RewriteRule ^filmy/([\w-]+)/?$ index.php?page=list1&cat=$1
RewriteRule ^filmy/([\w-]+)/([\w-]+)/?$ index.php?page=display&tytul=$1&id=$2
RewriteRule ^gry/([\w-]+)/?$ index1.php?page=list1_gry&cat=$1
RewriteRule ^gry/([\w-]+)/([\w-]+)/?$ index1.php?page=display_gry&tytul=$1&id=$2
RewriteRule ^([\w-]+)/?$ index.php?page=$1
RewriteRule ^filmy/strona/([\w-]+)/([\w-]+)/?$ index.php?page=list1&currentpage=$1&cat=$2
RewriteRule ^gry/strona/([\w-]+)/([\w-]+)/?$ index1.php?page=list1_gry&currentpage=$1&cat=$2


wie ktoś jaka może byc przyczyna tego ze nie działa?

Ten post edytował cholew 24.09.2007, 15:40:08
Go to the top of the page
+Quote Post
Cysiaczek
post 25.09.2007, 19:48:21
Post #2





Grupa: Moderatorzy
Postów: 4 465
Pomógł: 137
Dołączył: 26.03.2004
Skąd: Gorzów Wlkp.




Przenoszę na Serwery WWW


--------------------
To think for yourself you must question authority and
learn how to put yourself in a state of vulnerable, open-mindedness;
chaotic, confused, vulnerability, to inform yourself.
Think for yourself. Question authority.
Go to the top of the page
+Quote Post

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 Wersja Lo-Fi Aktualny czas: 18.06.2025 - 17:15