Jump to:

4938 Posts in 16484 Topics by 1490 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Tell SS to ignore directories

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

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

Page: 1
Go to End
Author Topic: 384 Views
  • labman
    Community Member
    5 Posts

    Tell SS to ignore directories Link to this post

    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.

  • Van
    25 Posts

    Re: Tell SS to ignore directories Link to this post

    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>.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.