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.

General Questions

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

Access non-cms directory?


Reply

2 Posts   924 Views

Avatar
bkosborne

25 May 2010 at 1:17am Community Member, 3 Posts

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

25 May 2010 at 11:37pm Forum Moderator, 5511 Posts

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

RewriteCond %{REQUEST_URI} !^/dir/*