Calling a revServer script from inside a .html page?
keith.clarke at clarkeandclarke.co.uk
Sat Dec 18 13:03:49 EST 2010
...thanks Mike. I don't really understand much of this - but it's early days for me in hacking servers and Apache configs!
Richard has provided a potential short-term work-around for my dev site, but I'll have a look SSIs again once I've learned a bit more and have maybe got part-way up the revIgniter learning curve - and then hopefully it might start to make sense :-)
On 18 Dec 2010, at 14:27, Mike Bonner wrote:
> Might look at what you can do with server side includes too. Though I think
> from your description, the section on enabling xbithack probably doesn't
> apply since it sound like you're dealing with generated pages rather than
> real. Still, worth a look. This won't let you embed rev scripts directly in
> the page, but you could do a <!--#include virtual="/cgi-bin/myirev.irev" -->
> to include content from an irev script.
> If you decide to experiment with this, make sure to pay special attention to
> the section on executing commands. Specifically the last paragraph that
> tells you how to disable that particular feature.
> Heres a link to the official SSI howto.
> On Sat, Dec 18, 2010 at 7:09 AM, Keith Clarke <
> keith.clarke at clarkeandclarke.co.uk> wrote:
>> ...OK, thanks David. I've had revIgniter nestling in my Downloads file
>> whilst I grappled with getting revserver installed. So this might be the
>> driver to learn, install & play (well, not necessarily in that order!)
>> On 18 Dec 2010, at 13:13, David C. wrote:
>>>> Hi folks,
>>>> Sorry if this has been discussed but I didn't strike upon the lucky
>> search string! Is it possible to access the
>>>> revServer engine via scripts in pages of mime-type other than .irev -
>> such as .html - and if so, what is the trick?
>>>> I have a test page of mime-type .irev working OK on my OSX Server
>> machine but an embedded LiveCode script
>>>> on the index.html page is ignored.
>>>> To enable rev scripting within pages auto-generated by environments such
>> as the OSX Wiki Server, it looks like
>>>> there would need to be a way to embed LiveCode tags into pages (like
>>>> into sites (like PHP). Am I missing something obvious?
>>> I may be wrong, but I think that I read that what you need can be
>>> accomplished using Ralf Bitter's really cool revIgniter framework:
>>> Perhaps it might be of help to you in any case.
>>> Best regards,
>>> David C.
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode