# This configuration file enables the cobbler web # interface (django version) <VirtualHost *:80> # Do not log the requests generated from the event notification system SetEnvIf Request_URI ".*/op/events/user/.*" dontlog # Log only what remains CustomLog logs/access_log combined env=!dontlog <Location "/cobbler_web"> SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE settings # PythonOption django.root /cobbler_web PythonDebug On PythonPath "['/usr/share/cobbler/web/'] + sys.path" AuthBasicAuthoritative Off AuthType basic AuthName "Cobbler" Require valid-user PythonAuthenHandler cobbler_web.views </Location> </VirtualHost>