1. Using Euphoria for CGI

Really two questions on this:

(1) Can someone give me a pointer to any guidelines about using Euphoria as
a language for CGI?

(2) If someone wants to offer Euphoria as a CGI language on a for-pay web
hosting service, what would be the terms for it?  Or could they just use
the PD edition for free (with the understanding that there would be no
support other than this forum, and the usual missing features)?

--
Jeff Zeitlin
jzeitlin at cyburban.com

new topic     » topic index » view message » categorize

2. Re: Using Euphoria for CGI

On Sunday 13 January 2002 12:36 am, Jeff wrote:
>
> Really two questions on this:
>
> (1) Can someone give me a pointer to any guidelines about using Euphoria as
> a language for CGI?

Do a search in the RDS archives for CGI. You'll get several for both Win and 
Linux. Be aware that you'll probably need better web server software than 
comes with Windows. Xitami is one which works ok. Apache is fine.

> (2) If someone wants to offer Euphoria as a CGI language on a for-pay web
> hosting service, what would be the terms for it?  Or could they just use
> the PD edition for free (with the understanding that there would be no
> support other than this forum, and the usual missing features)?

I wouldn't want to put anything but the  PD version there - it would be too 
easy to copy. Besides, there wouldn't be much benefit from having the 
licensed version - the error messages would still be local files, and you 
couldn't use trace.  Anyway, 90% of the problems you will have with CGI 
have nothing to do with the programming language, anyway;  most will be  
problems with paths and permissions.

Regards,
Irv

new topic     » goto parent     » topic index » view message » categorize

3. Re: Using Euphoria for CGI

On Sun, 13 Jan 2002 15:28:51 -0800, Irv Mullins <irvm at ellijay.com> wrote:

>On Sunday 13 January 2002 12:36 am, Jeff wrote:

>> Really two questions on this:

>> (1) Can someone give me a pointer to any guidelines about using Euphoria as
>> a language for CGI?

>Do a search in the RDS archives for CGI. You'll get several for both Win and 
>Linux. Be aware that you'll probably need better web server software than 
>comes with Windows. Xitami is one which works ok. Apache is fine.

The intent is to be able to do some CGI in Eu for my website, which will be
hosted on a Sun Cobalt RAQ4.  Linux.  Not an issue, here.  Thanks for the
heads-up, and I've just pulled down about a half-dozen files from the
archives.

>> (2) If someone wants to offer Euphoria as a CGI language on a for-pay web
>> hosting service, what would be the terms for it?  Or could they just use
>> the PD edition for free (with the understanding that there would be no
>> support other than this forum, and the usual missing features)?

>I wouldn't want to put anything but the  PD version there - it would be too 
>easy to copy. Besides, there wouldn't be much benefit from having the 
>licensed version - the error messages would still be local files, and you 
>couldn't use trace.  Anyway, 90% of the problems you will have with CGI 
>have nothing to do with the programming language, anyway;  most will be  
>problems with paths and permissions.

I'm actually more concerned about how Rob, as a businessman, feels about
this prospect; the technical issues can be handled satisfactorily.  I don't
see a reason to go with the full Eu, either - but I also can see where Rob
might want a prospective commercial web host to buy the full package before
offering Eu as a CGI language, even if the interpreter actually posted is
"only" the PD version.

--
Jeff Zeitlin
jzeitlin at cyburban.com

new topic     » goto parent     » topic index » view message » categorize

4. Re: Using Euphoria for CGI

Jeff Zeitlin writes:
> I'm actually more concerned about how Rob, as a businessman, feels about
> this prospect; the technical issues can be handled satisfactorily.  I don't
> see a reason to go with the full Eu, either - but I also can see where Rob
> might want a prospective commercial web host to buy the full package before
> offering Eu as a CGI language, even if the interpreter actually posted is
> "only" the PD version.

It's fine with me if anyone wants to offer the PD Euphoria interpreter
on their system for others to use. The users of a Euphoria program
wouldn't need more than this, especially now that there is no longer
a 300-limit on run-time error diagnostics.

The Complete Edition interpreter has extra features: 
binding, profiling, >300 statement tracing,  that each 
Euphoria programmer must pay for, possibly
via a site license if there are a lot of programmers involved.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

