Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> mod-rewrite
acztery
post
Post #1





Grupa: Zarejestrowani
Postów: 945
Pomógł: 7
Dołączył: 15.03.2005
Skąd: katowice

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


witam mam takie pytanie

mam taki wpis

RewriteEngine On
RewriteRule ^(.*)/(.*)/default.php$ $1.php?FOR=$2

www.strona.pl/news/test/default.php

i to powinno uruchomic taka strone

www.strona.pl/news.php?FOR=test

ale nie działa mam blad serwera"Forbidden"

moze ktos wie o co chodzi

Ten post edytował acztery 28.01.2007, 14:59:50
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 3)
sticker
post
Post #2





Grupa: Zarejestrowani
Postów: 611
Pomógł: 19
Dołączył: 28.02.2005
Skąd: Wrocław

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


moze sprawdz .htaccess ?
Go to the top of the page
+Quote Post
acztery
post
Post #3





Grupa: Zarejestrowani
Postów: 945
Pomógł: 7
Dołączył: 15.03.2005
Skąd: katowice

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


to jest przeciez wpis z htaccess...


RewriteEngine On
RewriteRule ^(.*)/(.*)/default.php$ $1.php?FOR=$2

to działa

RewriteEngine On
RewriteRule ^(.*)-(.*)$ $1.php?FOR=$2
Go to the top of the page
+Quote Post
webdice
post
Post #4


Developer


Grupa: Moderatorzy
Postów: 3 045
Pomógł: 290
Dołączył: 20.01.2007




sprobuj dodać
Kod
RewriteBase /katalog/
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 5.10.2025 - 13:04