[Mongrel] Links go to 'localhost'

Ripta Pasay lists at ruby-forum.com
Wed Nov 7 13:25:18 EST 2007

I'm assuming all of your configuration below is *not* in a VirtualHost 
block? If so, what's the value of your ServerName directive? It should 

  ServerName mymachinename

I know the same ProxyPass and ProxyPassReverse directives (with the 
proper ServerName) work if you put it in a VirtualHost block, but I'm 
not entirely sure otherwise.


> 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
> </Directory>
> 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