ProxyPass in Apache http server, linux

Find httpd.conf file:

find / -name httpd.conf
nano /etc/httpd/conf/httpd.conf

Proxypass y reverse code:

ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
Order deny,allow
Allow from all
ProxyPass /geoserver http://localhost:8080/geoserver
ProxyPassReverse /geoserver http://localhost:8080/geoserver
ProxyPass /geoPortalSni http://localhost:8080/geoPortalSni
ProxyPassReverse /geoPortalSni http://localhost:8080/geoPortalSni
ProxyPass /geonetwork http://localhost:8080/geonetwork
ProxyPassReverse /geonetwork http://localhost:8080/geonetwork


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s