> What happens if you just replace you last RewriteRule by
>     RewriteRule ^(.*)$ http://www.example.co.uk/portal [R=301]
>
> By doing the [R=301], you are forcing a 301 response back to the browser
> anyway, so you might as well make it explicit, and it should not add any
> extra overhead.
>
> Otherwise, the easiest solution would be to have your firewall forward to
> port 80, not 8001, and change your VirtualHost to use 80.
> (And maybe add another listening IP address to your server, if you need that
> to distinguish with another existing Apache instance on port 80).

Thanks very much for your help. I think I'll just do as you suggest
and redirect explicitly. The rest of the infrastructure is outside of
my control but I think I'll suggest they change it.

Cheers,
Phil.

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to