473,500 Members | 1,822 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Apache rewrite and reverse proxy

1 New Member
I have back end website running on Tomcat with the following url http://local.domain.com/app. External user access the website through apache proxy with the following url http://www.domain.com/user1 (user1, user2, etc... It’s uri specific to each user). I want to use apache rewrite or/ and reverse proxy directive to translate the url like http://www.domain.com/user1 into http://local.domain.com/app?user=user1
Please can someone help me please?

Thanks,

Abdel
Oct 13 '12 #1
1 3321
Luuk
1,047 Recognized Expert Top Contributor
Expand|Select|Wrap|Line Numbers
  1. ProxyPass /user1 http://local.domain.com/app?user=user1
  2. ProxyPassReverse /user1 http://local.domain.com/app?user=user1
  3. ProxyPass /user2 http://local.domain.com/app?user=user2
  4. ProxyPassReverse /user2 http://local.domain.com/app?user=user2
  5.  
I think above should work for user1 and user2, but i dont know how to do this dynamically for x users
Oct 16 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
24669
by: aspguru | last post by:
I have been hunting around recently for reverse proxy solutions to work with IIS. An example use for this would be to put outlook web access on your multi host IIS box on port 80 or an application...
3
6612
by: A.M | last post by:
Hi, We are developing ADP.NET applications and one of our requirements is implementing a Reverse Proxy on IIS. I have couple of questions about Reverse Proxy:
1
4118
by: bart | last post by:
Hello, We have a web service running on IIS (running on port 8080) that is behind an apache web server (running on port 80) with reverse proxy to the IIS. Accessing the webservice with the url...
0
1060
by: stigip | last post by:
I'm having a problem with hosting a web service on a server behind a reverse proxy. When the IIS/.Net Framework is generating the test page for a WebMethod in the .asmx-file it uses an absolute...
2
4200
by: =?Utf-8?B?a2NtYXJzaGFsbC5tc3A=?= | last post by:
We're working on an app that will be integrated with another web app through a reverse proxy. Our aspx pages will appear in an IFrame from their site and will appear to the client browser as...
1
2661
by: Dave Mathew | last post by:
I'm attempting to write a reverse proxy in ASP.Net which will catch requests to my server in ASP.Net, perform some actions, and then get the desired resource off another server to return to the...
6
11127
by: dolittle | last post by:
Hi, I`m using Apache as a proxy using ProxyPass (I didn`t set ProxyTimeout), I have two test clients sending and receiving xml messages using xmlhttprequest to a jeti server through the Apache...
3
1724
by: Jane Parker | last post by:
I read with interest the recent posting about Reverse Proxies and wondered if it is possible to mix static and dynamic content. If you have a lot of static content on your site it would make...
5
2848
by: kokababu | last post by:
Hi, I have setup a reverse proxy server which will route the request to Server B. Proxy server is working well with Server B. I would like to catch HTTP status error like 404/500 from server...
1
3003
by: ampo | last post by:
Hello. I have scenario where a Client send request to Server1. Server1 send request to Server2. Request are xmlHTTPRequest - need to get data (XML) from Server2 back to client. Trying to use...
0
7018
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7232
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7397
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5490
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4923
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4611
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3110
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
672
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
316
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.