Re: To Rob, totally off-topic

new topic     » goto parent     » topic index » view thread      » older message » newer message

I got Buddy Hyllberg's LIBCGI.E to work using MS
Personal Web server running as a small scale intranet
under Win95(my group gets very very little of the
total IS budget, but one crappy WIN95 PC does more
using Euphoria, than many of the $10,000+ NT servers I
share space with... ).

1. Place exw files to be run as CGI in
webshare\scripts folder. This folder is set for
'execute' permission only.

2. Change the file extensions from exw to CGI or CGE,
   otherwise machines that run euphoria will
   try to download the script instead of executing.

3. Created Registry key under HKEY_LOCAL_MACHINE\
   SYSTEM\CURRENT_CONTROL_SET\SERVICES\W3SVC\
   PARAMETERS\Scripts create a new String value called
   .CG and assign the path to \BIN\EXW.EXE in it.
   this is the same method for running PERL .pl
   files under Personal Web Server.

4. added conditional evaluation to Viewsrc.cgi(.ex),
   esentially creating 'virtual' filenames that
   evaluate to real filenames. Otherwise Viewsrc
   would allow anyone to view any file on the network
   outside their security profiles, by resubmitting
   the URL with a modified ? entry.

I use Euphoria cgi to create instant statistic reports
with HTML formatting that makes them look hand
polished, to view the Windows task scheduler and FTP
access logs, and run a CGI app called Quickpage that
let's me pull up a list of contact names from any
Workstation, and send messages to their Motorola
pagers via my E-post.ew library. I can access these
apps from any platform that sports a browser,
including an RS6000 running AIX and an HP9000.
I've just completed some Telnet negotiation routines
that ride on top of winsock.ew (by Jesus&Greg Harris),
so I can link a CGI control into the guts of our
Enterprise Applications servers. Big Big thanks to all
those whose bits of code help me look like a god at
Work : )

Michael J Raley
Seattle, WA

--- Robert Craig <rds at ATTCANADA.NET> wrote:
> Matt writes:
> > Robert,
> > How did you get the CGI scripts to work? How did
> you program them?
>
> The CGI scripts on our site were written by Junko in
> Perl.
> I would have preferred to use Euphoria, but the host
> is
> running FreeBSD. (i.e. not Linux, not NT). I briefly
> considered porting Euphoria to FreeBSD, but it
> looked like a lot of effort, given the small number
> of FreeBSD users.
>
> You can use virtually any language for CGI.
> Since performance is rarely critical,
> you'd prefer to use an easy language
> with good string handling. i.e. not C.
> Irv Mullins has some tutorials on our site for
> CGI programming in Euphoria.
>
> Regards,
>    Rob Craig
>    Rapid Deployment Software
>    http://www.RapidEuphoria.com


__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu