Re: URL Redirection Question

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

 



>try with redirect (and VirtualHost if needed) 

><VirtualHost *:10080> 
>ServerName our.domain.com:10080 

>RedirectPermanent / http://another.machine.com:8080 

></VirtualHost> 

We are trying to do the samething with apache 2.2.3 on SLES10 SP1. I have config'ed a vhost.conf, like so:
<VirtualHost *:8080>
    ServerAdmin webmaster@xxxxxxxxxxxxxxxxxxxxxx
    ServerName host.domain.com
    RedirectPermanent / http://host.domain.com:8080
We have some users that don't type in the port number;therefore, we need host.domain to redirect to host.domain.com:8080. The servername is the same as redirectpermanent just with a different port. This also brings up another question: as you move along in the vhost conf, you find DocumentRoot /srv/www/vhosts/dummy-host.example.com. This redirectpermanent is a different machine than the one with apache2 on it. Does this matter and if so, how do i handle this? Any ideas?



---------------------------------------------------------------------
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