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.

Archive /

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

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

Rewrite rule


Reply


2 Posts   1732 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, 5513 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.