Horst Herb wrote:
>> On another issue I am trying to forward a browser URL request to an
>> internal server on a debian box. I think I can do this with mod_proxy
>> but I also note mod_rewrite. Is the latter the more modern approach?
>>     
> mod_proxy is easy and does what you want.
>
> mod_rewrite is complex - I have spent hours trying to configure rules and 
> still got it wrong
>   
I think this must be a new meaning of the word easy. :-)

For the record this is the tutorial site and my sites-enabled apache2
entry. However, it's not terribly happy with mambo and I have not tested
with Rails. Static sites are fine.

David


------------------------------------------------------------------------
http://www.apacheweek.com/features/reverseproxies

------------------------------------------------------------------------
proxyRequests off

<VirtualHost *:*>
ProxyPreserveHost On
ProxyPass / http://192.168.1.1/
ProxyPassReverse / http://192.168.1.1/
SetOutputFilter proxy-html
ProxyHTMLURLMap http://mytest.site.com.au /
ServerName mytest.site.com.au
ServerAlias *.mytest.site.com.au
</VirtualHost>


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Gpcg_talk mailing list
[email protected]
http://ozdocit.org/cgi-bin/mailman/listinfo/gpcg_talk

Reply via email to