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, Ed, biapar, Willr, Ingo, swaiba

Access non-cms directory?

Go to End

2 Posts   1402 Views


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?


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/*