Re: RevCGI Hosts?

2008-02-25 Thread Mark Schonewille

Hi Richard,

Sorry for the delayed reply. If you call cgiemail as a URL the same  
way a form does when using the GET method, you can use


get url http://www.domain.com/cgi-bin/cgiemail.cgi?lotsofparameters=lotsofvariables 



Just make sure the internet library is available. Also, you might want  
to check the post entry in the docs.  You should be able to call the  
cgi using a url to the server Rev CGI is running on.


Surely, you could also use one of the SMTP libraries to send out e- 
mail directly. I did this, but noticed that the way this works depends  
on the server configuration, which one doesn't always have control of.


Best regards,

Mark Schonewille

--

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Convert colours between different colour spaces with Color Converter.  
Download at http://economy-x-talk.com/cc.html




Op 20 feb 2008, om 20:00 heeft Richard Miller het volgende geschreven:


Hi Mark,

Maybe I'm missing something, but it seems that cgiemail is designed  
to work when generated from an html input form. What I need to do is  
send an email directly to a recipient right from my Rev cgi program  
(where the email address is coming out of a database...not from a  
form). Can cgiemail do that?


Thanks.
Richard



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-25 Thread Andre Garzia
I still think the best option is Sendmail. I bet a beer with you that
cgiemail is calling sendmail by itself :-D



On 2/25/08, Mark Schonewille [EMAIL PROTECTED] wrote:
 Hi Richard,

  Sorry for the delayed reply. If you call cgiemail as a URL the same
  way a form does when using the GET method, you can use

  get url 
 http://www.domain.com/cgi-bin/cgiemail.cgi?lotsofparameters=lotsofvariables
  

  Just make sure the internet library is available. Also, you might want
  to check the post entry in the docs.  You should be able to call the
  cgi using a url to the server Rev CGI is running on.

  Surely, you could also use one of the SMTP libraries to send out e-
  mail directly. I did this, but noticed that the way this works depends
  on the server configuration, which one doesn't always have control of.


  Best regards,

  Mark Schonewille

  --

  Economy-x-Talk Consulting and Software Engineering
  http://economy-x-talk.com
  http://www.salery.biz

  Convert colours between different colour spaces with Color Converter.
  Download at http://economy-x-talk.com/cc.html




 Op 20 feb 2008, om 20:00 heeft Richard Miller het volgende geschreven:


   Hi Mark,
  
   Maybe I'm missing something, but it seems that cgiemail is designed
   to work when generated from an html input form. What I need to do is
   send an email directly to a recipient right from my Rev cgi program
   (where the email address is coming out of a database...not from a
   form). Can cgiemail do that?
  
   Thanks.
   Richard
  


 ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution



-- 
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-25 Thread Mark Schonewille
I don't drink beer, so you can have it :-p Just a question, do you  
think that sendmail easier than cgiemail?


Best regards,

Mark Schonewille

--

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Convert colours between different colour spaces with Color Converter.  
Download at http://economy-x-talk.com/cc.html




Op 25 feb 2008, om 17:48 heeft Andre Garzia het volgende geschreven:


I still think the best option is Sendmail. I bet a beer with you that
cgiemail is calling sendmail by itself :-D


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-25 Thread Stephen Barncard

Andre, your two cents are worth many dollars on this forum!



my two brazilian real cents which are worth near nothing but are the
prettiest money in the world (Except for old maltese liri which were
gorgeous)
Andre



--


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-25 Thread Andre Garzia
Mark,

