Skip to content

Instantly share code, notes, and snippets.

@henrik
Created January 8, 2009 08:20
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 henrik/44643 to your computer and use it in GitHub Desktop.
Save henrik/44643 to your computer and use it in GitHub Desktop.
# Make Apache with enabled mod_proxy forward http://ak.dev/foo
# to http://ak.dev:3000/foo for use in local Rails development.
<VirtualHost *:80>
ServerName ak.dev
RewriteEngine on
RewriteRule /(.*) http://localhost:3000/$1 [P]
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment