Skip to content

Instantly share code, notes, and snippets.

Created September 2, 2011 19:29
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 anonymous/1189620 to your computer and use it in GitHub Desktop.
Save anonymous/1189620 to your computer and use it in GitHub Desktop.
ServerRoot "/data/WebGUI"
LoadModule apreq_module /usr/local/modules/mod_apreq2.so
LoadModule perl_module /usr/local/modules/mod_perl.so
PerlSetVar WebguiRoot /data/WebGUI
PerlCleanupHandler Apache2::SizeLimit
PerlRequire /data/WebGUI/sbin/preload.perl
<VirtualHost *:8000>
ServerName www.example.com
DocumentRoot /data/domains/www.example.com/public
SetHandler perl-script
PerlInitHandler WebGUI
PerlSetVar WebguiConfig www.example.com.conf
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment