Re: mod_rewrite - adresář na parametr

From: Jan Brasna <discuss (zavinac)>
Date: 02. 11. 2005, 22:57 CET
> Proste takhle:
> RewriteRule ^(.*)\.jpg$   - [QSA,L]

Na tento ucel bude efektivnejsi

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [S=40]

ktere nebude prepisovat cestu, pokud cilovy soubor existuje.

-- 
Jan Brasna aka JohnyB :: www.alphanumeric.cz | www.janbrasna.com
Received on Wed, 02 Nov 2005 22:57:25 +0100

This archive was generated by hypermail 2.1.8 : 02. 11. 2005, 22:57 CET