yes, sendmail can be called from a cgi with a simple shell() call. You
can use RocketsSendmail library to make it even easier. This allows
you to customize the email and code your own solution. For example in
our Hinduism Today Digital Edition
(http://www.hinduismtoday.com/digital ) we use RocketsSendmail to send
a verification email to the newly created accounts, upon following a
link on those emails, the account is verified, this is a common
pattern used by many web applications which can't be easily reproduced
with cgiemail.

RocketsSendmail has only one function, that function is analogous to
RevMail but uses sendmail or mail (depending on the platform) to send
the email.

With Sendmail you're in control, you have the freedom to assemble the
emails anyway you want and even do processing on them first. With
cgiemail all you can do is forward forms...

cgiemail may be easier to forward forms, but that will just get you
more trouble in the long run for you're pushing your workflow to deal
with the form later. with sendmail you can do work earlier in the
workflow and send more meaningful emails.

my two brazilian real cents which are worth near nothing but are the
prettiest money in the world (Except for old maltese liri which were
gorgeous)
Andre



On 2/25/08, Mark Schonewille [EMAIL PROTECTED] wrote:
 I don't drink beer, so you can have it :-p Just a question, do you
  think that sendmail easier than cgiemail?


  Best regards,

  Mark Schonewille

  --

  Economy-x-Talk Consulting and Software Engineering
  http://economy-x-talk.com
  http://www.salery.biz

  Convert colours between different colour spaces with Color Converter.
  Download at http://economy-x-talk.com/cc.html




 Op 25 feb 2008, om 17:48 heeft Andre Garzia het volgende geschreven:


   I still think the best option is Sendmail. I bet a beer with you that
   cgiemail is calling sendmail by itself :-D


 ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution



-- 
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-25 Thread Mark Schonewille
Ahh of course! Somehow, I was thinking sendmail.cgi rather than  
shell. Thanks for your patience, Andre.


Best regards,

Mark Schonewille

--

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Convert colours between different colour spaces with Color Converter.  
Download at http://economy-x-talk.com/cc.html




Op 25 feb 2008, om 18:23 heeft Andre Garzia het volgende geschreven:


Mark,

yes, sendmail can be called from a cgi with a simple shell() call. You
can use RocketsSendmail library to make it even easier. This allows
you to customize the email and code your own solution.

snip

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-21 Thread Richard Miller

Andre,

I'll definitely take a good look at that. Does that library require  
an SMTP relay or does it use some other method of sending an email?


Thanks.
Richard


On Feb 21, 2008, at 1:19 AM, Andre Garzia wrote:


Richard,

you can use RocketsSendmail library from the RevOnRockets package to
send email, you'll probably need to change the path to the sendmail
application in there, but after that you should be able to send emails
in one line of code.

Andre

On 2/20/08, Richard Miller [EMAIL PROTECTED] wrote:

Two questions about both of these cgi hosting options:

 1. how do you generate an email from these accounts? With libsmtp253
 or something else?

 2. can you use the put x into ftp:url z syntax or some other
 language to place data from the cgi-bin into a remote location on
 another server?

 Thanks.

Richard Miller




 On Feb 20, 2008, at 12:52 AM, Mark Talluto wrote:



On Feb 19, 2008, at 7:16 PM, Richard Gaskin wrote:


You and others here got me to take a look at DreamHost, and I've
been very happy with them over the last year since I signed on.


I have both a Dreamhost and JaguarPC account.  I am about to close
out our JaguarPC accounts as their ftp upload max speed is around
125KB/sec.  I can saturate my pipe at 2 MB/Sec with DreamHost.
Gotta love FIOS!


Mark Talluto
--
CANELA Software
http://www.canelasoftware.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

 http://lists.runrev.com/mailman/listinfo/use-revolution




--
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-21 Thread Dave Cragg


On 20 Feb 2008, at 17:54, J. Landman Gay wrote:


Dave Cragg wrote:

My concern was that if the engine is in the cgi-bin folder, you  
can attempt to call the engine directly. For example, if the  
engine is named rev, then what happens when you request the url  
http://some.server.com/cgi-bin/rev;


I get an internal server error and nothing happens.


Will Apache try to start the engine?


Doesn't look like it, or if it does, it won't work. I think that's  
what Scott Raney was saying. The only vulnerabilities the engine  
allows are the ones you write into your scripts yourself.


Sorry to prolong this, Jacque. The internal server error is  
returned by Apache, and only indicates that things didn't work, but  
not necessarily that nothing happened. I tried calling this URL:


http://localhost/cgi-bin/revolution?12345

I get the 500 internal server error, but in the Apache error log I  
see this:


revolution: Can't load stack or script 12345
[Thu Feb 21 10:41:45 2008] [error] [client 127.0.0.1] Premature end  
of script headers: /Library/WebServer/CGI-Executables/revolution


Which suggests revolution started and tried to do something. That  
it fails (even when 12345 is substituted with a real stack) is  
reassuring. But then I wonder that the failure may be due to this  
being the Darwin engine and it never opens regular stacks. And Chipp  
confirmed that the Linux engine will open stacks from a script, and  
so I wonder if it might open stacks from a passed parameter. So  
instead of losing sleep, I just put the engine outside the cgi-bin  
folder.


Dave
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-21 Thread Andre Garzia
Richard,

RocketsSendmail is just a wrapper for the popular Sendmail unix tool
that is bundled with every linux under the sun. In the end, you're
calling the sendmail command line tool and that tool is sending the
email.

It does not rely on relays or other hacks, sendmail is the *official*
way to send emails from a hosted account usually.

You'll need to change the path to sendmail though.

andre

On 2/21/08, Richard Miller [EMAIL PROTECTED] wrote:
 Andre,

  I'll definitely take a good look at that. Does that library require
  an SMTP relay or does it use some other method of sending an email?

  Thanks.

 Richard



  On Feb 21, 2008, at 1:19 AM, Andre Garzia wrote:

   Richard,
  
   you can use RocketsSendmail library from the RevOnRockets package to
   send email, you'll probably need to change the path to the sendmail
   application in there, but after that you should be able to send emails
   in one line of code.
  
   Andre
  
   On 2/20/08, Richard Miller [EMAIL PROTECTED] wrote:
   Two questions about both of these cgi hosting options:
  
1. how do you generate an email from these accounts? With libsmtp253
or something else?
  
2. can you use the put x into ftp:url z syntax or some other
language to place data from the cgi-bin into a remote location on
another server?
  
Thanks.
  
   Richard Miller
  
  
  
  
On Feb 20, 2008, at 12:52 AM, Mark Talluto wrote:
  
  
   On Feb 19, 2008, at 7:16 PM, Richard Gaskin wrote:
  
   You and others here got me to take a look at DreamHost, and I've
   been very happy with them over the last year since I signed on.
  
   I have both a Dreamhost and JaguarPC account.  I am about to close
   out our JaguarPC accounts as their ftp upload max speed is around
   125KB/sec.  I can saturate my pipe at 2 MB/Sec with DreamHost.
   Gotta love FIOS!
  
  
   Mark Talluto
   --
   CANELA Software
   http://www.canelasoftware.com
  
   ___
   use-revolution mailing list
   use-revolution@lists.runrev.com
   Please visit this url to subscribe, unsubscribe and manage your
   subscription preferences:
   http://lists.runrev.com/mailman/listinfo/use-revolution
  
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
   subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
  
  
  
   --
   http://www.andregarzia.com All We Do Is Code.
   ___
   use-revolution mailing list
   use-revolution@lists.runrev.com
   Please visit this url to subscribe, unsubscribe and manage your
   subscription preferences:
   http://lists.runrev.com/mailman/listinfo/use-revolution

  ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution



-- 
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-21 Thread Richard Miller

Andre,

OK. Well, perhaps that's where I'm running into a problem.

I'm running my Rev cgi program on a dedicated MacMini server. It's  
simply a MacMini sitting in some server farm somewhere, so it's not a  
hosted account, in the traditional sense. Should I still be able to  
use sendmail?


Thanks.
Richard


On Feb 21, 2008, at 10:32 AM, Andre Garzia wrote:


Richard,

RocketsSendmail is just a wrapper for the popular Sendmail unix tool
that is bundled with every linux under the sun. In the end, you're
calling the sendmail command line tool and that tool is sending the
email.

It does not rely on relays or other hacks, sendmail is the *official*
way to send emails from a hosted account usually.

You'll need to change the path to sendmail though.

andre

On 2/21/08, Richard Miller [EMAIL PROTECTED] wrote:

Andre,

 I'll definitely take a good look at that. Does that library require
 an SMTP relay or does it use some other method of sending an email?

 Thanks.

Richard



 On Feb 21, 2008, at 1:19 AM, Andre Garzia wrote:


Richard,

you can use RocketsSendmail library from the RevOnRockets package to
send email, you'll probably need to change the path to the sendmail
application in there, but after that you should be able to send  
emails

in one line of code.

Andre

On 2/20/08, Richard Miller [EMAIL PROTECTED] wrote:

Two questions about both of these cgi hosting options:

 1. how do you generate an email from these accounts? With  
libsmtp253

 or something else?

 2. can you use the put x into ftp:url z syntax or some other
 language to place data from the cgi-bin into a remote location on
 another server?

 Thanks.

Richard Miller




 On Feb 20, 2008, at 12:52 AM, Mark Talluto wrote:



On Feb 19, 2008, at 7:16 PM, Richard Gaskin wrote:


You and others here got me to take a look at DreamHost, and I've
been very happy with them over the last year since I signed on.


I have both a Dreamhost and JaguarPC account.  I am about to close
out our JaguarPC accounts as their ftp upload max speed is around
125KB/sec.  I can saturate my pipe at 2 MB/Sec with DreamHost.
Gotta love FIOS!


Mark Talluto
--
CANELA Software
http://www.canelasoftware.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution




--
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

 http://lists.runrev.com/mailman/listinfo/use-revolution




--
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-21 Thread Andre Garzia
Richard,

You're lucky, RocketsSendmail supports only two operating systems -
Linux  Mac OS X - so you're good to go. On MacOS X, RocketsSendmail
will use command line mail command.

(Mac OS X includes sendmail but mail command line tool works better)

Cheers
andre

On 2/21/08, Richard Miller [EMAIL PROTECTED] wrote:
 Andre,

  OK. Well, perhaps that's where I'm running into a problem.

  I'm running my Rev cgi program on a dedicated MacMini server. It's
  simply a MacMini sitting in some server farm somewhere, so it's not a
  hosted account, in the traditional sense. Should I still be able to
  use sendmail?

  Thanks.

 Richard



  On Feb 21, 2008, at 10:32 AM, Andre Garzia wrote:

   Richard,
  
   RocketsSendmail is just a wrapper for the popular Sendmail unix tool
   that is bundled with every linux under the sun. In the end, you're
   calling the sendmail command line tool and that tool is sending the
   email.
  
   It does not rely on relays or other hacks, sendmail is the *official*
   way to send emails from a hosted account usually.
  
   You'll need to change the path to sendmail though.
  
   andre
  
   On 2/21/08, Richard Miller [EMAIL PROTECTED] wrote:
   Andre,
  
I'll definitely take a good look at that. Does that library require
an SMTP relay or does it use some other method of sending an email?
  
Thanks.
  
   Richard
  
  
  
On Feb 21, 2008, at 1:19 AM, Andre Garzia wrote:
  
   Richard,
  
   you can use RocketsSendmail library from the RevOnRockets package to
   send email, you'll probably need to change the path to the sendmail
   application in there, but after that you should be able to send
   emails
   in one line of code.
  
   Andre
  
   On 2/20/08, Richard Miller [EMAIL PROTECTED] wrote:
   Two questions about both of these cgi hosting options:
  
1. how do you generate an email from these accounts? With
   libsmtp253
or something else?
  
2. can you use the put x into ftp:url z syntax or some other
language to place data from the cgi-bin into a remote location on
another server?
  
Thanks.
  
   Richard Miller
  
  
  
  
On Feb 20, 2008, at 12:52 AM, Mark Talluto wrote:
  
  
   On Feb 19, 2008, at 7:16 PM, Richard Gaskin wrote:
  
   You and others here got me to take a look at DreamHost, and I've
   been very happy with them over the last year since I signed on.
  
   I have both a Dreamhost and JaguarPC account.  I am about to close
   out our JaguarPC accounts as their ftp upload max speed is around
   125KB/sec.  I can saturate my pipe at 2 MB/Sec with DreamHost.
   Gotta love FIOS!
  
  
   Mark Talluto
   --
   CANELA Software
   http://www.canelasoftware.com
  
   ___
   use-revolution mailing list
   use-revolution@lists.runrev.com
   Please visit this url to subscribe, unsubscribe and manage your
   subscription preferences:
   http://lists.runrev.com/mailman/listinfo/use-revolution
  
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
   subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
  
  
  
   --
   http://www.andregarzia.com All We Do Is Code.
   ___
   use-revolution mailing list
   use-revolution@lists.runrev.com
   Please visit this url to subscribe, unsubscribe and manage your
   subscription preferences:
   http://lists.runrev.com/mailman/listinfo/use-revolution
  
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
   subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
  
  
  
   --
   http://www.andregarzia.com All We Do Is Code.
   ___
   use-revolution mailing list
   use-revolution@lists.runrev.com
   Please visit this url to subscribe, unsubscribe and manage your
   subscription preferences:
   http://lists.runrev.com/mailman/listinfo/use-revolution

  ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution



-- 
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-21 Thread J. Landman Gay

Dave Cragg wrote:


Sorry to prolong this, Jacque.


Not at all. I think the discussion is valuable. I am fairly sure that 
Rev is more secure than some other CGI implementations but I'd like to 
know that for certain.


The internal server error is returned 
by Apache, and only indicates that things didn't work, but not 
necessarily that nothing happened. I tried calling this URL:


http://localhost/cgi-bin/revolution?12345

I get the 500 internal server error, but in the Apache error log I see 
this:


revolution: Can't load stack or script 12345
[Thu Feb 21 10:41:45 2008] [error] [client 127.0.0.1] Premature end of 
script headers: /Library/WebServer/CGI-Executables/revolution


Right, I saw the same thing. The important part, I think, is that you 
can't pass a parameter to the Rev engine unless there is a script on the 
server that can parse those parameters (at least, that's what I think. 
It's what I want to know for sure.) So, barring someone who physically 
accesses the server and puts in a spy script, I don't think Rev will 
work when passing parameters to the raw engine itself. But like I said, 
I'd like this verified because right now I'm just guessing.




Which suggests revolution started and tried to do something. That it 
fails (even when 12345 is substituted with a real stack) is reassuring. 
But then I wonder that the failure may be due to this being the Darwin 
engine and it never opens regular stacks.


The Darwin engine opens stacks okay, I have several CGIs that open and 
use regular stacks. The key is that they are all opened by a CGI script, 
and the browser calls those scripts in the URL. I have not been able to 
get Rev to respond properly by just calling the engine alone from a 
browser, with or without parameters. But I'm not an expert, so I'd like 
to know if there is a way to do that. If there is, then that would be 
the weak point in the engine.


And Chipp confirmed that the 
Linux engine will open stacks from a script, and so I wonder if it might 
open stacks from a passed parameter.


Chipp and I talked about that. I have an older engine on my site, which 
opens stacks fine with either the library or start using commands; 
it is only the open command that fails. Apparently this was changed in 
a later engine version, so that open also works (I should update the 
engine on my server, I guess.) But regardless, my scripts do open and 
use stacks on the server even with the older engine, in both Darwin and 
Linux environments. What I can't make Rev do is open a stack without 
having a CGI script in place to do that.


So instead of losing sleep, I just 
put the engine outside the cgi-bin folder.


I think this is a safe thing to do. Mainly I just want to verify, for my 
own curiosity, whether Rev is as secure as Scott Raney implied. So far I 
can't make it do anything it shouldn't -- but like I said, I'm no 'nix 
expert and I'd need some help crafting a URL that would do the deed. If 
anyone is willing to bang on the engine this way, I'd like to know what 
they find out.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-21 Thread Chipp Walters
Jacque,

I did confirm that 2.9 dp3 works as long as the first line has the -ui
switch:

#!revolution -ui

I would imagine the dp 4 is the same. Just thought you should know.

-C
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-21 Thread J. Landman Gay

Chipp Walters wrote:

Jacque,

I did confirm that 2.9 dp3 works as long as the first line has the -ui
switch:

#!revolution -ui

I would imagine the dp 4 is the same. Just thought you should know.


Beat you to it. Tried it last night and you're right, it works.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-20 Thread Dave Cragg


On 20 Feb 2008, at 01:54, J. Landman Gay wrote:



I think we can relax as long as we don't script anything stupid.  
Here are a couple of quotes from Scott Raney about it:


Hi Jacque

It wasn't the script content I was concerned about. Scripting  
problems exist wherever the engine is.


My concern was that if the engine is in the cgi-bin folder, you can  
attempt to call the engine directly. For example, if the engine is  
named rev, then what happens when you request the url http:// 
some.server.com/cgi-bin/rev


Will Apache try to start the engine? My understanding of Apache and  
the cgi-bin folder suggests that it will. (But am not certain.)  
Normally, I think nothing will happen and the engine will immediately  
close. But if it were possible to coerce Apache to send parameters  
when opening the engine, the risks seem higher. In the case of the  
Windows Perl executable, I think Apache sent any query string  
attached to the url as a parameter. In some circumstances (forget  
details) the Perl executable will attempt to execute scripts passed  
as parameters. It was possible to craft a query string that would  
cause Perls to execute scripts.


As I said, I'm reasonably confident this can't be done with Rev. (But  
it will accept parameters.) But it's usually not a problem to put the  
engine somewhere outside of the cgi-bin folder and adjust the top  
line of the script accordingly.


The other advantage is that starting a script with #!usr/bin/revbin/ 
rev or #!../rev makes you look more knowledgeable than simply using #! 
rev   It's like the subtle difference between quiche and egg pie.  
You'll swear your scripts run faster. :-)


Cheers
Dave


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-20 Thread Richard Miller

Two questions about both of these cgi hosting options:

1. how do you generate an email from these accounts? With libsmtp253  
or something else?


2. can you use the put x into ftp:url z syntax or some other  
language to place data from the cgi-bin into a remote location on  
another server?


Thanks.
Richard Miller



On Feb 20, 2008, at 12:52 AM, Mark Talluto wrote:



On Feb 19, 2008, at 7:16 PM, Richard Gaskin wrote:

You and others here got me to take a look at DreamHost, and I've  
been very happy with them over the last year since I signed on.


I have both a Dreamhost and JaguarPC account.  I am about to close  
out our JaguarPC accounts as their ftp upload max speed is around  
125KB/sec.  I can saturate my pipe at 2 MB/Sec with DreamHost.   
Gotta love FIOS!



Mark Talluto
--
CANELA Software
http://www.canelasoftware.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-20 Thread Mark Schonewille

Hi Richard,

The easiest way to send mail is probably http://article.gmane.org/ 
gmane.comp.ide.revolution.user/106139/match=mail+cgi


It may depend on server configuration, but it should be possible to  
do FTP transfers from one web server to another, provided that the  
FTP library is uncluded. As a test, I wrote a CGI script that opened  
a socket on my computer at home. This worked fine.


Best regards,

Mark Schonewille

--

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Convert colours between different colour spaces with Color Converter.  
Download at http://economy-x-talk.com/cc.html




Op 20-feb-2008, om 12:36 heeft Richard Miller het volgende geschreven:


Two questions about both of these cgi hosting options:

1. how do you generate an email from these accounts? With  
libsmtp253 or something else?


2. can you use the put x into ftp:url z syntax or some other  
language to place data from the cgi-bin into a remote location on  
another server?


Thanks.
Richard Miller


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-20 Thread viktoras didziulis
possibility of the direct access to revolution engine (or any other file 
in cgi-bin) can be completely eliminated by putting .htaccess file with 
the following content into the cgi-bin directory:


RewriteEngine on
RewriteRule ^(.*)(rev|revolution)(.*) http://localhost/cgi-bin/ [nc]

Now everyone trying to invoke rev or revolution from the outside world 
will be redirected to his own localhost.


best wishes!
Viktoras

Dave Cragg wrote:


On 20 Feb 2008, at 01:54, J. Landman Gay wrote:



I think we can relax as long as we don't script anything stupid. Here 
are a couple of quotes from Scott Raney about it:


Hi Jacque

It wasn't the script content I was concerned about. Scripting problems 
exist wherever the engine is.


My concern was that if the engine is in the cgi-bin folder, you can 
attempt to call the engine directly. For example, if the engine is 
named rev, then what happens when you request the url 
http://some.server.com/cgi-bin/rev;


Will Apache try to start the engine? My understanding of Apache and 
the cgi-bin folder suggests that it will. (But am not certain.) 
Normally, I think nothing will happen and the engine will immediately 
close. But if it were possible to coerce Apache to send parameters 
when opening the engine, the risks seem higher. In the case of the 
Windows Perl executable, I think Apache sent any query string attached 
to the url as a parameter. In some circumstances (forget details) the 
Perl executable will attempt to execute scripts passed as parameters. 
It was possible to craft a query string that would cause Perls to 
execute scripts.


As I said, I'm reasonably confident this can't be done with Rev. (But 
it will accept parameters.) But it's usually not a problem to put the 
engine somewhere outside of the cgi-bin folder and adjust the top line 
of the script accordingly.


The other advantage is that starting a script with 
#!usr/bin/revbin/rev or #!../rev makes you look more knowledgeable 
than simply using #!rev   It's like the subtle difference between 
quiche and egg pie. You'll swear your scripts run faster. :-)


Cheers
Dave


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-20 Thread J. Landman Gay

Dave Cragg wrote:

My concern was that if the engine is in the cgi-bin folder, you can 
attempt to call the engine directly. For example, if the engine is named 
rev, then what happens when you request the url 
http://some.server.com/cgi-bin/rev;


I get an internal server error and nothing happens.



Will Apache try to start the engine?


Doesn't look like it, or if it does, it won't work. I think that's what 
Scott Raney was saying. The only vulnerabilities the engine allows are 
the ones you write into your scripts yourself.


My understanding of Apache and the 
cgi-bin folder suggests that it will. (But am not certain.) Normally, I 
think nothing will happen and the engine will immediately close. But if 
it were possible to coerce Apache to send parameters when opening the 
engine, the risks seem higher.


I'm not sure how to pass parameters like that. If someone knows, I'd 
like to test it.


As I said, I'm reasonably confident this can't be done with Rev. (But it 
will accept parameters.) But it's usually not a problem to put the 
engine somewhere outside of the cgi-bin folder and adjust the top line 
of the script accordingly.


The other advantage is that starting a script with #!usr/bin/revbin/rev 
or #!../rev makes you look more knowledgeable than simply using #!rev   
It's like the subtle difference between quiche and egg pie. You'll swear 
your scripts run faster. :-)


I can't argue with that. :)

BTW, even though I said I just name my cgi engine rev, I lied. I 
didn't. I named it something unguessable, just to be safe. So you and I 
aren't so different after all.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-20 Thread Richard Miller

Hi Mark,

Maybe I'm missing something, but it seems that cgiemail is designed  
to work when generated from an html input form. What I need to do is  
send an email directly to a recipient right from my Rev cgi program  
(where the email address is coming out of a database...not from a  
form). Can cgiemail do that?


Thanks.
Richard


On Feb 20, 2008, at 6:44 AM, Mark Schonewille wrote:


Hi Richard,

The easiest way to send mail is probably http://article.gmane.org/ 
gmane.comp.ide.revolution.user/106139/match=mail+cgi


It may depend on server configuration, but it should be possible to  
do FTP transfers from one web server to another, provided that the  
FTP library is uncluded. As a test, I wrote a CGI script that  
opened a socket on my computer at home. This worked fine.


Best regards,

Mark Schonewille

--

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Convert colours between different colour spaces with Color  
Converter. Download at http://economy-x-talk.com/cc.html




Op 20-feb-2008, om 12:36 heeft Richard Miller het volgende geschreven:


Two questions about both of these cgi hosting options:

1. how do you generate an email from these accounts? With  
libsmtp253 or something else?


2. can you use the put x into ftp:url z syntax or some other  
language to place data from the cgi-bin into a remote location on  
another server?


Thanks.
Richard Miller


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-20 Thread Andre Garzia
Richard,

you can use RocketsSendmail library from the RevOnRockets package to
send email, you'll probably need to change the path to the sendmail
application in there, but after that you should be able to send emails
in one line of code.

Andre

On 2/20/08, Richard Miller [EMAIL PROTECTED] wrote:
 Two questions about both of these cgi hosting options:

  1. how do you generate an email from these accounts? With libsmtp253
  or something else?

  2. can you use the put x into ftp:url z syntax or some other
  language to place data from the cgi-bin into a remote location on
  another server?

  Thanks.

 Richard Miller




  On Feb 20, 2008, at 12:52 AM, Mark Talluto wrote:

  
   On Feb 19, 2008, at 7:16 PM, Richard Gaskin wrote:
  
   You and others here got me to take a look at DreamHost, and I've
   been very happy with them over the last year since I signed on.
  
   I have both a Dreamhost and JaguarPC account.  I am about to close
   out our JaguarPC accounts as their ftp upload max speed is around
   125KB/sec.  I can saturate my pipe at 2 MB/Sec with DreamHost.
   Gotta love FIOS!
  
  
   Mark Talluto
   --
   CANELA Software
   http://www.canelasoftware.com
  
   ___
   use-revolution mailing list
   use-revolution@lists.runrev.com
   Please visit this url to subscribe, unsubscribe and manage your
   subscription preferences:
   http://lists.runrev.com/mailman/listinfo/use-revolution

  ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution



-- 
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-19 Thread Dave Cragg


On 19 Feb 2008, at 02:15, Chipp Walters wrote:

So,
exactly which version of the Rev engine do I install? I suppose  
it's a Linux

one, and I suppose I put it in the cgi-bin folder.


I may just be nervous by nature, but I never put the engine in the  
cgi-bin folder. By my understanding, the http server will try to  
execute anything in the cgi-bin folder that has execute permissions  
set. My worry is whether the server can be coerced into passing  
parameters when it tries to run the engine. (There was a security  
problem in the past with the Perl executable on Windows due to this.)  
While I'm fairly confident Rev is immune from this, why take the risk?


I stick it somewhere like /usr/bin/revbin, and so the top of my  
scripts look like this:


#!/usr/bin/revbin/rev

Cheers
Dave
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-19 Thread Andre Garzia
Dave,

I am doing something similar. I put everything on /opt/web/bin...
safer and easier to maintain.

Andre

On 2/19/08, Dave Cragg [EMAIL PROTECTED] wrote:

 On 19 Feb 2008, at 02:15, Chipp Walters wrote:
  So,
  exactly which version of the Rev engine do I install? I suppose
  it's a Linux
  one, and I suppose I put it in the cgi-bin folder.

 I may just be nervous by nature, but I never put the engine in the
 cgi-bin folder. By my understanding, the http server will try to
 execute anything in the cgi-bin folder that has execute permissions
 set. My worry is whether the server can be coerced into passing
 parameters when it tries to run the engine. (There was a security
 problem in the past with the Perl executable on Windows due to this.)
 While I'm fairly confident Rev is immune from this, why take the risk?

 I stick it somewhere like /usr/bin/revbin, and so the top of my
 scripts look like this:

 #!/usr/bin/revbin/rev

 Cheers
 Dave
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution



-- 
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-19 Thread J. Landman Gay

Dave Cragg wrote:

I may just be nervous by nature, but I never put the engine in the 
cgi-bin folder. By my understanding, the http server will try to execute 
anything in the cgi-bin folder that has execute permissions set. My 
worry is whether the server can be coerced into passing parameters when 
it tries to run the engine. (There was a security problem in the past 
with the Perl executable on Windows due to this.) While I'm fairly 
confident Rev is immune from this, why take the risk?


I think we can relax as long as we don't script anything stupid. Here 
are a couple of quotes from Scott Raney about it:



With MetaCard your primary (and probably exclusive) risk would be in
executing commands or evaluating expressions that come from untrusted
sources.  Any use of the do and send commands or the value
function should be very diligently evaluated to make sure that there
is no possibility of this occuring.  Of course, you also have to be
careful about where you write files, but it's a relatively simple
matter to check a path for validity (e.g., don't allow a leading 
/, or the .., :, or ~ characters anywhere in a path).


Which he follows with:


I certainly wouldn't rule out building or using MetaCard server
software, even for protocols for which well-known (if buggy) open
source software is widely available.  While I don't see any big
advantage to writing an FTP server in MetaCard, an HTTP server that
executes CGI scripts is a different matter entirely and an area where
a MetaCard server could be safer and feature-competitive with any of
the alternatives.


snip


I've got a soap box here too, and in *my* opinion, the ubiquity of
buffer-overrun bugs in open source software rises to the level of
criminal negligence.  There is just no excuse for this kind of sloppy
programming, yet not a week goes by that yet another example of this
kind of thing isn't found in one of the commonly used open-source
packages.  I wouldn't blindly trust Microsoft software either, but at
least the majority of the security holes in their products were put
there deliberately to improve the usability of the products rather
than as the result of poor security hygiene on the part of the
developer.

My advice is to not be afraid of this stuff.  Sure, you have to be
careful, but you can hardly do any worse a job than those hacks who
are writing the software that runs the Internet ;-)


