Calling a revServer script from inside a .html page?

2010-12-18 Thread Keith Clarke
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

Re: Calling a revServer script from inside a .html page?

2010-12-18 Thread Pierre Sahores
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

Re: Calling a revServer script from inside a .html page?

2010-12-18 Thread Keith Clarke
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! ;-)

Re: Calling a revServer script from inside a .html page?

2010-12-18 Thread David C.
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

Re: Calling a revServer script from inside a .html page?

2010-12-18 Thread Keith Clarke
Richard, Thanks, for the clarification on how the CGI process works and how mod_rewrite .htaccess can be used to tweak things. I'm not sure about these being essential to enable revServer - unless they do more than manage the script hand-off to the revServer engine. As I have full access to

Re: Calling a revServer script from inside a .html page?

2010-12-18 Thread Keith Clarke
...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