c432147
# For more information, visit:
c432147
# http://radicale.org/user_documentation/#idapache-and-mod-wsgi
c432147
c432147
# WARNING: To use this correctly, you will need to set:
c432147
#    "setsebool -P httpd_can_read_write_radicale=1"
c432147
c432147
#<VirtualHost *:80>
c432147
#    ServerName cal.localhost
c432147
c432147
#    WSGIDaemonProcess radicale user=radicale group=radicale threads=1 umask=0027
c432147
#    WSGIScriptAlias / /usr/share/radicale/radicale-python2.wsgi
c432147
c432147
#    <Location />
c432147
#        WSGIProcessGroup radicale
c432147
#        WSGIApplicationGroup %{GLOBAL}
c432147
#        AllowOverride None
c432147
#
c432147
#        ## You may want to use apache's authentication
c432147
#        AuthBasicProvider file
c432147
#        AuthType Basic
c432147
#        AuthName "Enter your credentials"
c432147
#        AuthUserFile /path/to/httpdfile/
c432147
#        AuthGroupFile /dev/null
c432147
#        Require valid-user
c432147
#        <IfModule rewrite_module>
c432147
#            RewriteEngine On
c432147
#            RewriteCond %{REMOTE_USER}%{PATH_INFO} !^([^/]+/)\1
c432147
#            RewriteRule .* - [Forbidden]
c432147
#        </IfModule>
c432147
#
c432147
#    </Location>
c432147
#</VirtualHost>