Re: Redirect question

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

 



I'm not sure if this is what you mean or not, but you can redirect to
pseudo ip addresses on the same machine.

 <VirtualHost ***.***.***.38:80>
    ServerAdmin webmaster@xxxxxxxxxxx
    DocumentRoot /home/httpd/riskanalyticsinc/ramain
    ServerName my-host
    JkMount /*.xsp ajp13
    JkMount /*.xxsp ajp13
    JkMount /*.xml ajp13
    Alias /clients "/home/httpd/riskanalyticsinc/clients"
    Alias /ramain "/home/httpd/riskanalyticsinc/ramain"
</VirtualHost>

<VirtualHost ***.***.***.40:80>
    ServerAdmin webmaster@xxxxxxxxxxx
    DocumentRoot /home/httpd/ipfscorp/ipfscorp
    ServerName my-host2
    JkMount /*.xsp ajp13
    JkMount /*.xxsp ajp13
    JkMount /*.xml ajp13
    Alias /jag "/home/httpd/ipfscorp/jag"
    Alias /ipfscorp "/home/httpd/ipfscorp/ipfscorp"
</VirtualHost>

We have both hosts using the same workers "ajp13" but could specify them
here to use different ones.  Both VirtualHost elements are in the same
http.conf file.

Hope that helps,
-Rachel


On Sat, 2007-09-15 at 21:50, James Sherwood wrote:
> Hello,
> 
> We use mod_jk with apache and tomcat.
> 
> Is there a way to redirect requests to a certian worker via their ip range?
> 
> Thanks in advance,
> James
> 
> ---------------------------------------------------------------------
> 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


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