Skip to content

Instantly share code, notes, and snippets.

@ctorgalson
Created September 16, 2013 16:50
Show Gist options
  • Save ctorgalson/6583283 to your computer and use it in GitHub Desktop.
Save ctorgalson/6583283 to your computer and use it in GitHub Desktop.
Virtual host for use with Pagekite where the Pagekite subdomain 'component-something.pagekite.me' exists in your account. Remember to set up '127.0.0.1 component.local www.component.local' in /etc/hosts.
<VirtualHost *:80>
ServerName component.local
ServerAlias www.component.local
ServerAlias component-something.pagekite.me
DocumentRoot /Users/Pigsy/Sites/component/public_html
<Directory /Users/Pigsy/Sites/component/public_html/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
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