Hi,
I have a problem with Pound and Location Redirects
When I use the following rewrite example on a server without pound, it
works correct, but when I place this on a server behind pound, it goes
wrong.
RewriteCond %{HTTP_HOST} ^www\.(ibuildings|ibuilding)\.net [NC]
RewriteCond %{REQUEST_URI} ^/$
RewriteRule ^(.*)$ http://ibuildings.nl/updateurl [R]
So when you browse to www.ibuildings.net it should redirect to
http://ibuildings.nl/updateurl.
But at this moment, it redirects to
http://www.ibuildings.net/updateurl.
After some more debugging, it's not only with apache redirects, but when
I do a header redirect from PHP, I have the same problem, the HTTP_HOST
will never change ????
Is this default behaviour of Pound, or did I miss something ?
Regards,
Sandy[...]
|