This project is read-only.

Custom directory routing?

Topics: Customizing Orchard, Troubleshooting
Jun 5, 2012 at 4:09 AM


How do I make that an specifig url targets and specifigs folder on the server?? Pour example, I need that doesn't point to a "Download" page (thats Orachrd normal behavior)  but to a directory "Download" on the server...  I guess I'll to set the routing somewhere..  but I dont know where... any help?



Jun 5, 2012 at 5:49 AM

What do you mean? What do you want to happen when you browse /downloads?

Jun 7, 2012 at 4:32 PM


What I'm trying to say is what I've its a folder called "Downloads" with some files on it, not a page... with orchard when I try to access that folder via the URL<whatever file> I got "a page not found error" because Orchard is looking for the  page Downloads that doesn't exist.... how can I change that? how can I configure or modify orchard in order to not to look for a page in this case...?



Jun 8, 2012 at 6:39 AM

Just copy the web.config from any static content folder, such as a Scripts or a Styles folder.

Jun 8, 2012 at 3:03 PM