Skip to content

Instantly share code, notes, and snippets.

@metaperl
Created October 21, 2014 11:02
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 metaperl/42e97771ff5ec76d0672 to your computer and use it in GitHub Desktop.
Save metaperl/42e97771ff5ec76d0672 to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
Define docroot /home/schemelab/domains/info/cashbackprograms/www/wordpress
ServerName cashbackprograms.info
ServerAlias www.cashbackprograms.info
DocumentRoot ${docroot}
<Directory ${docroot}>
Require all granted
AllowOverride All
</Directory>
ErrorLog ${docroot}/error.log
CustomLog ${docroot}/access.log combined
ProxyPassMatch ^/(.*\.php(/.*)?)$ unix:/var/run/php5-fpm.sock|fcgi://127.0.0.1:9000${docroot}/
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment