MC on Apache and CGI
Sadhunathan Nadesan
sadhu at castandcrew.com
Mon Dec 9 10:30:01 EST 2002
| Date: Sun, 08 Dec 2002 15:51:00 +0000
| Subject: MC on Apache and CGI
|
| As I want to use MC for cgi in more and more projects, I'd
| be very glad if someone could take a part of his time and explain
| everything to me (or at least everything I need to know), on or
| off list, it doesn't matter...
Hi
I posted a detailed message of how to install it if you want to
search the archives. I didn't go for a cgi wrapper although
that's not a bad idea. It was mainly for people who did not
have direct access to their server (such as someone using an
ISP that didn't provide shell access). If you do have access,
its trivial - just get the right engine for your OS and
put the file called 'mc' in a suitable directory (such as
/usr/local/bin) and make it executable (chmod a+x mc).
Sadhu
ps, caveat
the examples that are seen of read from stdin until
empty lead to trouble when you get a large amount
of data from an http post. Scott recently posted a
way around this. If you don't use his new method,
MC is unreliable as a cgi scripting language.
More information about the metacard
mailing list