how do I rewrite a folder to a different path

Topics: User Forum
Jul 19, 2012 at 4:01 PM

I am looking to change /calendars/MyCalendar.ics to

/feeds/ics/ics_classic.aspx?MyCalendar.ics

 

What is the regular expression to do this?

Thanks,

Shawn

Jul 19, 2012 at 7:04 PM

I figured it out

ReWriteRule ^/calendars/(.+ics) /feeds/ics/ics_classic.aspx?$1      [L]