Hi guys! The following directive doesn't take into consideration the filename in URL: RewriteCond %{DOCUMENT_ROOT}/bin/core/%1 -f
In this request the REQUEST_FILENAME has the value: /bin/adt/file.swf but I just want the filename (file.swf). How can I do that? Thanks a lot RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{DOCUMENT_ROOT}/bin/core/%1 -f RewriteRule ^(.*)$ /core/$1 [L] 192.168.1.167 - - [02/Sep/2009:10:57:34 +0100] [clappehr/sid#65c800][rid#87e078/initial] (2) init rewrite engine with requested uri /bin/adt/file.swf 192.168.1.167 - - [02/Sep/2009:10:57:34 +0100] [clappehr/sid#65c800][rid#87e078/initial] (3) applying pattern '^(.*)$' to uri '/bin/adt/file.swf' 192.168.1.167 - - [02/Sep/2009:10:57:34 +0100] [clappehr/sid#65c800][rid#87e078/initial] (4) RewriteCond: input='/bin/adt/file.swf' pattern='!-f' => matched 192.168.1.167 - - [02/Sep/2009:10:57:34 +0100] [clappehr/sid#65c800][rid#87e078/initial] (4) RewriteCond: input='R:/EHR/client/pfh/bin/core/' pattern='-f' => not-matched