caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Apache 2 and mod_ocaml
@ 2004-12-15 20:19 Joe Polanik
  2004-12-15 20:57 ` [Caml-list] " Christophe TROESTLER
  2004-12-15 21:17 ` Richard Jones
  0 siblings, 2 replies; 12+ messages in thread
From: Joe Polanik @ 2004-12-15 20:19 UTC (permalink / raw)
  To: caml-list

Is there a version of mod_ocaml for Apache 2? If so, where might this be 
found?

Thanks,

Joe


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Caml-list] Apache 2 and mod_ocaml
  2004-12-15 20:19 Apache 2 and mod_ocaml Joe Polanik
@ 2004-12-15 20:57 ` Christophe TROESTLER
  2004-12-15 21:17 ` Richard Jones
  1 sibling, 0 replies; 12+ messages in thread
From: Christophe TROESTLER @ 2004-12-15 20:57 UTC (permalink / raw)
  To: jPolanik; +Cc: caml-list

On Wed, 15 Dec 2004, Joe Polanik <jPolanik@cds.duke.edu> wrote:
> 
> Is there a version of mod_ocaml for Apache 2? If so, where might this be 
> found?

http://merjis.com/developers/mod_caml/#What_is_mod_caml_


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Caml-list] Apache 2 and mod_ocaml
  2004-12-15 20:19 Apache 2 and mod_ocaml Joe Polanik
  2004-12-15 20:57 ` [Caml-list] " Christophe TROESTLER
@ 2004-12-15 21:17 ` Richard Jones
  2004-12-16  8:24   ` Peter Busser
  1 sibling, 1 reply; 12+ messages in thread
From: Richard Jones @ 2004-12-15 21:17 UTC (permalink / raw)
  To: Joe Polanik; +Cc: caml-list

[-- Attachment #1: Type: text/plain, Size: 937 bytes --]

On Wed, Dec 15, 2004 at 03:19:16PM -0500, Joe Polanik wrote:
> Is there a version of mod_ocaml for Apache 2? If so, where might this be 
> found?

mod_caml or mod_ocaml?  The two are different things.  My summary of
the situation is here:

http://caml.inria.fr/archives/200410/msg00026.html

You need to patch Apache 2 to run mod_caml.  See these instructions:

http://merjis.com/developers/mod_caml/apache_2.0
http://issues.apache.org/bugzilla/show_bug.cgi?id=27550

The process of getting the required patch into Apache 2.x is glacial,
but at least the developers are now showing some small amount of
interest.

Rich.

-- 
Richard Jones.  http://www.annexia.org/  http://www.j-london.com/
>>>   http://www.team-notepad.com/ - collaboration tools for teams   <<<
Merjis Ltd. http://www.merjis.com/ - improving website return on investment
http://subjectlink.com/ - Lesson plans and source material for teachers

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Caml-list] Apache 2 and mod_ocaml
  2004-12-15 21:17 ` Richard Jones
@ 2004-12-16  8:24   ` Peter Busser
  2004-12-16  9:30     ` Gerd Stolpmann
  0 siblings, 1 reply; 12+ messages in thread
From: Peter Busser @ 2004-12-16  8:24 UTC (permalink / raw)
  To: caml-list

On Wednesday 15 December 2004 22:17, Richard Jones wrote:
> On Wed, Dec 15, 2004 at 03:19:16PM -0500, Joe Polanik wrote:
> > Is there a version of mod_ocaml for Apache 2? If so, where might this be
> > found?
>
> mod_caml or mod_ocaml?  The two are different things.  My summary of
> the situation is here:

Has anyone looked at getting mod_lisp to work with OCaml? It's different from 
mod_caml in that it doesn't execute OCaml code in Apache itself, but connects 
to a separate process, which handles the request. Much like the way in which 
Java servlet support for Apache works. It doesn't transfer any LISP specific 
stuff according to the docs.

Groetjes,
Peter.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Caml-list] Apache 2 and mod_ocaml
  2004-12-16  8:24   ` Peter Busser
@ 2004-12-16  9:30     ` Gerd Stolpmann
  2004-12-16 11:39       ` Alex Baretta
  0 siblings, 1 reply; 12+ messages in thread
From: Gerd Stolpmann @ 2004-12-16  9:30 UTC (permalink / raw)
  To: busser; +Cc: caml-list


Peter Busser said:
> On Wednesday 15 December 2004 22:17, Richard Jones wrote:
>> On Wed, Dec 15, 2004 at 03:19:16PM -0500, Joe Polanik wrote:
>> > Is there a version of mod_ocaml for Apache 2? If so, where might
>> > this be found?
>>
>> mod_caml or mod_ocaml?  The two are different things.  My summary of
>> the situation is here:
>
> Has anyone looked at getting mod_lisp to work with OCaml? It's
> different from  mod_caml in that it doesn't execute OCaml code in
> Apache itself, but connects  to a separate process, which handles the
> request. Much like the way in which  Java servlet support for Apache
> works. It doesn't transfer any LISP specific  stuff according to the
> docs.

There is support for AJP (the Java connector you mention) and FastCGI in
Ocamlnet (http://ocamlnet.sourceforge.net). The O'Caml code runs in a
separate process, with all advantages, e.g. native code support, increased
stability etc.
Gerd
------------------------------------------------------------
Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany
gerd@gerd-stolpmann.de          http://www.gerd-stolpmann.de
------------------------------------------------------------




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Caml-list] Apache 2 and mod_ocaml
  2004-12-16  9:30     ` Gerd Stolpmann
