[Mongrel] Links go to 'localhost'

Vapor .. lists at ruby-forum.com
Wed Nov 7 12:25:07 EST 2007

here it is...

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all

Alias /myapp "c:/rails/myapp/public"
Alias /images "c:/rails/myapp/public/images"
Alias /stylesheets "c:/rails/myapp/public/stylesheets"
Alias /javascripts "c:/rails/myapp/public/javascripts"
<Directory "c:/rails/myapp/public">
Options Indexes FollowSymLinks
AllowOverride none
Order allow,deny
Allow from all

ProxyPass /images !
ProxyPass /stylesheets !
ProxyPass /javascripts !
ProxyPass /myapp/
ProxyPass /myapp
ProxyPassReverse /myapp/
ProxyPassReverse /myapp

And there's following like in Apache's httpd.conf

Include conf/httpd-webrick-proxy.conf
Posted via http://www.ruby-forum.com/.

More information about the Mongrel-users mailing list