Install sabredav server on laravel
<p>Did anyone ever try to setup a sabredav caldav server in laravel? Sabredav needs the calendarserver to be access at 
"calendarserver.php/" &lt;-- trailing slash</p>

<p>Sabredav needs a trailing slash which is trimmed by laravel. I tried to alter the htaccess file:</p>

<pre><code>&lt;IfModule mod_rewrite.c&gt;
    &lt;IfModule mod_negotiation.c&gt;
        Options -MultiViews
    &lt;/IfModule&gt;

    RewriteEngine On

    # Redirect Trailing Slashes If Not A Folder...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !^/calendarserver\.php
    RewriteRule ^(.*)/$ /$1 [L,R=301]

    # Handle Front Controller...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]

    # Handle Authorization Header
    RewriteCond %{HTTP:Authorization} .
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
&lt;/IfModule&gt;
</code></pre>

<p>But it seems, that I also need to configure a route, which again will trim the slash. Basically, I just want everyone to able to access the /calendarserver.php/ path without laravel interfering. Is there any clean way to accomplish that? </p>

<p>Any help would be greatly appreciated!</p>

<p>Thanks.</p>