Ah that’s great Chris - just what I was looking for. Thanks Eduin for your help also.
Miles
-----Original Message-----
From: Chris Holmes [mailto:cholmes@anonymised.com]
Sent: Wed 27/09/2006 00:20
To: Miles Jordan
Cc: Eduin Carrillo; Geoserver-users@anonymised.comge.net
Subject: Re: [Geoserver-users] Port forwarding to geoserver [Sec=Unclassified]
We also have a fix in GeoServer that might work for you. It’s for being
behind a proxy, but I believe it should also pick up the port.
You just add the following to your web.xml (sometime need to get it in
the gui).
See: http://jira.codehaus.org/browse/GEOS-598 committed for 1.3.2
best regards,
Chris
Eduin Carrillo wrote:
You can use apache ext_filter
module(http://httpd.apache.org/docs/2.2/mod/mod_ext_filter.html)In this sample we use sed to change the word “Satellite” with “My_Satellite”:
LoadModule ext_filter_module modules/mod_ext_filter.so
ExtFilterDefine fixtext mode=output intype=text/html cmd=“/bin/sed
s/Satellite/My_Satellite/g”<VirtualHost *:80>
#Do filtering
SetOutputFilter fixtextServerName geoserver.example.com
ServerAdmin geoserver@anonymised.com
ProxyPreserveHost On
ProxyPass / http://realgeoserver.example.com:8080/
ProxyPassReverse / http://realgeoserver.example.com:8080Eduin
— Miles Jordan Miles.Jordan@anonymised.com escribió:
Morning!
I have another small issue here with regard to port forwarding with
Apache. I have GS running on port 8300 under JRun4. This port is not
accessible through the firewall, however all external requests to port
80 are forwarded to port 8300 via Apache, which makes geoserver
available to public view on the default http port for this machine.The only issue is that all the links on the GS frontend continue to
point to port 8300, so if one clicks on a link, it won’t work. All the
links work for me of course because I’m not on the other side of the
firewall! Every link also works as expected if the port number is
manually removed.I know there were some proposed gui changes - shall I file this as a
minor bug?Miles Jordan
BlueNet Officer & Applications Developer
Data Centre
The Australian Government Antarctic Division
203 Channel Hwy, Kingston TAS 7053[p] +61 (0) 3 6232 3486
[m] +61 (0) 424 879 668
[e] miles.jordan@anonymised.com
[w] http://www.aad.gov.au
Australian Antarctic Division - Commonwealth of Australia
IMPORTANT: This transmission is intended for the addressee only. If you are
not the
intended recipient, you are notified that use or dissemination of this
communication is
strictly prohibited by Commonwealth law. If you have received this
transmission in error,
please notify the sender immediately by e-mail or by telephoning +61 3 6232
3209 and
DELETE the message.
Visit our web site at http://www.aad.gov.au/
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.espanol.yahoo.com/
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share your
opinions on IT & business topics through brief surveys – and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users!DSPAM:1003,451934e4253141510810322!
–
Chris Holmes
The Open Planning Project
http://topp.openplans.org