Disable Routing for File

Posted 10 months ago by ulys

Hi there,

I implemented sabre/dav (http://sabre.io/) into laravel (5.6) via composer. I set up a calendarserver.php in the public folder and everything works well so far. I can navigate to myapp.com/calendarserver.php and login as expected.

My problem is, that sabre requires urls like myapp.com/calendarserver.php/principals for example and when I navigate to this URL, laravel kicks in and returns a 404 page. Now I would like to disable any routing for my calendarserver.php file.

How should I do this?

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up


Reply to

Use Markdown with GitHub-flavored code blocks.