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.

General Questions /

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

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

Access non-cms directory?


Go to End


2 Posts   1785 Views

Avatar
bkosborne

Community Member, 3 Posts

25 May 2010 at 1:17am

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?

Avatar
Willr

Forum Moderator, 5523 Posts

25 May 2010 at 11:37pm

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

RewriteCond %{REQUEST_URI} !^/dir/*