Jump to:

23003 Posts in 11856 Topics by 2828 members

General Questions

SilverStripe Forums » General Questions » Access non-cms directory?

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 856 Views
  • bkosborne
    Avatar
    Community Member
    3 Posts

    Access non-cms directory? Link to this post

    I'm trying to access a directory within the same folder that Silverstripe is installed on... but I can't because Silverstripe thinks I'm trying to access something within the CMS. How can I get around this? Add an exception in the .htaccess or something?

  • Willr
    Avatar
    Forum Moderator
    5464 Posts

    Re: Access non-cms directory? Link to this post

    You can add an exception to your .htaccess file before the RewriteRule

    RewriteCond %{REQUEST_URI} !^/dir/*

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