Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 73b368ad75873b50d310ecce853805d5 > files > 1

cobbler-web-2.0.11-2.fc14.noarch.rpm

# 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>