Calling a revServer script from inside a .html page?

Keith Clarke keith.clarke at clarkeandclarke.co.uk
Sat Dec 18 05:39:43 EST 2010


Pierre, Thanks for the clarification. Not quite the answer I was hoping as I want to rev-enable existing auto-generated pages where I can't change the page mime-type from html. Still, at least I can stop trying to rev-enable the OSX Wiki Server and get on with some development work! ;-)
cordialement,
Keith.. 

On 18 Dec 2010, at 09:20, Pierre Sahores wrote:

> No way to do this directly but in mapping each .irev page to .html trough .htaccess rules, your page can be outputed as .html to the client's browser address bar. 
> 
> HTH,
> 
> Le 18 déc. 2010 à 10:07, Keith Clarke a écrit :
> 
>> 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 Javascript) rather than scripted pages into sites (like PHP). Am I missing something obvious?
>> 
>> Best
>> Keith..    
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> --
> Pierre Sahores
> mobile : (33) 6 03 95 77 70
> 
> www.woooooooords.com
> www.sahores-conseil.com
> 
> 
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the Use-livecode mailing list