Skip to content

Instantly share code, notes, and snippets.

/webgui.conf
Created Sep 2, 2011

Embed
What would you like to do?
apache2 config for webgui, debian sid
ExtendedStatus On
PerlOptions +SetupEnv
PerlSetVar WebguiRoot /usr/share/webgui
PerlCleanupHandler Apache2::SizeLimit
PerlRequire /usr/share/webgui/sbin/preload.perl
# If you change this, be sure to change webgui.conf accordingly
Alias /extras/ /usr/share/webgui/extras/
Alias /uploads/ /var/lib/webgui/uploads/
# If you change this, be sure to change webgui.conf accordingly
<Directory /var/lib/webgui/uploads/>
Order deny,allow
Deny from all
Allow from all
</Directory>
# If you change this, be sure to change webgui.conf accordingly
Alias /exports/ /var/lib/webgui/exports/
<Directory /var/lib/webgui/exports/>
Order deny,allow
Deny from all
Allow from all
</Directory>
# If you change this, be sure to change webgui.conf accordingly
<Location />
SetHandler perl-script
PerlInitHandler WebGUI
PerlSetVar WebguiConfig webgui.conf
</Location>
~
~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.