Skip to content

Instantly share code, notes, and snippets.

@TheHiddenHaku
Created October 10, 2015 13:56
Show Gist options
  • Select an option

  • Save TheHiddenHaku/b621f59d773a7d987cb0 to your computer and use it in GitHub Desktop.

Select an option

Save TheHiddenHaku/b621f59d773a7d987cb0 to your computer and use it in GitHub Desktop.

Revisions

  1. TheHiddenHaku created this gist Oct 10, 2015.
    17 changes: 17 additions & 0 deletions example.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    <VirtualHost *:80>
    ServerAdmin [email protected]
    ServerName example.com
    ServerAlias www.example.com
    DocumentRoot /path/to/document/root
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
    <Directory /path/to/document/root>
    AllowOverride All
    Require all granted
    Options All
    <FilesMatch "\.php$">
    Require all granted
    SetHandler proxy:fcgi://127.0.0.1:9000
    </FilesMatch>
    </Directory>
    </VirtualHost>