5. Re: Using Euphoria for CGI

On Sunday 13 January 2002 06:39 pm, Jeff wrote:

> The intent is to be able to do some CGI in Eu for my website, which will be
> hosted on a Sun Cobalt RAQ4.  Linux.  Not an issue, here.  Thanks for the
> heads-up, and I've just pulled down about a half-dozen files from the
> archives.

Have you found someone who'll allow you to run Euphoria on their server?
I've wanted to be able to run Euporia CGI's on the net, but no one so far has 
been willing to put Eu on their server, and I can't get a full-time 
connection to my home....

Regards,
Irv

new topic     » goto parent     » topic index » view message » categorize

6. Re: Using Euphoria for CGI

Irv wrote:

> Have you found someone who'll allow you to run Euphoria on their server?
> I've wanted to be able to run Euporia CGI's on the net, but no one so far
has
> been willing to put Eu on their server, and I can't get a full-time
> connection to my home....

You could try uploading 'exu' to your cgi-bin, then changing the #! lines in
your scripts to reflect the path to it. (You might need to ask your ISP what
the exact path is...)

Then again, I work for my ISP so things are a bit easier for me... blink

Go to: http://www.cyreksoft.yorks.com/eu.cgi for a basic Euphoria CGI. The
Apache webserver it's running on didn't need to be reconfigured to allow
'exu' to run. All the files are in cgi-bin-like folders.

Carl

new topic     » goto parent     » topic index » view message » categorize

7. Re: Using Euphoria for CGI

On Monday 14 January 2002 08:42 am, Carl wrote:

> Irv wrote:
> > Have you found someone who'll allow you to run Euphoria on their server?
> > I've wanted to be able to run Euporia CGI's on the net, but no one so far
> >has been willing to put Eu on their server, and I can't get a full-time
> > connection to my home....
>
> You could try uploading 'exu' to your cgi-bin, then changing the #! lines
> in your scripts to reflect the path to it. (You might need to ask your ISP
> what the exact path is...)

Thanks, but I know _how_ to put Eu on my ISP's server - the problem is, 
running anything but perl or bash is grounds for immediate termination of 
services. There's just too much chance that a wayward "foreign" program will 
lock up a server which is used by many users.

> Then again, I work for my ISP so things are a bit easier for me... blink

OK, so  will your ISP provide web space where I can run Eu scripts?
If so, how much per month? I'm  sure there are others on this list who 
would like to do the same.

Regards,
Irv

new topic     » goto parent     » topic index » view message » categorize

8. Re: Using Euphoria for CGI

On Mon, 14 Jan 2002 11:39:08 -0800, Irv Mullins <irvm at ellijay.com> wrote:

>On Sunday 13 January 2002 06:39 pm, Jeff wrote:

>> The intent is to be able to do some CGI in Eu for my website, which will be
>> hosted on a Sun Cobalt RAQ4.  Linux.  Not an issue, here.  Thanks for the
>> heads-up, and I've just pulled down about a half-dozen files from the
>> archives.

>Have you found someone who'll allow you to run Euphoria on their server?
>I've wanted to be able to run Euporia CGI's on the net, but no one so far has 
>been willing to put Eu on their server, and I can't get a full-time 
>connection to my home....

I'm in negotiation.  The owner will do generic hosting, but has a bias
toward certain specialty sites (in fact, when he was offering free hosting
to sites in that specialty when he was starting up, I was the first one so
offered), so may be willing to go a little farther out for me as an
appropriate specialty site than he might for someone else.  Once I've got
things settled, I'll inquire further with an eye toward recommendations.

--
Jeff Zeitlin
jzeitlin at cyburban.com

new topic     » goto parent     » topic index » view message » categorize

9. Re: Using Euphoria for CGI

> I'm in negotiation.  The owner will do generic hosting, but has a bias
> toward certain specialty sites (in fact, when he was offering free hosting
> to sites in that specialty when he was starting up, I was the first one so
> offered), so may be willing to go a little farther out for me as an
> appropriate specialty site than he might for someone else.  Once I've got
> things settled, I'll inquire further with an eye toward recommendations.

