httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Birkholz <apa...@mailinglists.birkholz.biz>
Subject [users@httpd] mod_rewrite: get current working directory
Date Tue, 25 Nov 2008 13:51:47 GMT
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,
relative pathnames do not work in that case.

Has anybody an idea?

Greets,
Dennis

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message