Reverse Proxy difficulty


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Reverse Proxy difficulty
# 1  
Old 12-06-2007
Lightbulb Reverse Proxy difficulty

Hi

I am trying to set up two hosts in a reverse proxy. The reverse proxy already has 8 servers running perfectly, but they are all simply mapping pure addresses, which I have registered internally and externally.

The latest two I wish to add are a bit different, they are app servers, one simply on a different port, and that one I have successfully got working as follows:

ProxyPass / http://internalhost.domain.com:8080/
ProxyPassReverse / http://internalhost.domain.com:8080/


The second server is more complex, as its internal address is:

internalhost.domain.com:9080/dir/dir/default.jsp

and I would like to have the proxying as follows:

esales.domain.com -> internalhost.domain.com:9080/dir/dir/default.jsp


Sofar I have done it as above:

ProxyPass / http://internalhost.domain.com:9080/...r/default.jsp/
ProxyPassReverse / http://internalhost.domain.com:9080/...r/default.jsp/

When I test it I get the http 403 error.

Can anyone help?
# 2  
Old 12-13-2007
Quote:
Originally Posted by rboekdrukker
Hi

I am trying to set up two hosts in a reverse proxy. The reverse proxy already has 8 servers running perfectly, but they are all simply mapping pure addresses, which I have registered internally and externally.

The latest two I wish to add are a bit different, they are app servers, one simply on a different port, and that one I have successfully got working as follows:

ProxyPass / http://internalhost.domain.com:8080/
ProxyPassReverse / http://internalhost.domain.com:8080/


The second server is more complex, as its internal address is:

internalhost.domain.com:9080/dir/dir/default.jsp

and I would like to have the proxying as follows:

esales.domain.com -> internalhost.domain.com:9080/dir/dir/default.jsp


Sofar I have done it as above:

ProxyPass / http://internalhost.domain.com:9080/...r/default.jsp/
ProxyPassReverse / http://internalhost.domain.com:9080/...r/default.jsp/

When I test it I get the http 403 error.

Can anyone help?
OK, I tested it with Firefox and while it doesn't work, it gives me useful feedback. The error is 403 but not permission denied but "Serving contents of JSP files is not allowed."

I assume then that the reverse proxy part works but somewhere either in the firewall or on the Apache 2 rev proxy itself? I will check the firewall.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

One DMZ server reverse proxy for 2 websites

Hi All, Hope this is the correct thread to ask this, if not, can an admin please move it to the correct thread. Got a wee problem I hope someone can point me in the right direction. I have Network A with two servers hosting separate webpages (I will call these WP1 & WP2). A DMZ server... (6 Replies)
Discussion started by: dakelly
6 Replies

2. IP Networking

Connecting via proxy chain to Upstream proxy

I need to configure a proxy on my local machine to use an upstream proxy (installed on another machine). The upstream proxy requires Digest/NTLM authorization. I want the local proxy to deal with the upstream proxy's authorization details and provides authorization free access to users that connect... (0 Replies)
Discussion started by: Russel
0 Replies

3. IP Networking

Reverse proxy tutorials for webserver?

Hi, one member of WJ forum adviced that i setup an reverse proxy for my webserver. So im curious if anyone know about good, easy noob tutorial on hwo to achieve this, please link to this tutorial how to setup reverse proxy for an webserver. Or better for whole node server with OpenVZ... (1 Reply)
Discussion started by: postcd
1 Replies

4. Red Hat

Configuration Reverse Proxy - https issue

Hi All I need your valuable help on this. Im trying to setup reverse proxy using apache in rhel 5.5. I just started with Apache, and not much idea about going with advance level config, except that i have tried to set up this reverse proxy based on an online guide i found in internet. The... (0 Replies)
Discussion started by: niyas_gk
0 Replies

5. UNIX for Advanced & Expert Users

Setup a Reverse Proxy on Squid

Hi all, The scenario is: http://img834.imageshack.us/img834/7990/1234z.jpg - With: + 192.168.100.0/24 : internet link (simulation) + Multiple Websites are hosting in local. + Complete DNS configuration. + OS: CentOS 5 - Requirements: Configure Squid Proxy as... (0 Replies)
Discussion started by: kidzer0
0 Replies

6. UNIX for Advanced & Expert Users

Apache-Reverse proxy and load balancing

Hi All, I have a webpage loaded on server1 with authorization enabled by .htaccess, which can be accessed by http://ipofserver1/index.html. Now im planning a high availabilty load balancing in such a way that if the server1 is down due to some reason it should connect to another server. i have... (1 Reply)
Discussion started by: Tuxidow
1 Replies

7. Shell Programming and Scripting

Perl Difficulty

Hi, I am trying to upload a file to a SQL database table. The column type is IMAGE. I am looking for a solution to upload a word doc file. I tried 3 approaches. 1) my $fileToStore = "mytest.doc"; open IPFILE, "<", $name; binmode IPFILE; while (<IPFILE>) { $fileToStore .= $_; } close... (1 Reply)
Discussion started by: b.paramanatti
1 Replies

8. IP Networking

Software/tool to route an IP packet to proxy server and capture the Proxy reply as an

Hi, I am involved in a project on Debian. One of my requirement is to route an IP packet in my application to a proxy server and receive the reply from the proxy server as an IP packet. My application handles data at the IP frame level. My application creates an IP packet(with all the necessary... (0 Replies)
Discussion started by: Rajesh_BK
0 Replies

9. Linux

Reverse Proxy

I have configured reverse proxy through apache...conf file is attached My reverse proxy has a public ip.it is redirecting the request to 172.16.1.43 which is http server.....Now i have a link in Http server's home page which will redirect the request to another Lan zone machine... (0 Replies)
Discussion started by: dipanrc
0 Replies
Login or Register to Ask a Question