Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Rewrite rule

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

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

Page: 1
Go to End
Author Topic: 1641 Views
  • MKayHavoc
    Avatar
    Community Member
    33 Posts

    Rewrite rule Link to this post

    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

  • Willr
    Avatar
    Forum Moderator
    5464 Posts

    Re: Rewrite rule Link to this post

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

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

    Add that bit around the other RewriteCond bits.

    1641 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.