SearchSearch   

reverse proxy problems with JSPWiki

 
   Webmaster Forums (Home) -> Apache RSS
Next:  Reversing index.xxx order for one domain  
Author Message
Mothra

External


Since: Aug 09, 2007
Posts: 1



(Msg. 1) Posted: Thu Aug 09, 2007 12:58 pm
Post subject: reverse proxy problems with JSPWiki
Archived from groups: alt>apache>configuration (more info?)

I have a reverse proxy setting in Apache (ssl.conf) that points to a
Tomcat server running JSPWiki (on port 8080).

If I access the initial Login.jsp page, and get past the authentication,
then everything works fine; however, if I try and access any areas of the
site directly before authenticating, instead of sending me to the
Login.jsp page via the frontend URL, it tries to access that page using
the backend server's IP address... example:

--- Connect to Login.jsp directly ----

user@laptop:~$ wget https://mysite.net/wiki/Login.jsp --13:50:44--
https://mysite.net/wiki/Login.jsp
=> `Login.jsp.2'
Resolving mysite.net... 195.92.111.x
Connecting to mysite.net|195.92.111.x|:443... connected. HTTP request
sent, awaiting response... 200 OK Length: unspecified [text/html]

[ <=>
] 8,617 --.--K/s

13:50:47 (221.34 KB/s) - `Login.jsp' saved [8617]


--- Connect to some other link first ---

user@laptop:~$
wget https://mysite.net/wiki/Wiki.jsp?page=mydoc --13:52:49--
https://mysite.net/wiki/Wiki.jsp?page=mydoc
=> `Wiki.jsp?page=mydoc'
Resolving mysite.net... 195.92.111.x Connecting to
rockshore.net|195.92.111.x|:443... connected. HTTP request sent, awaiting
response... 302 Moved Temporarily Location:
http://10.1.1.28:8080/wiki/Login.jsp?redirect=mydoc [following]
--13:52:49--
http://10.1.1.28:8080/wiki/Login.jsp?redirect=mydoc
=> `Login.jsp?redirect=mydoc'
Connecting to 10.1.1.28:8080...


What is happening here and how can I remedy it?

Thanks,

Mothra.
Back to top
phantom

External


Since: Aug 08, 2007
Posts: 3



(Msg. 2) Posted: Thu Aug 09, 2007 1:15 pm
Post subject: Re: reverse proxy problems with JSPWiki
Archived from groups: per prev. post (more info?)

"Mothra" <mothra RemoveThis @mothra.com> wrote in message
news:SbEui.14936$G83.12149@newsfet01.ams...
>I have a reverse proxy setting in Apache (ssl.conf) that points to a
> Tomcat server running JSPWiki (on port 8080).
>
> If I access the initial Login.jsp page, and get past the authentication,
> then everything works fine; however, if I try and access any areas of the
> site directly before authenticating, instead of sending me to the
> Login.jsp page via the frontend URL, it tries to access that page using
> the backend server's IP address... example:
>

Are you using ProxyPassReverse as well as ProxyPass ?
Back to top
Display posts from previous:   
       Webmaster Forums (Home) -> Apache
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum