File iRony-httpd.conf of Package iRony

# Kolab Groupware Server DAV Access Provider
#
# By default, this configuration file allows access to:
#
#   http://your.server.name/iRony
#
# You should configure your webserver to allow the client over SSL only.
#
# See the Kolab Groupware Installation Manual for more information.
#

<IfModule mod_alias.c>
    Alias /iRony __IRONY_ROOT__/public_html
</IfModule>

<Directory "__IRONY_ROOT__/public_html/">
    <IfModule mod_authz_core.c>
        Require all granted
    </IfModule>
    <IfModule !mod_authz_core.c>
        Order Allow,Deny
        # Allow from 127.0.0.1
        Allow from All
    </IfModule>

    Options +FollowSymLinks

    <IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteBase /iRony/
        RewriteRule ^\.well-known/caldav   / [R,L]
        RewriteRule ^\.well-known/carddav  / [R,L]

        RewriteCond  %{REQUEST_FILENAME}  !-f
        RewriteCond  %{REQUEST_FILENAME}  !-d
        RewriteRule  (.*)                 index.php  [qsappend,last]
    </IfModule>

    <IfModule mod_env.c>
        SetEnv CALDAV     1
        SetEnv CARDDAV    1
        SetEnv WEBDAV     1
    
        # Enable this option if you need DAV browsing
        SetEnv DAVBROWSER 0
    </IfModule>
</Directory>
openSUSE Build Service is sponsored by