Hi, Yes its the same domain. I've tried the fully qualified URI, and everything I try seems to result in the same message. I don't know if SSI's need a physical file, but I think it should be possible to include the response from a rails resource.
Matt On Fri, Mar 6, 2009 at 8:59 PM, Francis Fish <[email protected]> wrote: > Hi Matt, > > Are you serving both apps from the same domain? Have you tried putting the > full path to the server into your SSI's? I've never played with this but I > can't see how you can get to the Rails content from inside the SSI because > it will be looking for a file? Is that how it works? > > So what happens if you put the whole path including the http and the > server? > > Like I said, just a wild guess. > > On Fri, Mar 6, 2009 at 3:17 PM, Matt Roberts < > [email protected]> wrote: > >> >> Hi all, >> >> I've got a rails app that consists of a lot of legacy html pages that >> use >> SSI's. I want to spice thse pages up a little by including some rails >> content in the html pages by using SSI's. However, when I try to add >> this >> SSI: >> >> <!--#include virtual="/testcontroller/index"> >> >> The response I get within my html page is >> >> No route matches "/" with {:method=>:get} >> >> Any ideas? Am I missing something routey here, or expecting too much, >> or is >> it an apache setting (I'm using phusion) >> >> Cheers >> >> Matt Roberts >> >> PS This is a repost because I think I fluffed something up the first >> time - it didn't appear in the email digest. >> >> > > > -- > Thanks and regards, > > Francis Fish > > > > > -- :O) Matt Roberts --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "NWRUG" 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/nwrug-members?hl=en -~----------~----~----~----~------~----~------~--~---
