LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-09-2008, 09:39 AM   #1
rboekdrukker
LQ Newbie
 
Registered: Jan 2008
Posts: 3

Rep: Reputation: 0
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

Last edited by rboekdrukker; 01-09-2008 at 09:40 AM.
 
Old 01-14-2008, 09:54 AM   #2
rboekdrukker
LQ Newbie
 
Registered: Jan 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Well one problem I managed to solve is that I included the /default.jsp in the ProxyPass and ProxyPassReverse statements.

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
 
  


Reply

Tags
apache, error, jsp, proxy, reverse


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error 403 Forbidden symbolic link not allowed vree13 Linux - Software 8 02-14-2008 08:58 PM
.doc file shows 403 forbidden instead of serving files jon23d Linux - Server 2 09-13-2006 01:02 PM
Apache: 403 error when putting hosted files in encrytped FS nv22nv Linux - Networking 6 08-01-2005 06:53 PM
Apache 2.0 Reverse Proxy Error Adam Shapiro Linux - Networking 0 11-29-2003 07:50 PM
Apache 2.0 Reverse Proxy Error Adam Shapiro Linux - Software 0 11-29-2003 07:47 PM


All times are GMT -5. The time now is 06:34 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration