Re: Help with redirects and port-forwarding.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux