logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: APACHE Tomcat - URL Conditional Logic
Author
Srinikesh



Joined: 02 Jul 2014
Posts: 1
Location: Herndon, VA

PostPosted: Wed 02 Jul '14 21:56    Post subject: APACHE Tomcat - URL Conditional Logic Reply with quote

Hello Friends,

I am a new to APACHE and Coding and requesting you help with the following use case scenario..

- When a user calls the URL (Just URL): http://time.nik.com , the system should redirect the call to http://auth.nik.com



- Any calls to http://time.nik.com/bd/
(or) http://time.nik.com/bd/pub/ (or) http://time.nik.com/rep (or) http://time.nik.com/disp (or) http://time.nik.com/disp/hol.jsp

should go to http://reportserver.nik.com/<<<Corresponding URL as per the source url content>>>

Kindly let me know how to place the mod_rewrite rules?

Thank you,
Sri
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Tue 05 Aug '14 16:01    Post subject: Reply with quote

I would use a reverse proxy with different location settings.
Back to top


Reply to topic   Topic: APACHE Tomcat - URL Conditional Logic View previous topic :: View next topic
Post new topic   Forum Index -> Apache