i'm triying to getup geoserver on IBM Server with Ubuntu Server 14.04.1, i have try making a file in /etc/apache2/sites-available/geoserver.conf and the information in it was:
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /geoserver "http://localhost:8080/geoserver"
ProxyPassReverse /geoserver "http://localhost:8080/geoserver"
I access to my server via a subdomain in NO-IP, but a i can't make it work the geoserver, like this; my.subdomain.com/geoserver
A will give any information you need, i really need some help with this.
Thanks.
Well after a lot of research and try lot of things, I understood where I have to put this lines, to set up ProxyPass for GeoServer public data access:
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /geoserver "http://localhost:8080/geoserver"
ProxyPassReverse /geoserver "http://localhost:8080/geoserver"
In almost every tutorial that I read, they all explain how to access via internet to GeoServer, using httpd sever, where you have to add the lines of ProxyPass in the archive httpd.conf, in the route:
/etc/httpd/conf/httpd.conf
But since I'm using apache2 server instead of the httpd server, the code to use ProxyPass must be put in in the file 000-default.conf and the route is:
/etc/apache2/sites-avaible/000-default.conf
The code have to be between the labels:
<VirtualHost *:80>
"some code and comments"
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /geoserver "http://localhost:8080/geoserver"
ProxyPassReverse /geoserver "http://localhost:8080/geoserver"
</VirtualHost>
Hope this helps.
Any errors you see from me feel free to comment.
Greetings to all.