I miss that guy.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-19 Thread Andre Garzia
Where is he now? I never had a chance to talk to him.

:D
andre

On 2/19/08, J. Landman Gay [EMAIL PROTECTED] wrote:
 Dave Cragg wrote:

  I may just be nervous by nature, but I never put the engine in the
  cgi-bin folder. By my understanding, the http server will try to execute
  anything in the cgi-bin folder that has execute permissions set. My
  worry is whether the server can be coerced into passing parameters when
  it tries to run the engine. (There was a security problem in the past
  with the Perl executable on Windows due to this.) While I'm fairly
  confident Rev is immune from this, why take the risk?

 I think we can relax as long as we don't script anything stupid. Here
 are a couple of quotes from Scott Raney about it:

  With MetaCard your primary (and probably exclusive) risk would be in
  executing commands or evaluating expressions that come from untrusted
  sources.  Any use of the do and send commands or the value
  function should be very diligently evaluated to make sure that there
  is no possibility of this occuring.  Of course, you also have to be
  careful about where you write files, but it's a relatively simple
  matter to check a path for validity (e.g., don't allow a leading
  /, or the .., :, or ~ characters anywhere in a path).

 Which he follows with:

  I certainly wouldn't rule out building or using MetaCard server
  software, even for protocols for which well-known (if buggy) open
  source software is widely available.  While I don't see any big
  advantage to writing an FTP server in MetaCard, an HTTP server that
  executes CGI scripts is a different matter entirely and an area where
  a MetaCard server could be safer and feature-competitive with any of
  the alternatives.
 
 snip
 
  I've got a soap box here too, and in *my* opinion, the ubiquity of
  buffer-overrun bugs in open source software rises to the level of
  criminal negligence.  There is just no excuse for this kind of sloppy
  programming, yet not a week goes by that yet another example of this
  kind of thing isn't found in one of the commonly used open-source
  packages.  I wouldn't blindly trust Microsoft software either, but at
  least the majority of the security holes in their products were put
  there deliberately to improve the usability of the products rather
  than as the result of poor security hygiene on the part of the
  developer.
 
  My advice is to not be afraid of this stuff.  Sure, you have to be
  careful, but you can hardly do any worse a job than those hacks who
  are writing the software that runs the Internet ;-)

 I miss that guy.

 --
 Jacqueline Landman Gay | [EMAIL PROTECTED]
 HyperActive Software   | http://www.hyperactivesw.com
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution



