Re: More questions about mchttpd server

1999-11-27 Thread Pierre Sahores
HI David, > I've looked at the site, perhaps you could mail me the mc/hypercard stack > that you used. It's not so simple... As you could see, the "Cyberboutique" is a commercial service with an official copyright, home-made XCMD and so on. Even if i am the inhouse developper of CRDP de Créteil,

Re: More questions about mchttpd server

1999-11-25 Thread Pierre Sahores
David Bovill wrote: > > Thank you very much for your post. It would be great to co-operate on the > server/cgi port. We have a number of Power Macs running Webstar, and as you > know I'm setting up a Linux/Apache or mchttpd/CGI environment as well. So > I'm looking at a solution which would work

Re: More questions about mchttpd server

1999-11-25 Thread Scott Raney
On Thu, 25 Nov 1999, David Bovill wrote: > > Can you write CGIs on Mac with Perl? > > Course you can -:) Figured. What does the API look like? That is, how do you get the AppleEvent, and then how do you get various chunks out of it? > ... > > >> This true for global variables? > > > > Nope

Re: More questions about mchttpd server

1999-11-25 Thread David Bovill
>> servers): >> >> if $USER_AGENT contains "MSIE" then >> doSomething >> else >> dosomethingelse >> end if > > From: Scott Raney <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Wed, 24 Nov 1999 13:22:54 -0700 (MST) > T

Re: More questions about mchttpd server

1999-11-24 Thread Pierre Sahores
Scott Raney wrote: > > On Wed, 24 Nov 1999, David Bovill wrote: > > > Thanks, I think that's what I figured. I was wandering how to keep the > > "compatibility" with ".mt", perl and other cgi's (not really apple events). > > The question is more, how do I program a CGI which can easily be ported

Re: More questions about mchttpd server

1999-11-24 Thread Scott Raney
On Wed, 24 Nov 1999, David Bovill wrote: > > This is a pretty important design decision and so I think we should > > consider it carefully. While it's true that using environment > > variables would make it easy to replace a built-in handler with an > > external CGI program on UNIX, there are pr

Re: More questions about mchttpd server

1999-11-24 Thread David Bovill
Getting into some meat here. Thanks, it is really helpful. > From: Scott Raney <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Wed, 24 Nov 1999 10:34:23 -0700 (MST) > To: [EMAIL PROTECTED] > Subject: Re: More questions about mchttpd server > > On Wed, 24 N

Re: More questions about mchttpd server

