httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: [users@httpd] How do I direct one domain to a second Linux box?
Date Wed, 09 Oct 2002 06:51:20 GMT
The simplest way is to proxy the second box. Check the documentation for ProxyPass and ProxyPassReverse
for details and example code..

>-----Original Message-----
>From: Lee Grey [mailto:leegrey@mindspring.com]
>Sent: Dienstag, 8. Oktober 2002 18:48
>To: users@httpd.apache.org
>Subject: [users@httpd] How do I direct one domain to a second 
>Linux box?
>
>
>Hi. I'm running Apache 1.3 and Tomcat4 on one Linux box. It has four
>Virtual Hosts on it, one of which is handled by Tomcat on the same
>box (the other three use Perl). I want to set up a fifth Virtual 
>Domain that gets redirected to a second Linux box also running 
>Tomcat4 (no Apache).
>
>I'm not sure what I have to do with my Virtual Hosts to get this 
>working. Here's part of what I've got:
>
>(192.168.1.50 is the first machine, running Apache and Tomcat. 
>Tomcat is on port 8008. The second machine is 192.168.1.80, running 
>just Tomcat. Tomcat is on port 80.)
>
>NameVirtualHost *
>
># This works.
><VirtualHost *>
>ServerName www.urlinone.com
>ServerAlias urlinone.com
>DocumentRoot /var/tomcat4/webapps/urlinone
>WebAppConnection conn warp 192.168.1.50:8008
>WebAppDeploy urlinone conn /
>CustomLog logs/urlinone_log combined
></VirtualHost>
>
># This does not work.
><VirtualHost 192.168.1.80>
>ServerName www.tsom.com
>ServerAlias tsom.com
>DocumentRoot /var/tomcat4/webapps/tsom
>WebAppConnection conn2 warp 192.168.1.80:80
>WebAppDeploy tsom conn2 /
>CustomLog logs/tsom_log combined
></VirtualHost>
>
>How do I redirect that one domain's traffic to that second box?
>
>Thanks,
>Lee Grey
>http://www.URLinOne.com
>
>____________________________________________
>If you've ever opened more than one browser
>window at the same time, you need URL in One
>at http://www.URLinOne.com.  There's no
>software to install, and it's free!
>
>
>---------------------------------------------------------------------
>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@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>

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


Mime
View raw message