-- 
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-19 Thread Richard Gaskin

Chipp Walters wrote:

Well, I've decided to try out JaguarPC and the least expensive option.


Is it?

You and others here got me to take a look at DreamHost, and I've been 
very happy with them over the last year since I signed on.


Here's the quick overview fromm what I can tell at each site:


JaguarPC
17 GB web space
210 GB transfer/month
Unlimited domains
Bunch of free goodies (SQL, Ruby on Rails, forums, blogs, scripts...)

$7.95/month (2-year prepay; options range up to $11.97)

http://www.jaguarpc.com/



Dreamhost
500 GB web space (with 2GB added each week)
5,000 GB transfer/month (with 40GB added each week)
Unlimited domains
Bunch of free goodies (SQL, Ruby on Rails, forums, blogs, scripts...)

$5.95/month (10-year prepay; other options range up to $9.95; I prepaid 
for just two years and paid $7.95/mo)


http://www.dreamhost.com/



Did I miss some of the fine print somewhere?

--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-19 Thread Chipp Walters
Hi Richard,

What I intended to say was:

I've decided to try JaguarPC. I've chosen the least expensive plan they
have.
A previous email from Andre was mentioning a number of the different
opitons, and I was just saying which plan I signed up for.

Sorry for the confusion,
Chipp
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-19 Thread Mark Talluto


