url rewrite

Oto Buchta tapik na buchtovi.cz
Pátek Říjen 9 09:10:02 CEST 2009


2009/10/8 Butrus Damaskus <butrus.butrus na gmail.com>:
> 2009/10/7 Tomáš Koželuh <mr.death na ipq.cz>:
>> Ahoj, marně bojuju s url rewrite, už jsem strávil pár hodin vyhledáváním,
>> ale pořád se to chová divně.
>> Mám jednoduchý pravidlo:
>> RewriteRule ^zbozi/([0-9]+)/$  index.php?action=detail&id=$1 [L,QSA]
>
> Mě funguje toto:
>
> RewriteRule ^/([0-9]+)$ %{DOCUMENT_ROOT}/clanek.php?id=$1 [L]

RewriteRule /zbozi/([0-9]+)/$  /index.php?action=detail&id=$1
RewriteRule /zbozi/([0-9]+)/(.+)  /zbytek

Je asi toto, co jsi chtel, vid?
 _______________________________________________
> Linux mailing list
> Linux na linux.cz
> http://www.linux.cz/mailman/listinfo/linux
>



Další informace o konferenci Linux