On Mon, 2 Apr 2007, Vincent Snijders wrote:
> Michael Van Canneyt schreef: > > > > On Mon, 2 Apr 2007, Felipe Monteiro de Carvalho wrote: > > > > > On 4/2/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > Yesterday I sent the Apache support to Mattias for inclusion in Lazarus. > > > > It should then work on Linux-x86_64 too. > > > What do you mean by that? Apache support on Lazarus? > > > > It means that there is a project type 'Apache Module', which creates > > a library project that can be loaded by apache. The 'Application' then > > transforms the requests into something that can be handled by the > > TWebModules (some kind of data module). The TWebModule can also be > > used in CGI applications. One or more TWebModule's can be in the apache > > module. There is some standard way to translate the URL into > > a webmodule, but this is fully customizable. Basically: > > > > http://www.myhost.org/mylocation/mymodule/myaction?dosomething=yes > > > > is routed to the webmodule with name MyModule, provided apache is configured > > to send all requests for /mylocation to the FPC module. > > > > Inside the module there is a collection 'webactions', and the myaction > > is routed to the 'myaction' action. The action has properties and > > events to create web content. > > > > Basically, it works like the web thing in Delphi, but it's a grounds-up > > implementation, and the details will probably differ quite a lot, although I > > suppose that a delphi-compatible implementation could be > > built on top of it. > > > > Should we consider this email *the* documentation, or will you write a bit > more. I will write a bit more, don't worry :-) > > Not everybody can read german Toolbox articles. I know, this is not the intention. The main problem is time. The FPC testsuite is made using this tool - at least a predecessor - so I was planning to rewrite it a bit, it can serve as an example for this. (it's in Subversion) Come to think of it, better yet would be to rewrite the contributed units pages using this. They could use an update. I have still 2 examples which I need to send to Mattias, one for daemons, one for the fpweb system. As soon as time permits, I'll clean them and send them. Michael. _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