On Feb 19, 2008, at 7:16 PM, Richard Gaskin wrote:

You and others here got me to take a look at DreamHost, and I've  
been very happy with them over the last year since I signed on.


I have both a Dreamhost and JaguarPC account.  I am about to close out  
our JaguarPC accounts as their ftp upload max speed is around 125KB/ 
sec.  I can saturate my pipe at 2 MB/Sec with DreamHost.  Gotta love  
FIOS!



Mark Talluto
--
CANELA Software
http://www.canelasoftware.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-19 Thread J. Landman Gay

Andre Garzia wrote:

Where is he now? I never had a chance to talk to him.


You would have liked each other, I think. I don't know where Mr. Raney 
is now. Last I heard he was sailing the Caribbean.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-18 Thread Andre Garzia
Chipp,

I am also on JaguarPC, I have a host of Revolution Apps running there.
I can help you setup your environment in case you need.

It's pretty straight forward, the 2.9-dp-3 is running out of the box in there.

cheers
Andre

On 2/18/08, Chipp Walters [EMAIL PROTECTED] wrote:
 Hi Jacque,

 I'm looking at playing around some with RevCGI and saw where you suggested
 JagPC a couple of years ago. Do you still recommend them?

 Anyone else have any good recommendations and instruction setup tips? TIA,
 Chipp
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution



