Hi there,
I'm wanting to take a URL such as http://localhost/universe/networks/o2/o2_logo.gif and do the following:
If it begins with /universe/ Strip /universe/ from it to become /networks/o2/o2_logo.gif Check if this exists in %{DOCUMENT_ROOT}/networks/o2/o2_logo.gif If so, silently rewrite the request to this file.
If I use a rule of:
RewriteCond %{REQUEST_URI} ^/universe/ RewriteRule ^(.*)$ http://www.example.org/$1 [L]
http://localhost/universe/networks/o2/o2_logo.gif gets re-written to http://www.example.org/networks/o2/o2_logo.gif which is great, but I can't seem to use the
How can I go about using this 'changed' %{REQUEST_URI} further down as say $1 or something?