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 fixtext
ServerName geoserver.example.com
ServerAdmin geoserver@anonymised.com
ProxyPreserveHost On
ProxyPass / http://realgeoserver.example.com:8080/
ProxyPassReverse / http://realgeoserver.example.com:8080
</VirtualHost>
Eduin
--- 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/