-- 
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-18 Thread Chipp Walters
Andre,

So what do I do? Just go to their website, buy an account...then what? Sorry
to act so stupid.

-C

On Feb 18, 2008 4:44 PM, Andre Garzia [EMAIL PROTECTED] wrote:

 Chipp,

 I am also on JaguarPC, I have a host of Revolution Apps running there.
 I can help you setup your environment in case you need.

 It's pretty straight forward, the 2.9-dp-3 is running out of the box in
 there.

 cheers
 Andre

 On 2/18/08, Chipp Walters [EMAIL PROTECTED] wrote:
  Hi Jacque,
 
  I'm looking at playing around some with RevCGI and saw where you
 suggested
  JagPC a couple of years ago. Do you still recommend them?
 
  Anyone else have any good recommendations and instruction setup tips?
 TIA,
  Chipp
  ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution
 


 --
 http://www.andregarzia.com All We Do Is Code.
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-18 Thread Andre Garzia
Chipp,

they have many hosting plans with different abilities, I've migrated
three times, going to higher level plans everytime since they offer
some nice discounts for upgrading.

The first thing is to decide if you simply want a hosting account or a
full blown virtual private server. Both are cheap, I have a VPS.

The vps plans are here: http://www.jaguarpc.com/vps-hosting/
The hosting plans are here: http://www.jaguarpc.com/shared-hosting/

