[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-developers] RE: Hosting compiled c programs in virtual sites
- Subject: RE: [cobalt-developers] RE: Hosting compiled c programs in virtual sites
- From: "Malcolm Wild" <cobaltsec@xxxxxxxxxxx>
- Date: Mon Sep 3 19:22:36 2001
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
I tried perl2exe and renamed the .exe .cgi
but it used to create massive (1MB+) files for 50k as it included every
module needed
I never had much puck and was curious as to how you got on.
Sorry I'm not much help on this thread!
-----Original Message-----
From: cobalt-developers-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx]On Behalf Of Steve
Culshaw
Sent: 04 September 2001 09:09
To: cobalt-developers@xxxxxxxxxxxxxxx
Subject: [cobalt-developers] RE: Hosting compiled c programs in virtual
sites
Hi Malcolm,
We've tried a mix of gcc,cc + c++.
The problem seems to be getting Apache to execute the
compiled code.
With the "AllowOverride Options" configured in the Apache
Conf files we should be able to put a .htaccess file in
the directory containing the executable and this should do
the same as a 'local' ScriptAlias but all it does is
echoes the complied jibberish to the screen.
We've found a work-round in actually specifying a
<Directory.. in that virt sites section of hhtpd.conf and
then selecting our own .extension like 'program.hello'
then adding a AddHandler for that extension type to treat
it as a cgi-script.
Seems to work but its a bit messy and im gonna try to get
the .htaccess stuff to work to save editing the conf files
every two minutes however the current way i'm sure is more
secure!
Any thoughts would be greatly appreciated.
Steven
___________________________________________________________
____
Get online at http://www.iq100.net today and tell your
friends!
...it's free, quick and easy. You won't get engaged tones
and
we won't tell you how to run your life!
_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers