Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> problem z modrewrite na mini otwarty.pl, czy to wina złej instalacji/ uprawnien/ serwera?
cyngiel
post
Post #1





Grupa: Zarejestrowani
Postów: 101
Pomógł: 1
Dołączył: 28.12.2003
Skąd: Gdańsk

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


Witam, założyłem sobie katalog taki oto tylkodobre.webatu.com

jak widać strona główna działa, podstrony korzystające z modrewrite nie. Gdzie może leżeć tego przyczyna?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Szymon80
post
Post #2





Grupa: Zarejestrowani
Postów: 82
Pomógł: 1
Dołączył: 6.06.2009

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


Może nie masz właczony ModRewrite na serwerze ?

Spróbuj wkleić poniższe regóły do htacces

Kod
RewriteRule ^kat-([0-9]+)\.html$ index.php?a=kat&id=$1 [L]
RewriteRule ^pod-([0-9]+)(-([0-9]+))*\.html$ index.php?a=pod&id=$1&min=$3 [L]
RewriteRule ^szcz-([0-9]+)\.html$ index.php?a=szcz&id=$1 [L]
RewriteRule ^search-(.+)-([0-9]+).html$ index.php?a=search&szukaj=$1&min=$2 [L]
RewriteRule ^regulamin\.html$ index.php?a=inf [L]
RewriteRule ^google([[:alnum:]]+)\.html$ index.php [L]
RewriteRule ^tag-([-_!~,;*'()$a-zA-Z0-9]+)-([0-9]+)\.html$ index.php?a=search&szukaj=$1&min=$2 [L]
RewriteRule ^wpis\.html$ index.php?a=wpis [L]
RewriteRule ^rss\.xml$ index.php?a=rss [L]
RewriteRule ^mapa_strony\.html$ index.php?a=mapa [L]
# End - Rewrite rules to block out some common exploits
Go to the top of the page
+Quote Post

Posty w temacie


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: 12.10.2025 - 16:22