Skip to content

Instantly share code, notes, and snippets.

Created September 2, 2011 19:35
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/1189647 to your computer and use it in GitHub Desktop.
Save anonymous/1189647 to your computer and use it in GitHub Desktop.
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