This is the configuration I use with Apache v2.0. I don''t use virtual hosts. This configuration lets Apache serve the images, javascripts, and stylesheets. ? This means that the application needs to be installed on the Apache server as wheel as the mongrel server(s) in multiple server environments. ? If i wanted to flatten the resource directories I could avoid the rewrite rules, but Apache and Mongrel are currently using the same directorys and it is easier to deploy this way. This all seems to work so far. ?There is probably a better way to write the rewrite rules for the static files directories. I don''t do any caching in my app, so I don''t know if that would cause any problems. ruby changes: ------------------------------------------------------------------------------------------- This is a configuration for a rails application "myrailsapp". # At the top of config/routes.rb add the following line ActionController::AbstractRequest.relative_url_root = "/myrailsapp " Apache configuration: --------------------------------------------------------------------------------------------- # johnk 4/5/06 - rails myrailsapp application # Proxy ProxyRequests Off RewriteEngine On RewriteRule ^/myrailsapp/images(.*) /myrailsapp/public/images$1 RewriteRule ^/myrailsapp/javascripts(.*) /myrailsapp/public/javascripts$1 RewriteRule ^/myrailsapp/stylesheets(.*) /myrailsapp/public/stylesheets$1 ProxyPass /myrailsapp/images ! ProxyPass /myrailsapp/javascrripts ! ProxyPass /myrailsapp/stylesheets ! ProxyPass /myrailsapp http://localhost:3000/myrailsapp ProxyPassReverse /myrailsapp http://localhost:3000/myrailsapp -- John E. Kienitz Jr. GPG-FP: 4992 D6E9 774B BA0A CE13 3E2B D6B3 827E 5736 D958 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://rubyforge.org/pipermail/mongrel-users/attachments/20060705/15c7a60d/attachment.bin