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   943 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, 5513 Posts

25 May 2010 at 11:37pm

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

RewriteCond %{REQUEST_URI} !^/dir/*