This is turning into quite a mess. It's just not this simple. I have a set of 10 or so static html files that ALSO include references to css, javascript, and images. So inside the html there's something like this:
<link rel="stylesheet" href="css/style.css" media="screen" /> So just plopping this whole thing down inside a "Site" view folder won't work, because then it won't pull the css from in there too. So if I give up on making it the "root" of the site and just redirect http://mysite.com to http://mysite/Site/index.html, is there any way to tell monorail to ignore a whole subtree? On Sep 2, 10:09 am, JakeS <[email protected]> wrote: > > I guess you could use routing. How important is it that the about > > file appear to be in the root? In my actual site, the controller for > > most static text is called SiteController, and I use the path of > > /Site/About.rails. (SiteController also contains things like Login() > > & Logout()) It's not like many people are going to type that address > > directly into the browser address bar. > > The client is very big on "SEO" friendly URLs, so the simpler the URL > the better. And it's not just one static page, it's a whole front-end > marketing site being added onto the back-end application. So > there'shttp://mysite.com/home.html,http://mysite.com/demo.html,http://mysite.com/features.html, > etc. Having that extra path in the > URL may frustrate him. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
