Skip to content

Instantly share code, notes, and snippets.

@kareila
Created July 21, 2015 22:04
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 kareila/9b1f62cfe4eab2a8bb70 to your computer and use it in GitHub Desktop.
Save kareila/9b1f62cfe4eab2a8bb70 to your computer and use it in GitHub Desktop.
DW local site config for Apache 2.4
# install in /etc/apache2/sites-enabled directory
ServerName localhost
User dw
Group dw
PerlSetEnv LJHOME /home/dw/dw
PerlPassEnv LJHOME
PerlRequire /home/dw/dw/cgi-bin/modperl.pl
StartServers 1
<VirtualHost *:80>
ServerAdmin dw@localhost
DocumentRoot /home/dw/dw/htdocs
UseCanonicalName off
ErrorLog /home/dw/apache_logs/error.log
CustomLog /home/dw/apache_logs/access.log combined
</VirtualHost>
<Directory /home/dw/dw/>
Options FollowSymLinks
AllowOverride None
Require all granted
</Directory>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment