Jump to:

23487 Posts in 18996 Topics by 2878 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: 915 Views
  • bkosborne
    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
    Forum Moderator
    5508 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/*

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.