@ 2004-12-16 11:39       ` Alex Baretta
  2004-12-16 11:52         ` Richard Jones
  0 siblings, 1 reply; 12+ messages in thread
From: Alex Baretta @ 2004-12-16 11:39 UTC (permalink / raw)
  To: caml-list

Gerd Stolpmann wrote:
> 
> 
> There is support for AJP (the Java connector you mention) and FastCGI in
> Ocamlnet (http://ocamlnet.sourceforge.net). The O'Caml code runs in a
> separate process, with all advantages, e.g. native code support, increased
> stability etc.
> Gerd

The trouble is that FastCGI seems to be no longer actively developed, 
and it hardly supports Apache2.

Alex

-- 
*********************************************************************
http://www.barettadeit.com/
Baretta DE&IT
A division of Baretta SRL

tel. +39 02 370 111 55
fax. +39 02 370 111 54

Our technology:

The Application System/Xcaml (AS/Xcaml)
<http://www.asxcaml.org/>

The FreerP Project
<http://www.freerp.org/>


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Caml-list] Apache 2 and mod_ocaml
  2004-12-16 11:39       ` Alex Baretta
@ 2004-12-16 11:52         ` Richard Jones
  2004-12-16 12:37           ` Alex Baretta
  0 siblings, 1 reply; 12+ messages in thread
From: Richard Jones @ 2004-12-16 11:52 UTC (permalink / raw)
  Cc: caml-list

[-- Attachment #1: Type: text/plain, Size: 798 bytes --]

On Thu, Dec 16, 2004 at 12:39:38PM +0100, Alex Baretta wrote:
> Gerd Stolpmann wrote:
> >
> >
> >There is support for AJP (the Java connector you mention) and FastCGI in
> >Ocamlnet (http://ocamlnet.sourceforge.net). The O'Caml code runs in a
> >separate process, with all advantages, e.g. native code support, increased
> >stability etc.
> >Gerd
> 
> The trouble is that FastCGI seems to be no longer actively developed, 
> and it hardly supports Apache2.

Oacmlnet supports JServ too, IIRC.

Rich.

-- 
Richard Jones.  http://www.annexia.org/  http://www.j-london.com/
>>>   http://www.team-notepad.com/ - collaboration tools for teams   <<<
Merjis Ltd. http://www.merjis.com/ - improving website return on investment
Learn Objective CAML - http://www.merjis.com/developers

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Caml-list] Apache 2 and mod_ocaml
  2004-12-16 11:52         ` Richard Jones
@ 2004-12-16 12:37           ` Alex Baretta
  2004-12-16 13:45             ` Peter Busser
  0 siblings, 1 reply; 12+ messages in thread
From: Alex Baretta @ 2004-12-16 12:37 UTC (permalink / raw)
  To: Ocaml

Richard Jones wrote:
> On Thu, Dec 16, 2004 at 12:39:38PM +0100, Alex Baretta wrote:

>>
>>The trouble is that FastCGI seems to be no longer actively developed, 
>>and it hardly supports Apache2.
> 
> 
> Oacmlnet supports JServ too, IIRC.
> 
> Rich.
> 

Gerd has managed to write in Ocaml every possible computable function, 
so, yes, he does support Jserv. Again, the problem is elsewhere. The 
Jakarta project no longer supports the Jserv protocol version 
implemented by Gerd. Gerd is not updating the Jserv support, if I recall 
correctly, because the new protocol version lacks support for some of 
the CGI features Ocamlnet needs.

Alex

-- 
*********************************************************************
http://www.barettadeit.com/
Baretta DE&IT
A division of Baretta SRL

tel. +39 02 370 111 55
fax. +39 02 370 111 54

Our technology:

The Application System/Xcaml (AS/Xcaml)
<http://www.asxcaml.org/>

