Skip to content

Instantly share code, notes, and snippets.

@rgo
Created November 12, 2009 12:53
Show Gist options
  • Save rgo/232869 to your computer and use it in GitHub Desktop.
Save rgo/232869 to your computer and use it in GitHub Desktop.
Apache configuration to remember (only one mongrel)
# Apache configuration to remember (only one mongrel)
<VirtualHost *:80>
ServerName foo.com
DocumentRoot /home/foo/rails/public
# Uncomment if need pass protection
#<Location / >
#AuthType Basic
#AuthName "Foo Auth."
#AuthUserFile /etc/apache2/password_file
#Require valid-user
#</Location>
ProxyPass / http://127.0.0.1:8029/
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment