Skip to content

Instantly share code, notes, and snippets.

Created Jul 21, 2015
What would you like to do?
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/
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
<Directory /home/dw/dw/>
Options FollowSymLinks
AllowOverride None
Require all granted
# 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