[EMAIL PROTECTED] mod_rewrite: get current working directory

2008-11-25 Thread Dennis Birkholz
Hello together, I want to create a rule, that maps /images/xyz.png to /foo/images/xyz.png (if that file exists), otherwise to /bar/images/xyz.png. My problem is that i cannot get the current working directory to test if file /foo/... exists because mod_rewrite wants absolute pathnames only,

Re: [EMAIL PROTECTED] mod_rewrite: get current working directory

2008-11-25 Thread André Warnier
Dennis Birkholz wrote: Hello together, I want to create a rule, that maps /images/xyz.png to /foo/images/xyz.png (if that file exists), otherwise to /bar/images/xyz.png. My problem is that i cannot get the current working directory to test if file /foo/... exists because mod_rewrite wants