Skip to content

Instantly share code, notes, and snippets.

@bishopandco
Created May 22, 2012 01:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bishopandco/2766023 to your computer and use it in GitHub Desktop.
Save bishopandco/2766023 to your computer and use it in GitHub Desktop.
map.connect "faqs.html", :controller => "main", :action =>"faqs"
map.connect "faqs.php", :controller => "main", :action =>"faqs"
<VirtualHost *:80>
ServerName domain.com
DocumentRoot "/home/deploy/domain.com/current/public"
RailsEnv production
AddHandler passenger .php #added to support legacy routes
<Directory "/home/deploy/domain.com/current/public">
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment