Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

apache information needed. 1

Status
Not open for further replies.

dobbyg

MIS
Mar 24, 2003
6
NZ
I'm new to the web services.
I have read through Professional Apache Tomcat but I have a question I cannot find an answer for.
I have a url ( that is registered against ip address 192.169.10.10. I want my Apache webserver (192.169.10.10) to point the url to an Apache webserver with the ip address (193.169.10.11).
Is this possible? Reason being we have a multiple java apps that run on our web server but on weekends one of the apps get very heavily used and I would like to point this one to another more powerful server that I can only utilise on the weekend.
I have tried to find a way with Tomcats server.xml and web.xml but can't see a way of telling the url to go to a dfferent ip address or if this can even work.

Cheers,

Dobby.
 
I assume your trying to send request to that you want to redirect to an internal IP address(
You can use the "Redirect" run-time directive to accomplish this.

So on Friday you add the line below to your httpd.conf file and restart apache:

Redirect permanent /yoururl
Then on Monday #comment out this line and restart apache.


Blizz
 

Many Thanks, I got this up and running on Saturday.
Could I also do this in Tomcat 4?

Dobby.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top