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