« first day (1457 days earlier)      last day (2323 days later) » 

7:08 PM
@rgchris I think I once saw a "QM quick setup guide" passing by some time ago. Do you happen to have a link handy?
 
7:21 PM
@earl It's a wee bit out of date, but still linked here: ross-gill.com/QM
Yikes, a lot out of date—controllers have changed significantly since then :(
Probably the easiest example to get going is Rebol Help one.
QM as-is (0.7.6) is a script you call from your CGI script. It'll either read settings from DO/ARGS, or the header of the calling script. If you call it from CGI (determined by the presence of CGI variables) it'll print an HTTP response. Otherwise it'll just load all the functions/environment so you can call it from the console too.
In the 'help.rebol.org' example, the CGI script actually manipulates the Request URI before calling QM, hence the extra code.
 
7:39 PM
@rgchris Ok, thanks. That was most likely what I had in mind :)
 
@earl Cool, if you have success (or not), let me know :)
 
Is github.com/rgchris/QuarterMaster somewhat up-to-date?
 
@earl Yep.
 
Ok, cool.
@rgchris So a plain CGI wrapper would basically just be: do/args %path/to/qm.r settings-block -- do I understand that correctly?
 
Checking...
May be a block or object with 'settings in it...
The current script header is used as an alternative to ARGS.
This appears to be the minimum:
do/args %qm.r [settings [zone: -5:00 spaces: []]]
I believe my intent was/is to pass a full Rebol header to QM as the initial environment.
 
7:58 PM
Wow. [Rebol and Red] is #4 on chat.stackoverflow.com right now.
 
@Respectech We can be a noisy bunch :)
 
8:12 PM
<silence ensues>
 
8:34 PM
<crickets chirping>
 
9:10 PM
@Respectech Did you manage to give the encapper a try on ARM yet?
 
9:28 PM
@earl No, I haven't. I got blindsided by a huge new opportunity with a South Korean company last week and I've been scrambling to try to get things ready according to their timeline.
 
@Respectech Ah, but that sounds like a very good way of being distracted :)
 
10:12 PM
Yes. I just hope it turns out as good as it sounds. :-)
 
10:46 PM
0
Q: How do you suppress .html from the URLs of static HTML files with Cheyenne?

rgchrisI'm using Cheyenne v0.9 and would like to serve static HTML files as text/html, but I don't want the URLs to contain the .html extension. Is there a way to do this without using CGI or some other dynamic processor? For example: /path/to/example.org/web-root/about.html To be reached using: ht...

 

« first day (1457 days earlier)      last day (2323 days later) »