thanx a lot, daniel. i have made a tiny test pl and it runs fine. my second
step is to implement a eval-perl thing, to execute cgi things.

I have done this:
---
                        if($r->url->path =~ /\.pl$/i)
                        {
                                open(PL, "<.".$r->url->path) or $c->send_error();
                                {
                                        @prg = <PL>;
                                }
                                $prg= join('',@prg);
                                eval $prg;
                        }
---
and the perl executes ok, but of cause in the server prompt and not in the
client. How can i change STDOUT to the client ?? or is there another way to
execude cgi progs ?



Betreff: Re: Offtopic // webserver perl


the Daemon and Daemon::HTTP is an easy way to construct your own web server
in perl. If you read the Daemon.0.92.047.readme inside the attatched package
after installing the module, you should be able to build a webserver in
seconds.

/Daniel
----- Original Message -----
From: "Kristofer Wolff" <[EMAIL PROTECTED]>
To: "perllist" <[EMAIL PROTECTED]>
Sent: Tuesday, December 04, 2001 12:34 PM
Subject: Offtopic // webserver perl


> Hi folks,
>
> a bit off topic...
> since a while i am using Xitami an my WIN localhost and Apache on a
> Unix-server for my works, it runs fine . and by the way i like Xitami very
> much.
>
> I build up a whole CMS and made a Admin Tool-Bundle set for Win32 Servers
> and Linux too. All is nerly done, but i havn't a Webserver. I would like
it
> in Perl, because i want add my own functions (logging authentifikation AND
> of couse include it in my installation set).
>
> Does anybody know a opensource webserver written in perl ?
>
>
> Thanx Kris
>
> _______________________________________________
> Perl-Win32-Web mailing list
> [EMAIL PROTECTED]
> http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
>

_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to