Displaying 1 result from an estimated 1 matches for "johnk".
Did you mean:
john
2006 Jul 06
0
Apache 2.0 proxy
...ails 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
Pr...