Geoserver would never see a request coming via HTTPD (Apache) ie 
http://<domainName>/geonetwork

If you have to add the tomcat port to your request then you are bypassing HTTPD 
altogether and hitting Tomcat directly. So I suspect there is a problem with 
your HTTPD configuration.

It seems unusual (to me) to use localhost in your httpd.conf, presumably that 
will work if HTTPD is installed on the same machine as Tomcat.

Good luck

-----Original Message-----
From: sulu [mailto:andreas.sie...@vorarlberg.at]
Sent: Tuesday, 21 April 2020 2:25 PM
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] Getting Http 400 bad request in Geoserver-UI

Hi.

Maybe this shown my ignorance but i cannot find a fox fo this.

Geoserver ist deployed via WAR-File in Tomcat.
Tomcat-Port is 8900.

GS is then published via ProxyPass in Apache.
ProxyPass /geonetwork http://localhost:8900/geonetwork ProxyPassReverse 
/geonetwork http://localhost:8900/geonetwork

Interactive Windows like "Layers" dont work as expected or if i want to save a 
change in a datastore for example directly lead to a HTTP 400 bad request 
error. This does not happen if the Tomcat-Port is added to the URL.

I never had that problem before GS Verion 14 (iirc).

So. Is there something new to put in the Geoserver/Tomcat-Setup to prevent this 
behavior?

Thanks
Andy










--
Sent from: 
https://aus01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fosgeo-org.1560.x6.nabble.com%2FGeoServer-User-f3786390.html&amp;data=02%7C01%7CGraham.Humphries%40stategrowth.tas.gov.au%7C4e5b6a5455b145ee550108d7e5ac96eb%7C64ebab8accf44b5ca2d32b4e972d96b2%7C0%7C0%7C637230402031064693&amp;sdata=yM0nQPshY%2BcVQzo0jJY%2F0DYzxPPL%2Fk6B%2FxVxeMjQB4E%3D&amp;reserved=0


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
https://aus01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ianturton.com%2Ftalks%2Ffoss4g.html%23%2F&amp;data=02%7C01%7CGraham.Humphries%40stategrowth.tas.gov.au%7C4e5b6a5455b145ee550108d7e5ac96eb%7C64ebab8accf44b5ca2d32b4e972d96b2%7C0%7C0%7C637230402031064693&amp;sdata=2pHBbRRy2yavQYlw1lush1PnsCv%2FuNf5uGvonrg1Rek%3D&amp;reserved=0
- The GeoServer user list posting guidelines: 
https://aus01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgeoserver.org%2Fcomm%2Fuserlist-guidelines.html&amp;data=02%7C01%7CGraham.Humphries%40stategrowth.tas.gov.au%7C4e5b6a5455b145ee550108d7e5ac96eb%7C64ebab8accf44b5ca2d32b4e972d96b2%7C0%7C0%7C637230402031074689&amp;sdata=Oix%2FywGHC2CigSrRFp83I4s2AlwAI6kf3DNF2lPEak4%3D&amp;reserved=0

If you want to request a feature or an improvement, also see this: 
https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgeoserver%2Fgeoserver%2Fwiki%2FSuccessfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer&amp;data=02%7C01%7CGraham.Humphries%40stategrowth.tas.gov.au%7C4e5b6a5455b145ee550108d7e5ac96eb%7C64ebab8accf44b5ca2d32b4e972d96b2%7C0%7C0%7C637230402031074689&amp;sdata=qMQ1ChutuWrAx0LCTGxAzySqE7otDHg8UvsLfPPn7ec%3D&amp;reserved=0


Geoserver-users@lists.sourceforge.net
https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fgeoserver-users&amp;data=02%7C01%7CGraham.Humphries%40stategrowth.tas.gov.au%7C4e5b6a5455b145ee550108d7e5ac96eb%7C64ebab8accf44b5ca2d32b4e972d96b2%7C0%7C0%7C637230402031074689&amp;sdata=se0c5njpp6wpmKnsKmZSIP%2FU1%2Bfu5EnFVVkKoqVYTVw%3D&amp;reserved=0

________________________________

CONFIDENTIALITY NOTICE AND DISCLAIMER
The information in this transmission may be confidential and/or protected by 
legal professional privilege, and is intended only for the person or persons to 
whom it is addressed. If you are not such a person, you are warned that any 
disclosure, copying or dissemination of the information is unauthorised. If you 
have received the transmission in error, please immediately contact this office 
by telephone, fax or email, to inform us of the error and to enable 
arrangements to be made for the destruction of the transmission, or its return 
at our cost. No liability is accepted for any unauthorised use of the 
information contained in this transmission.


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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

Reply via email to