LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Apache 2 Reverse Proxy : Error 403: Serving contents of JSP files is not allowed (https://www.linuxquestions.org/questions/linux-networking-3/apache-2-reverse-proxy-error-403-serving-contents-of-jsp-files-is-not-allowed-612348/)

rboekdrukker 01-09-2008 09:39 AM

Apache 2 Reverse Proxy : Error 403: Serving contents of JSP files is not allowed
 
Hi

First of all this is my first post but certainly not the first time I have found solutions on here, so thanks to all for your help.

Here's my problem:

I have 2 Apache 2.0 servers running as a reverse proxy servers, one one each side of firewall. They run seamlessly, allowing us to use the same URL inside and outside the company.

I have a new server I need to access:

http://server.domain.com:9080/directory/default.jsp

and I would like the users to use:

http://alias.domain.com

It seems to work, except I get the following error:

Error 403: Serving contents of JSP files is not allowed.

I also have another server which translates from port 80 to 8080 and that works so the problem is not there.

Have I forgotten to load a module or something? Help greatly appreciated.

r/R

rboekdrukker 01-14-2008 09:54 AM

Well one problem I managed to solve is that I included the /default.jsp in the ProxyPass and ProxyPassReverse statements. :rolleyes:

This leaves me with the following situation:

ProxyPass / host.domain.com:9080/dir/dir/

lets me enter:

http://host.domain.com

and he redirects me to the right page BUT the URL has changed and includes the full internal URL

If I then reenter the http://host.domain.com it works, but when cache is cleared it does the same again.

Question, is there a problem proxying directories after the port, such as :9080/dir/dir

r/R


All times are GMT -5. The time now is 12:17 AM.