1999-11-24 Thread Scott Raney
din into $CONTENT_LEGNTH This would work fine on UNIX systems (except you'd have to spell it right ;-) > > From: Andu <[EMAIL PROTECTED]> > > Reply-To: [EMAIL PROTECTED] > > Date: Tue, 23 Nov 1999 19:55:13 -0500 > > To: [EMAIL PROTECTED] > > Subjec

Re: More questions about mchttpd server

1999-11-24 Thread David Bovill
> From: Andu <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Tue, 23 Nov 1999 20:11:19 -0500 > To: [EMAIL PROTECTED] > Subject: Re: More questions about mchttpd server > > >> >> Isn't that just how WEBSTART ET AL DO IT. The information

Re: More questions about mchttpd server - port numbers

1999-11-23 Thread Phil Davis
Hi all, Andu wrote: > > >OK, so I downloaded it, got it started (looks like it requires MC 2.3; > >fine). But now I don't really understand how to use it. Scott said I had to > >change the port from 8080 if I already have another server running. How can > >I find out what another valid port numb

Re: More questions about mchttpd server

1999-11-23 Thread Andu
> >Isn't that just how WEBSTART ET AL DO IT. The information must be coming >from the browser into the server socket, no? If so, then mchttpd does not >have to use applevents surely? On the mac cgis usually work this way: the sever gets the request and forms data from the client and all it does

Re: More questions about mchttpd server

1999-11-23 Thread Andu
>Does this go for things like REQUEST_METHOD, or QUERY_STRING, or >HTTP_USER_AGENT, which would seem to only make sense when set by the server? > These are not exactly environment variables. Regards, Andu

Re: More questions about mchttpd server

1999-11-23 Thread Scott Raney
On Tue, 23 Nov 1999, David Bovill wrote: > > But you can also set them yourself (for example for a CGI) by just > > putting the value into variables named $whatever prior to starting up > > the CGI process. Note that this doesn't apply to MacOS which has no > > concept of environment variables (

Re: More questions about mchttpd server

1999-11-23 Thread David Bovill
mchttpd server on Mac... > From: Scott Raney <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Tue, 23 Nov 1999 12:00:56 -0700 (MST) > To: [EMAIL PROTECTED] > Subject: Re: More questions about mchttpd server > > On Tue, 23 Nov 1999, Andu wrote: > >&g

Re: More questions about mchttpd server

1999-11-23 Thread Scott Raney
On Tue, 23 Nov 1999, Andu wrote: > >Andu, I've started scripting the server by hacking into the code. I'm > >developing it on a predominantly Mac based TCP/IP network, though I have a > >Linux box sitting next to me (and a manual at last). > > > >I've scripted a kind of data-flow "debugger" into

Re: More questions about mchttpd server

1999-11-23 Thread David Bovill
gt; Subject: Re: More questions about mchttpd server > >> Andu, I've started scripting the server by hacking into the code. I'm >> developing it on a predominantly Mac based TCP/IP network, though I have a >> Linux box sitting next to me (and a manual at last). >> &

RE: More questions about mchttpd server

1999-11-23 Thread Marni Centor
> -Original Message- > From: Andu [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 23, 1999 12:07 PM > To: [EMAIL PROTECTED] > Subject: RE: More questions about mchttpd server > > > >I think I must be doing something fundamentally wrong here. > > Y

Re: More questions about mchttpd server

1999-11-23 Thread Andu
>Andu, I've started scripting the server by hacking into the code. I'm >developing it on a predominantly Mac based TCP/IP network, though I have a >Linux box sitting next to me (and a manual at last). > >I've scripted a kind of data-flow "debugger" into it, to teach the >"students' what I've been

Re: More questions about mchttpd server

1999-11-23 Thread David Bovill
AIL PROTECTED] > Date: Tue, 23 Nov 1999 12:07:10 -0500 > To: [EMAIL PROTECTED] > Subject: RE: More questions about mchttpd server > >> I think I must be doing something fundamentally wrong here. > > You are indeed: echo.mt only works on UNIX type OSes. > As I said before

RE: More questions about mchttpd server

1999-11-23 Thread Andu
>I think I must be doing something fundamentally wrong here. You are indeed: echo.mt only works on UNIX type OSes. As I said before the ability of the server to process plain MC scripts is in the works. > Perhaps if I >describe exactly what I've done, someone could point out my error(s) or >omis

RE: More questions about mchttpd server

1999-11-23 Thread Marni Centor
as? I'd really appreciate any help that anyone can provide. Thanks, Marni -- Marni Centor Summit Systems 22 Cortlandt St. New York, NY 10007 (212) 896-3466 > -Original Message----- > From: Scott Raney [mailto:[EMAIL PROTECTED]] > Sent: Monday, November 22, 1999 7:54 PM > T

Re: More questions about mchttpd server

1999-11-22 Thread Scott Raney
On Mon, 22 Nov 1999, Andu wrote: > >OK, so I downloaded it, got it started (looks like it requires MC 2.3; > >fine). But now I don't really understand how to use it. Scott said I had to > >change the port from 8080 if I already have another server running. How can > >I find out what another valid

Re: More questions about mchttpd server

1999-11-22 Thread Andu
>OK, so I downloaded it, got it started (looks like it requires MC 2.3; >fine). But now I don't really understand how to use it. Scott said I had to >change the port from 8080 if I already have another server running. How can >I find out what another valid port number is? You can use any port num

Re: More questions about mchttpd server

1999-11-22 Thread Andu
>OK, so I downloaded it, got it started (looks like it requires MC 2.3; >fine). But now I don't really understand how to use it. Scott said I had to >change the port from 8080 if I already have another server running. How can >I find out what another valid port number is? Also, what's supposed to