I'd avise to go with a VPS, they are more powerful and you have access
to a full blown linux environment where you can install anything.

One good thing is to keep an eye at their discount forum where they
give time limited discount cupons, with one of those you ca have 50%
more diskspace and other benefits for free.

the discount thread is here
http://www.jaguarpc.com/forums/forumdisplay.php?f=100

So what you do is register for an account, they after some time, they
send you an email with all the login info. You can access your files
by FTP and you have SSH enabled so you can drop to the terminal to do
hands on setup if you want.

I've devised a nice way to setup Revolution for multiple hosts on the
same linux which might be nice to use. I've been using it in many
projects, it's easier since a central revolution repository is able to
work for many virtual domains, this way, it's easier to maintain the
server.

Right now I have a Freedon VPS plan with some benefits such as 50%
more disk and RAM and some reseller softwares that enable me to resell
accounts on my box. I am not in the business of reselling yet but I
use this features to create accounts for my clients.

JaguarPC support works very well and I never stood more than some
hours without an answer and a solution. Their ticket system works very
well.

If you have any doubts you can just drop an email :-D

Cheers
andre


On 2/18/08, Chipp Walters [EMAIL PROTECTED] wrote:
 Andre,

 So what do I do? Just go to their website, buy an account...then what? Sorry
 to act so stupid.

 -C

 On Feb 18, 2008 4:44 PM, Andre Garzia [EMAIL PROTECTED] wrote:

  Chipp,
 
  I am also on JaguarPC, I have a host of Revolution Apps running there.
  I can help you setup your environment in case you need.
 
  It's pretty straight forward, the 2.9-dp-3 is running out of the box in
  there.
 
  cheers
  Andre
 
  On 2/18/08, Chipp Walters [EMAIL PROTECTED] wrote:
   Hi Jacque,
  
   I'm looking at playing around some with RevCGI and saw where you
  suggested
   JagPC a couple of years ago. Do you still recommend them?
  
   Anyone else have any good recommendations and instruction setup tips?
  TIA,
   Chipp
   ___
   use-revolution mailing list
   use-revolution@lists.runrev.com
   Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
   http://lists.runrev.com/mailman/listinfo/use-revolution
  
 
 
  --
  http://www.andregarzia.com All We Do Is Code.
  ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution



-- 
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-18 Thread J. Landman Gay

Chipp Walters wrote:
 Hi Jacque,

 I'm looking at playing around some with RevCGI and saw where you 
suggested

 JagPC a couple of years ago. Do you still recommend them?

I still use them and I still recommend them. Andre has answered most of 
your questions, but I'll just add that I am on their basic, $10/month 
plan and even with that I can do most of what Andre is doing. I don't 
install my own Linux components but Jag is flexible enough that if you 
want something that won't disrupt their servers, they'll install just 
about anything for you. (You have your own cgi folder and they don't 
care what you put in there. I have several Rev CGIs running.) The basic 
plan offers plenty of diskspace for my needs; I haven't used a fraction 
of the diskspace or bandwidth that comes with the package. I believe all 
accounts have reseller priveleges, I think that comes with any package, 
though I don't use it.


And yes, you just sign up and you're in. It's all automated so it 
doesn't take any time. And as Andre pointed out, their tech support is 
very good.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-18 Thread Hershel Fisch
On 2/18/08 5:41 PM, Chipp Walters [EMAIL PROTECTED] wrote:
Hi this is what i use (unfortunately I'm stuck without being able to use db
do to lack of knowledge)
http://www.3ix.org/index.php
Check it out 
http://www.syp2u4c.com/indecs.html
Just hit the log in icon

Works well and its cheap
hershel
 Hi Jacque,
 
 I'm looking at playing around some with RevCGI and saw where you suggested
 JagPC a couple of years ago. Do you still recommend them?
 
 Anyone else have any good recommendations and instruction setup tips? TIA,
 Chipp
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-18 Thread Nicolas Cueto
The Rev archives had a thread on this topic
a while back, and Dreamhost.com was another
host that got favorable reviews.

In my own case, this word-of-mouth, their rates,
and the existence of archived messages specific to
setting up CGI + Dreamhost were what
convinced me.  And, yes, it wasn't that painful
to set up, except for MySQL, but, even that's
working fine now (except for Japanese text!),
thanks to the archives and particularly fellow
Rev/Dreamhost user Bridger M.

--
Nicolas Cueto
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-18 Thread Chipp Walters
Well, I've decided to try out JaguarPC and the least expensive option. So,
exactly which version of the Rev engine do I install? I suppose it's a Linux
one, and I suppose I put it in the cgi-bin folder. The latest one available
from the RunRev site is 2-6.1, so do I just put the revolution.x86 file
there? And what about licensing-- do I have to worry about that? Also, do I
include all the .dlls like ssleay.dll or libeay32.dll?

I can't find any of this in any of the tutorials. TIA, Chipp
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-18 Thread Chipp Walters
And some other questions...do I rename revolution.x86 to
revolution.cgi? And if I try Jacque's helloworld script:



 #!revolution

 on startup
 put Content-Type: text/plain  cr  cr
 put Hello World!
 end startup

and I name it hello.cgi how does it know to run with the
revolution.cgi? So may questions...
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-18 Thread Nicolas Cueto
I uploaded the engine and, for mysql work, the file dbmysql.so
both to my cgi-bin folder, and set their permissions (CHMOD)
to 755. Any scripts I make are also in that same cgi-bin folder
and also set to 755, plus I make sure the name and case of
the rev engine matches the name and case in the first line of
a cgi script.

 And what about licensing-- do I have to worry about that?

I don't know for sure but, RunRev is royalty-free for standalones
so it seems safe to assume that licensing of the engine for cgi
work too is royalty-free.

By the way, besides the tutorials the archives too are a
great help. To search them, I use google thus:

http://www.google.com/advanced_search?q=site:lists.runrev.com

Cheers,
Nicolas Cueto
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-18 Thread Chipp Walters
Thanks Nicolas,

Yep, I see where the engine needs to be named revolution (no
extension) and that the first line in the cgi script will call it. I'm
using the Linux version of revolution on the server but I can't seem
to get it to work. I wonder if there's some other setup which must be
done.

-Chipp

PS, yes I know about Gmane and Google:
http://www.altuit.com/webs/altuit2/RunRev/Search.htm
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-18 Thread Nicolas Cueto
I'm  using the Linux version of revolution on the server but I can't seem
 to get it to work. I wonder if there's some other setup which must be
 done.

