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.

Archive /

Our old forums are still available as a read-only archive.

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

Rewrite rule


Go to End


2 Posts   1967 Views

Avatar
MKayHavoc

Community Member, 33 Posts

9 July 2008 at 3:11am

Hi,

I need to make silverstripe ignore a particular folder within my site.

It's for moodle. So I want mod_rewrite to ignore:

http://www.mysite.com/moodle

and everything withing that folder.

Can anyone tell me the rule I would need?

Cheers

Avatar
Willr

Forum Moderator, 5523 Posts

9 July 2008 at 4:43pm

Add something like this im guessing (no .htaccess pro)

RewriteCond %{REQUEST_URI} !^/moodle/.* 

Add that bit around the other RewriteCond bits.