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   1685 Views

Avatar
MKayHavoc

9 July 2008 at 3:11am Community Member, 33 Posts

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

9 July 2008 at 4:43pm Forum Moderator, 5511 Posts

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

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

Add that bit around the other RewriteCond bits.