Autor Zpráva
nefakcha
Profil *
Zdravim, mam hosting i ignum a ted jsem si chtel udelat user friendly url pro clanky, problem je ten, ze regularni vyraz, ktery pouzivam na jinem hostingu mi ted nefunguje:(

konkretne tam mam:

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-F
RewriteRule ^item-(.*) /volleyball/cz/item.php?seo=$1 [L,QSA]
RewriteRule ^([0-9a-z-/]*)$ /index.php?seo=$1 [L,QSA]


To mi ale server vrati 500 Internal Server Error

tak jsem zkusil odslashovat


RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-F
RewriteRule ^item-(.*) /volleyball/cz/item.php?seo=$1 [L,QSA]
RewriteRule ^([0-9a-z-/]*)$ /index.php?seo=$1 [L,QSA]


To uz mi chybu nevrati, ale diky tomu odslashovani mi to treba adresu neco-neco/ ten regularni vyraz nebere, jakmile odtranim pomlckku z te adresy, tak to ale funguje:(

Vaše odpověď

Mohlo by se hodit

Zajímavé čtení:
Poptávání výměny odkazů je na této diskusi nežádoucí.

Prosím používejte diakritiku a interpunkci.

Ochrana proti spamu. Napište prosím číslo dvě-sta čtyřicet-sedm:

0