Beside setting permissions, one other thing to beware of is the format
you used for uploading the engine to cgi-bin. Maybe someone else can
explain the correct format for ftp'ing files, but I seem to recall it
was binary.

Of course, the problem may be with the webhost itself. That's why I
switched webhosts, when my rev-cgi stuff that used to work suddenly
stopped. But, other Rev users here have posted that Jaguar PC works
for them, so probably it should work for you too -- though, I've read
that even within the same hosting company, the configuration of their
individual servers can vary, and thus, what works for one Jaguar PC
Revolutionary might not work for another Jaguar PC Revolutionary
because they are on the different physical server machines.

--
Nicolas Cueto
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-18 Thread J. Landman Gay

Chipp Walters wrote:

And some other questions...do I rename revolution.x86 to
revolution.cgi?


You can rename it to anything -- or not rename it at all -- but I'd 
avoid any extensions. The main thing is that the top line of your script 
exactly matches the name of the engine in the cgi folder. Since 
revolution.x86 is pretty long to type, I usually rename it rev and 
leave it at that. Then all my scripts start with #!rev.



And if I try Jacque's helloworld script:

 #!revolution

 on startup
 put Content-Type: text/plain  cr  cr
 put Hello World!
 end startup

and I name it hello.cgi how does it know to run with the
revolution.cgi? So may questions...


If your engine is named revolution.cgi and the top of your script 
calls revolution, the Rev engine won't be found. The server knows what 
app to run by reading the top line of the script and looking for a file 
with the same name in the CGI folder.


Also, don't forget permissions. Your sever error log will tell you if 
that's a problem. You can access and read your server logs at JaguarPC 
from within your control panel.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-18 Thread J. Landman Gay

Nicolas Cueto wrote:


A couple of other newbie things to watch out for and
which I still overlook:  be sure to set the permissions (chmod)
of revolution and your scripts to 755; and, type your scripts
in a no-frills text editor, or else you'll have invisible end-of-line
characters mysteriously gumming up your scripts.


Good point. When running on a Linux box, all line endings in scripts 
should be unix line endings (LF). No Windows LFCR.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-18 Thread Chipp Walters
Thanks Jacque and Nicolas and Andre,

Finally got it working. Turns out, even though the permissions showed
777, they were not. I had to set them a different way than
right-clicking on them. After that, it worked fine.

Thanks a bunch for all your helpnow off to create some CGI's :-)

Couple of notes to others trying this same thing:

1) As Jacque correctly mentions above, the name of the rev execuable
needs to be the same as the first line in the script...wasn't clear to
me. So, the first line invokes the engine...plus...it has to be the #1
line, not number 2 or number 3...(which it was for me as I had simply
copied and pasted Jacque's script...indents and all.)

2) The licensing issue for now is not one. I seem to remember an issue
sometime before...perhaps it was with distributing the engine...?

3) Make sure you upload the correct engine for the correct server.

4) Never could get Andre's stack CGI-Tool to work. It finally made a
connection, but that was it. I would suggest he consider adding a
test connection button like I have in MagicCarpet which can help
debug connection issues.

Thanks again,
Chipp
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-18 Thread Nicolas Cueto
 And some other questions...do I rename revolution.x86 to
 revolution.cgi?

Not revolution.cgi. Just, revolution. Because that's
what the first line of your helloworld script calls it.


 how does it know to run with the
 revolution.cgi?

The way I understand this mystery is that the first line
of your script tells your webhost's server what cgi engine
it is intended for.

A couple of other newbie things to watch out for and
which I still overlook:  be sure to set the permissions (chmod)
of revolution and your scripts to 755; and, type your scripts
in a no-frills text editor, or else you'll have invisible end-of-line
characters mysteriously gumming up your scripts.

Cheers,
Nicolas Cueto
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-18 Thread J. Landman Gay

Chipp Walters wrote:

Well, I've decided to try out JaguarPC and the least expensive option. So,
exactly which version of the Rev engine do I install? I suppose it's a Linux
one, and I suppose I put it in the cgi-bin folder. The latest one available
from the RunRev site is 2-6.1, so do I just put the revolution.x86 file
there?


Yes.


And what about licensing-- do I have to worry about that?


No.



Also, do I
include all the .dlls like ssleay.dll or libeay32.dll?


No, you don't need anything but the engine.



I can't find any of this in any of the tutorials.


http://www.hyperactivesw.com/cgitutorial/intro.html#Installing

make a copy of your Revolution application and place it in the cgi 
folder on your server. If you are running Apache, this is most likely a 
folder called cgi or cgi-bin located in your main web directory. You 
do not need to install any additional stacks — only the Revolution 
executable is required.


;)


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-18 Thread Jerry Daniels

Chipp,

Andre recommended them to us and we have switched. I like them a  
bunch. We host all of our GLX2 update files on there and run our Rev  
CGI's there as well.


Best,

Jerry Daniels

Daniels  Mara, Inc.
Makers of GLX2
http://www.daniels-mara.com/glx2




On Feb 18, 2008, at 6:56 PM, J. Landman Gay wrote:


Chipp Walters wrote:
 Hi Jacque,

 I'm looking at playing around some with RevCGI and saw where you  
suggested

 JagPC a couple of years ago. Do you still recommend them?

I still use them and I still recommend them. Andre has answered most  
of your questions, but I'll just add that I am on their basic, $10/ 
month plan and even with that I can do most of what Andre is doing.  
I don't install my own Linux components but Jag is flexible enough  
that if you want something that won't disrupt their servers, they'll  
install just about anything for you. (You have your own cgi folder  
and they don't care what you put in there. I have several Rev CGIs  
running.) The basic plan offers plenty of diskspace for my needs; I  
haven't used a fraction of the diskspace or bandwidth that comes  
with the package. I believe all accounts have reseller priveleges, I  
think that comes with any package, though I don't use it.


And yes, you just sign up and you're in. It's all automated so it  
doesn't take any time. And as Andre pointed out, their tech support  
is very good.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RevCGI Hosts?

2008-02-18 Thread Alex Shaw

Hi Chipp

Just had success using the 2.9.0-dp4 linux engine on my current webhost 
(www.asmallorange.com), who I have been using for a few years now. 
Previously only the 2.6 engine would work.


The main file didn't work so I had to use the Standalone file from the 
Runtime/Linux/x86-32 folder.


regards
alex

Chipp Walters wrote:

Hi Jacque,

I'm looking at playing around some with RevCGI and saw where you suggested
JagPC a couple of years ago. Do you still recommend them?

Anyone else have any good recommendations and instruction setup tips? TIA,
Chipp

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution