MC on Apache and CGI
Pierre Sahores
psahores at easynet.fr
Sun Dec 8 13:13:25 EST 2002
jbv a écrit :
>
> Hello again,
>
> I have a rather odd request regarding the installation
> of MC on a server running Apache for CGI applications,
> both from standard web pages and from MC standlones.
>
> MC has been installed on 2 of our servers several months
> ago and I've used it successfully for a couple of projects
> and everything works fine.
> The question is NOT about how to use it, but how to
> INSTALL it.
>
> Let me explain : it had been installed by a guy who no
> longer works with us, and I'm not an Apache wizzard.
> Furthermore, there are plans to transfer the content of
> our servers to the servers of a company who would
> administrate everything for us (mainly for cost reduction).
> Of course, ppl at that company never heard of MC and
> are quite reluctant to install it on their machines...
>
> So what I need is accurate info (from someone who already
> installed it and uses it daily - Pierre ? ) about installation and
> safety issues, mainly to convince those ppl...
> I remember some posts on this list about the need of a "wrapper"
> (to hinder hackers to take control of the server), and differences
> between MC and Mchttpd, but am afraid I don't master these
> subjects well enough to convince a Unix pro...
>
> 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...
> Or perhaps does anyone know of some company here in France
> who already knows MC and is willing to have it installed on
> their servers... It would make things easier...
>
> Thanks in advance for your time & attention.
>
> Best,
> JB
>
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
Hi JB,
It's, basicaly, two ways you can install mc to have it running behind
Apache.
1.- As a simple cgi engine : just drop the mc engine where you want (but
not in a directory where any bad guy will expect to find it) and add the
right path head your mc-cgi scripts, alike "#!/the path/mc". Verify that
the right permissions are ok to let the cgis lauchables by the mc engine
and it will be ok.
2.- As a long running mc processes engine (unixes boxes only, including
linux and macosx) : first, you will, in this case, have to install the
mc engine in the same way as explainded upon. Second, you will have to
install the stacks devoted to handle the long running processes just
alike any other deamon app, alike Apache or PostgreSQL, and do them
launchables (at boot or trough an ssh dedicated command) in istalling
the needed ".sh" scripts in the needed ./init.d/ subdirectories of the
server box system.
More, off-list, if needed ;)
--
Cordialement, Pierre Sahores
Inspection académique de Seine-Saint-Denis.
Applications et bases de données WEB et VPN
Qualifier et produire l'avantage compétitif
More information about the metacard
mailing list