The FreerP Project
<http://www.freerp.org/>


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Caml-list] Apache 2 and mod_ocaml
  2004-12-16 12:37           ` Alex Baretta
@ 2004-12-16 13:45             ` Peter Busser
  2004-12-16 16:36               ` Richard Jones
  0 siblings, 1 reply; 12+ messages in thread
From: Peter Busser @ 2004-12-16 13:45 UTC (permalink / raw)
  To: caml-list

On Thursday 16 December 2004 13:37, Alex Baretta wrote:
> Richard Jones wrote:
> > On Thu, Dec 16, 2004 at 12:39:38PM +0100, Alex Baretta wrote:
> >>The trouble is that FastCGI seems to be no longer actively developed,
> >>and it hardly supports Apache2.
> >
> > Oacmlnet supports JServ too, IIRC.
> >
> > Rich.
>
> Gerd has managed to write in Ocaml every possible computable function,
> so, yes, he does support Jserv. Again, the problem is elsewhere.

According to the documentation, mod_lisp uses a simpler protocol than JServ. 
It consists of attributename/value pairs.
http://www.fractalconcept.com/asp/1pY2/sdataQIjjZGSY-q5ODM==/2pY2sdataQoBh-N3qe0jUC1B=

Groetjes,
Peter.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Caml-list] Apache 2 and mod_ocaml
  2004-12-16 13:45             ` Peter Busser
@ 2004-12-16 16:36               ` Richard Jones
  2004-12-16 18:10                 ` Alex Baretta
  2004-12-17  8:25                 ` Peter Busser
  0 siblings, 2 replies; 12+ messages in thread
From: Richard Jones @ 2004-12-16 16:36 UTC (permalink / raw)
  Cc: caml-list

[-- Attachment #1: Type: text/plain, Size: 618 bytes --]

On Thu, Dec 16, 2004 at 02:45:32PM +0100, Peter Busser wrote:
> According to the documentation, mod_lisp uses a simpler protocol than JServ.
>[...]

I never really understood why people don't just use HTTP.  It is,
after all, a perfectly suitable protocol for transfering web requests
and web pages between entities :-)

Rich.

-- 
Richard Jones.  http://www.annexia.org/  http://www.j-london.com/
>>>   http://www.team-notepad.com/ - collaboration tools for teams   <<<
Merjis Ltd. http://www.merjis.com/ - improving website return on investment
Learn Objective CAML - http://www.merjis.com/developers

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Caml-list] Apache 2 and mod_ocaml
  2004-12-16 16:36               ` Richard Jones
@ 2004-12-16 18:10                 ` Alex Baretta
  2004-12-17  8:25                 ` Peter Busser
  1 sibling, 0 replies; 12+ messages in thread
From: Alex Baretta @ 2004-12-16 18:10 UTC (permalink / raw)
  Cc: caml-list

Richard Jones wrote:
> On Thu, Dec 16, 2004 at 02:45:32PM +0100, Peter Busser wrote:
> 
>>According to the documentation, mod_lisp uses a simpler protocol than JServ.
>>[...]
> 
> 
> I never really understood why people don't just use HTTP.  It is,
> after all, a perfectly suitable protocol for transfering web requests
> and web pages between entities :-)
> 
> Rich.
> 

This is what we are doing with the xcamld. Xcamld is a light-weigh http 
server working behind the scenes of a full-fledged server like Apache, 
which has support for proxying a request to another server. The client 
connects to Apache via HTTP; Apache is configured to act as a 
transparent proxy for this request and relays it to the xcamld. We 
already have a complete implementation of the HTTP 1.1 protocol and are 
currently working on the Ocamlnet bindings.

Alex

-- 
*********************************************************************
http://www.barettadeit.com/
Baretta DE&IT
A division of Baretta SRL

tel. +39 02 370 111 55
fax. +39 02 370 111 54

Our technology:

The Application System/Xcaml (AS/Xcaml)
<http://www.asxcaml.org/>

The FreerP Project
<http://www.freerp.org/>


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Caml-list] Apache 2 and mod_ocaml
  2004-12-16 16:36               ` Richard Jones
  2004-12-16 18:10                 ` Alex Baretta
@ 2004-12-17  8:25                 ` Peter Busser
  1 sibling, 0 replies; 12+ messages in thread
From: Peter Busser @ 2004-12-17  8:25 UTC (permalink / raw)
  To: caml-list

On Thursday 16 December 2004 17:36, Richard Jones wrote:
> On Thu, Dec 16, 2004 at 02:45:32PM +0100, Peter Busser wrote:
> > According to the documentation, mod_lisp uses a simpler protocol than
> > JServ. [...]
>
> I never really understood why people don't just use HTTP.  It is,
> after all, a perfectly suitable protocol for transfering web requests
> and web pages between entities :-)

Well, the other protocols are simpler than HTTP and therefore cost less effort 
to implement.

Groetjes,
Peter.


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2004-12-17  8:25 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-15 20:19 Apache 2 and mod_ocaml Joe Polanik
2004-12-15 20:57 ` [Caml-list] " Christophe TROESTLER
2004-12-15 21:17 ` Richard Jones
2004-12-16  8:24   ` Peter Busser
2004-12-16  9:30     ` Gerd Stolpmann
2004-12-16 11:39       ` Alex Baretta
2004-12-16 11:52         ` Richard Jones
2004-12-16 12:37           ` Alex Baretta
2004-12-16 13:45             ` Peter Busser
2004-12-16 16:36               ` Richard Jones
2004-12-16 18:10                 ` Alex Baretta
2004-12-17  8:25                 ` Peter Busser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).