DO NOT DO THIS:
ProxyRequests On
That will open your machine up to proxy spam -- basically, rouge sites
will use your machine as a middle-man to their nefarious cause, like
scraping the IEEE website for pdfs that your university has privilege
to, but other entities must register to have access to.
We were able to get the 8080 hidden with the following addition to our
httpd.conf file:
<IfModule mod_proxy.c>
ProxyRequests Off
ProxyPreserveHost On
<Location /thredds>
ProxyPass http://hfrnet.ucsd.edu:8080/thredds
ProxyPassReverse http://hfrnet.ucsd.edu:8080/thredds
</Location>
<Proxy http://hfrnet.ucsd.edu:8080/thredds>
AllowOverride None
Order allow,deny
Allow from all
</Proxy>
</IfModule>
Notice our function, non :8080 url: http://hfrnet.ucsd.edu/thredds/
Now simply sudo /etc/init.d/httpd restart and you're in business.
Regards,
Paul
server.xml:
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" URIEncoding="UTF-8" />
<!--
<Connector port="8080" protocol="HTTP"...
...
-->
httpd.conf:
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /tomcat/ ajp://localhost:8009/
ProxyPassReverse /tomcat/ ajp://localhost:8009/
ProxyPass /geoserver/ ajp://localhost:8009/geoserver/
ProxyPassReverse /geoserver/ ajp://localhost:8009/geoserver/
ProxyPass /thredds/ ajp://localhost:8009/thredds/
ProxyPassReverse /geoserver/ ajp://localhost:8009/thredds/
ProxyPass /manager/ ajp://localhost:8009/manager/
ProxyPassReverse /manager/ ajp://localhost:8009/manager/
________________________________________
From: ioos_model_...@googlegroups.com [ioos_model_...@googlegroups.com] On Behalf Of Paul Reuter [pre...@gmail.com]
Sent: Monday, August 16, 2010 8:02 PM
To: ioos_model_...@googlegroups.com
Subject: Re: Getting rid of those pesky 8080 URLS
DO NOT DO THIS:
ProxyRequests On
Regards,
Paul
--
You received this message because you are subscribed to the Google Groups "IOOS Model Data Interoperability Working Group" group.
To post to this group, send email to ioos_model_...@googlegroups.com.
To unsubscribe from this group, send email to ioos_model_data_i...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ioos_model_data_interop?hl=en.
http://dods.ndbc.noaa.gov/thredds/catalog/data/catalog.html
or
http://dods.ndbc.noaa.gov:8080/thredds/catalog/data/catalog.html
Walt
Strange. I just set up proxyPass for
http://omglnx1.meas.ncsu.edu/thredds
http://omglnx1.meas.ncsu.edu/ncWMS
following the steps here:
http://bit.ly/apachepp
and I don't seem to have this problem.
-Rich
> --
> You received this message because you are subscribed to the Google Groups "IOOS Model Data Interoperability Working Group" group.
> To post to this group, send email to ioos_model_...@googlegroups.com.
> To unsubscribe from this group, send email to ioos_model_data_i...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/ioos_model_data_interop?hl=en.
>
>
--
Dr. Richard P. Signell (508) 457-2229
USGS, 384 Woods Hole Rd.
Woods Hole, MA 02543-1598
RewriteEngine on
RewriteRule ^/tomcat$ tomcat/ [R]
RewriteRule ^/thredds$ thredds/ [R]
RewriteRule ^/ncWMS$ ncWMS/ [R]
RewriteRule ^/geoserver$ geoserver/ [R]
________________________________________
From: ioos_model_...@googlegroups.com [ioos_model_...@googlegroups.com] On Behalf Of SteveCousins [steve....@maine.edu]
Sent: Tuesday, August 17, 2010 10:22 AM
To: IOOS Model Data Interoperability Working Group
Subject: Re: Getting rid of those pesky 8080 URLS
I do the same thing with ProxyPass and ProxyPassReverse and it works.
http://rocky.umeoce.maine.edu/ncWMS
http://rocky.umeoce.maine.edu/godiva2.html
http://rocky.umeoce.maine.edu/ncWMS/
Steve
--