Skip to content

Instantly share code, notes, and snippets.

@ts
Created November 6, 2009 00:12
Show Gist options
  • Save ts/227545 to your computer and use it in GitHub Desktop.
Save ts/227545 to your computer and use it in GitHub Desktop.
<Directory "/Users/*/Sites">
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
<VirtualHost 127.0.0.1:80>
DocumentRoot "/Users/ts/Sites"
VirtualDocumentRoot /Users/ts/Sites/%1/html
</VirtualHost>
Listen 3000
NameVirtualHost 127.0.0.1:3000
<VirtualHost 127.0.0.1:3000>
ServerName movies.test
DocumentRoot /Users/ts/Sites/movies/public
RailsEnv development
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment