[Geoserver-users] Geoserver behind a reverse proxy link

Hi Everyone,
I am not really sure if this is a geoserver issue or a Tomcat/Apache issue. I have a geoserver instance running behind a reverse proxy (Apache 2.2 and Tomcat6). I am able to access my server through a URL:

http://MYSERVER/geoserver/wms?service=WMS&request=GetMap&format=application/vnd.google-earth.kmz+XML…etc . etc.

However, I am not able to login to the administrative interface of Geoserver. A strange URL comes up like this:

http://MYSERVER/geoserver/welcome.do%3bjsessionid=F72746D50CD0A0F3EC0502F7DDD56095

and when I try and log in I get a message like:

  • Username is required.
  • Password is required.
    Is this a geoserver issue or an issue with my reverse proxy setup?

Thanks for your help in advance!

Best regards,
Jason Pickering

Hi

A similar problem has been discussed earlier, here:
http://www.nabble.com/DNS%2C-URLs-and--geoserver-necessary--tf4259875.html#a12122679

The "strange" url your seeing is just the session being set up. Nothing abnormal per se.

What does the geoserver log say?

regards,
Per-Olof

Jason Pickering skrev:

Hi Everyone,
I am not really sure if this is a geoserver issue or a Tomcat/Apache issue.
I have a geoserver instance running behind a reverse proxy (Apache 2.2 and
Tomcat6). I am able to access my server through a URL:

http://MYSERVER/geoserver/wms?service=WMS&request=GetMap&format=application/vnd.google-earth.kmz+XML....etc.
etc.

However, I am not able to login to the administrative interface of
Geoserver. A strange URL comes up like this:

http://MYSERVER/geoserver/welcome.do%3Bjsessionid=F72746D50CD0A0F3EC0502F7DDD56095

and when I try and log in I get a message like:

   - Username is required.
   - Password is required.

Is this a geoserver issue or an issue with my reverse proxy setup?

Thanks for your help in advance!

Best regards,
Jason Pickering

  ------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
  

Hi there,
I wanted to bring this up again, as I have not been able to solve this
problem yet. I took a look at the post, but did not really see much
that could help me. I am not using mod_jk, but instead have defined a
reverse proxy link in our main apache server that points to the Tomcat
instance running on a separate application server, which is
purposefully invisible to the forward facing Internet.

You can take a look at my server at:

http://www.who.int/tools/geoserver/

which will show you the "strange" URL that I mentioned in my previous
mail. WMS seem to work fine actually, but I cannot login to the
administrative interface.

Now that I have upgraded to version 1.60 RC1, I get a different error
message, namely

Invalid username/password combination which is different than what I
got with 1.54.

This is not a major problem for me at the moment, as I syncronize this
Geoserver instance from a development machine, which is not behind a
reverse proxy, but I do need occasionally to access some
administrative functions and up until now, have to do it with an XML
editor, which Andrea advised me against doing. :slight_smile:

Any help would be appreciated. I did not see any thing in the logs,
but I might need to turn up the debugging level.

Best regards,
Jason

On 10/7/07, Per-Olof Norén <pelle@anonymised.com> wrote:

Hi

A similar problem has been discussed earlier, here:
http://www.nabble.com/DNS%2C-URLs-and--geoserver-necessary--tf4259875.html#a12122679

The "strange" url your seeing is just the session being set up. Nothing
abnormal per se.

What does the geoserver log say?

regards,
Per-Olof

Jason Pickering skrev:
> Hi Everyone,
> I am not really sure if this is a geoserver issue or a Tomcat/Apache issue.
> I have a geoserver instance running behind a reverse proxy (Apache 2.2 and
> Tomcat6). I am able to access my server through a URL:
>
> http://MYSERVER/geoserver/wms?service=WMS&request=GetMap&format=application/vnd.google-earth.kmz+XML....etc .
> etc.
>
> However, I am not able to login to the administrative interface of
> Geoserver. A strange URL comes up like this:
>
> http://MYSERVER/geoserver/welcome.do%3Bjsessionid=F72746D50CD0A0F3EC0502F7DDD56095
>
> and when I try and log in I get a message like:
>
>
> - Username is required.
> - Password is required.
>
> Is this a geoserver issue or an issue with my reverse proxy setup?
>
> Thanks for your help in advance!
>
> Best regards,
> Jason Pickering
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>