A safer alternative would be to find someone who would co-locate - that is, 
who has a fast, full-time internet connection, and would allow us to install 
a cheap Linux box in some unused corner, and connect to his (T1 ?) line. 
By reserving this boc for Euphoria folk only, that would reduce the chance  
of runaway programs bringing down any of his other customers' websites.

Regards,
Irv

new topic     » goto parent     » topic index » view message » categorize

10. Re: Using Euphoria for CGI

Irv wrote:

> On Monday 14 January 2002 08:42 am, Carl wrote:
>
> > Irv wrote:
> > > Have you found someone who'll allow you to run Euphoria on their
server?
> > > I've wanted to be able to run Euporia CGI's on the net, but no one so
far
> > >has been willing to put Eu on their server, and I can't get a full-time
> > > connection to my home....
> >
> > You could try uploading 'exu' to your cgi-bin, then changing the #!
lines
> > in your scripts to reflect the path to it. (You might need to ask your
ISP
> > what the exact path is...)
>
> Thanks, but I know _how_ to put Eu on my ISP's server - the problem is,
> running anything but perl or bash is grounds for immediate termination of
> services. There's just too much chance that a wayward "foreign" program
will
> lock up a server which is used by many users.

You can lock up a server with Perl and Bash. Euphoria's no different.

We allow anything in our customer's cgi-bins as long as they tell us what it
is beforehand so we've chance ot check it out.

To upload anything, it has to be sent via e-mail and uploaded by someone
here - a pain in the @$$, yes, but that's company policy. We use e-mail
because most people just upload pre-written packages and don't really want
to script things themselves.

Ask nicely and we'll consider allowing cgi-bin FTP upload access, but it's
not a sure thing. If we find that something is breaking the server, we kill
*it* not the web-space (We had someone doing that with Perl on one of our
servers yesterday. The systems team is considering putting them back on
e-mail uploads only).

> > Then again, I work for my ISP so things are a bit easier for me... blink
>
> OK, so  will your ISP provide web space where I can run Eu scripts?
> If so, how much per month? I'm  sure there are others on this list who
> would like to do the same.

We could do. The servers won't be specifically set up to run Eu though
unless we have a big demand for it. You'd still have to upload/e-mail exu
and the relevant includes yourself.

As for pricing (/me digs out a pricelist): The smallest space we do, 20Mb,
would set you back UKP10 per month, or UKP96 per year (roughly USD14.50 /
USD139.20).
Twist the arms of our sales staff and they might do 10Mb for half that.

IIRC, A cgi-bin is a once off charge of UKP10 (USD14.50), but for some
reason that's not listed on our website at www.legend.net.uk. Hmm... I must
kick the marketing team...

The downsides are, 1: we won't support your scripts, it's up to you to get
them working, and 2: we're UK based, which is not necesarily a bad thing,
but most of you guys aren't).

The upside is we're one of the few ISPs who have someone on staff who knows
what Euphoria is... :)

Carl

--
Carl R White - aka - Cyrek the Illogical
  E-mail...: cyrek at cyreksoft.yorks.com
  URL......: http://www.cyreksoft.yorks.com

new topic     » goto parent     » topic index » view message » categorize

11. Re: Using Euphoria for CGI

On 15 Jan 2002, at 7:56, Irv Mullins wrote:

> 
> 
> > I'm in negotiation.  The owner will do generic hosting, but has a bias
> > toward certain specialty sites (in fact, when he was offering free hosting
> > to
> > sites in that specialty when he was starting up, I was the first one so
> > offered), so may be willing to go a little farther out for me as an
> > appropriate specialty site than he might for someone else.  Once I've got
> > things settled, I'll inquire further with an eye toward recommendations.
> 
> A safer alternative would be to find someone who would co-locate - that is,
> who
> has a fast, full-time internet connection, and would allow us to install a
> cheap
> Linux box in some unused corner, and connect to his (T1 ?) line. By reserving
> this boc for Euphoria folk only, that would reduce the chance  of runaway
> programs bringing down any of his other customers' websites.

I asked my isp about that two yrs ago, he wanted $125 a month. Yipes,, no 
can do. What about running Eu in a normal shell account for $12USD 
somewhere?

Kat

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu