Skip to content

Instantly share code, notes, and snippets.

@kelixlabs
Last active August 29, 2015 13:58
Show Gist options
  • Save kelixlabs/eaceae9276a5ebc92628 to your computer and use it in GitHub Desktop.
Save kelixlabs/eaceae9276a5ebc92628 to your computer and use it in GitHub Desktop.
Just my virtual host configuration for apache2.6
<VirtualHost *>
ServerAdmin webmaster@localhost
SetEnv APPLICATION_ENV "development"
DocumentRoot /sata1/part1/website/www
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /sata1/part1/website/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>
ScriptAlias /cgi-bin/ /sata1/part1/website/cgi-bin/
<Directory "/sata1/part1/website/cgi-bin">
AllowOverride None
Options ExecCGI Indexes FollowSymLinks MultiViews
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment