DW local site config for Apache 2.4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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