Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Tell SS to ignore directories


Go to End


2 Posts   1454 Views

Avatar
labman

Community Member, 5 Posts

30 April 2013 at 8:21am

If I try to visit a folder that contains a custom app we developed, SS takes over and redirects me to a 404 page. How can I tell it to ignore all requests for that folder (and a few others) and let Apache handle them on its own? For example, if my custom application is located in a folder called foo (http://www.example.com/foo/index.php), SS brings up the 404 Not Found page instead of our application. I'm assuming this has something to do with the mod_rewrite rules in .htaccess but I don't know what.

Avatar
Van

Administrator, 25 Posts

2 May 2013 at 1:51pm

Hi labman,

You are quite correct in assuming it is the .htaccess preventing that from happening. You'll find the code you're looking for in the block at the end, wrapped in the <IfModule mod_rewrite.c>.