Re: Apache and perl CGI

2007-12-03 Thread Misko
Thanks that was the info I was looking for. Misko -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Apache and perl CGI

2007-12-03 Thread Patter
On Mon, 03 Dec 2007 16:40:16 +0100, Bogart Salzberg wrote: > Perl has a "taint" mode (add switch "-T" to the command line or > shebang line, as in "#!/usr/bin/perl -T"). The taint mode, I think, > prevents user input from being used in unsafe operations until it is > filtered by a regular exp

Re: Apache and perl CGI

2007-12-03 Thread Bogart Salzberg
Perl has a "taint" mode (add switch "-T" to the command line or shebang line, as in "#!/usr/bin/perl -T"). The taint mode, I think, prevents user input from being used in unsafe operations until it is filtered by a regular expression. Taint mode is not as comprehensive as PHP's safe mode. T

Apache and perl CGI

2007-12-02 Thread Misko
I am starting creating pages with perl and have some question. I want to know if perl has something similar to PHPs safe mode. Especialy if there are some limitation for how long script can run (PHP has usually 30 second limit) and if perl can have disabled some features (as fsocketopen() and mail(

Re: run perl cgi script

2006-05-21 Thread linux china
pts:     #     AddHandler cgi-script .cgi .sh .pl   From: linux china [mailto: [EMAIL PROTECTED]] Sent: Friday, May 19, 2006 10:41 AM To: debian-user@lists.debian.org Subject: run perl cgi script   hi, I run a perl script which is put on /usr/lib/cgi-bin directory from IE, but a download windo

RE: run perl cgi script

2006-05-19 Thread Jerry DuVal
side includes, or CGI outside     # ScriptAliased directories, uncomment the following lines.     #     # To use CGI scripts:     #     AddHandler cgi-script .cgi .sh .pl   From: linux china [mailto:[EMAIL PROTECTED] Sent: Friday, May 19, 2006 10:41 AM To: debian-user@lists.debian.or

run perl cgi script

2006-05-19 Thread linux china
hi, I run a perl script which is put on /usr/lib/cgi-bin directory from IE, but a download window appears instead of returning the result. I say the cgi.load in the directory /etc/apache2/mods-enabled/, but I can't see mod_cgi by greping the output of apache2ctl -l, so could someone help me? why th

perl cgi problem

2003-08-14 Thread Henning Moll
Hi! I use a perl cgi script to start a daemon via http-request: ---ttt.pl--- [...] system("daemon &"); [...] print " ... "; ---ttt.pl--- starting of the daemon works, but the http-request is never answered completley (That means, the browser is waiti

Re: perl cgi problem

2003-08-14 Thread Henning Moll
Hi Andrew, hi Bill! Thanks for your reply! On Friday 08 August 2003 02:22, Andrew Perrin wrote: > The problem is that perl is wait()ing for the daemon to return before > exiting. > > From man perlipc: > > [piece of code] With your help i solved my problem. I allready tried to fork, but forgot to

Re: perl cgi problem

2003-08-09 Thread Bill Moseley
On Fri, Aug 08, 2003 at 01:14:43AM +0200, Henning Moll wrote: > Hi! > > I use a perl cgi script to start a daemon via http-request: > > > ---ttt.pl--- > [...] > system("daemon &"); > [...] > print " ... "; > ---ttt.pl--- &

Re: perl cgi problem

2003-08-07 Thread Andrew Perrin
Your_OS::Process module for other solutions. -- Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED] * andrew_perrin (at) unc.edu On Fri, 8 Aug 2

Re: php safe mode, perl cgi system calls

2002-10-01 Thread Matus \"fantomas\" Uhlar
-> i want to secure my apache! -> -> to turn safemode in php.ini off is one thing and not enough - you need to limit files opening (open_basedir, doc_root), and some other stuff probably -> what simulare things can i do to limit perl? i dont think there is any -> simulare thing. the only way to

php safe mode, perl cgi system calls

2002-10-01 Thread Marco Kammerer
i want to secure my apache! to turn safemode in php.ini off is one thing what simulare things can i do to limit perl? i dont think there is any simulare thing. the only way to be sure that no wrong cgi-bin is getting on the server is to check each perl file and make it accessable by users manual

Re: perl / cgi

2001-01-31 Thread Pietro Cagnoni
put print "Content-type: text/html\n\n"; on top of your script, and you should be able to start working. hope this helps. pietro.

perl / cgi

2001-01-30 Thread Mario Zuppini
Hey people's   runnign debian potato and with apache web server, does anyone know why cant execute some cgi's/perl scripts through the web browser while others we can.   What it seems to be is simple scripts wont work but complex scripts are working, below are the error messages :   Internal

Re: perl cgi and mysql

2000-12-22 Thread Rob VanFleet
point me into the right direction > > I would appreciate some sample code. > > I have created a database within mysql, its fine, I can get Perl to talk to > it. > > I need to know how to create the htm and I guess a perl/cgi code to talk to > the database. > > what I

RE: perl cgi and mysql

2000-12-22 Thread Jason Holland
have you tried DBD-mysql?? > > Can anyone point me into the right direction > > I would appreciate some sample code. > > I have created a database within mysql, its fine, I can get Perl > to talk to > it. > > I need to know how to create the htm and I guess

perl cgi and mysql

2000-12-22 Thread james \(home\)
Can anyone point me into the right direction I would appreciate some sample code. I have created a database within mysql, its fine, I can get Perl to talk to it. I need to know how to create the htm and I guess a perl/cgi code to talk to the database. what I am trying to create is 2 web pages

Re: Apache and perl cgi problem

2000-06-15 Thread jose laverde
To: debian-user@lists.debian.org Subject: Apache and perl cgi problem Date: Thu, 15 Jun 2000 09:27:16 +0200 Hello I have a little problem with Apache and the execution of the cgi-script. I have already set the ScritpAlias and it work fine. Now I'd like to have under the public_html dir of

Re: Apache and perl cgi problem

2000-06-15 Thread John Pearson
user) a directory tree > wicht contain one entry for every project I am working on. > > The problem is that I cannot execupe some perl cgi, Netscape give me this > error > --- > You don't have permission to access /~gianluca/effeesse/p.pl on this server. > --- > > T

Re: Apache and perl cgi problem

2000-06-15 Thread Ernest Johanson
> > > Now I'd like to > > > > have under the public_html dir of one user (my user) a directory tree > > > > wicht contain one entry for every project I am working on. > > > > Is this directory under the directory named in the ScriptAlias directive? > > No, but as I understand from the apache d

Re: Apache and perl cgi problem

2000-06-15 Thread gianluca
On Thu, Jun 15, 2000 at 11:30:29AM -0700, Ernest Johanson wrote: > > > > > I have already set the ScritpAlias and it work fine. > > What directory is your ScriptAlias set to? The directory is /home/www/cgi-bin, and it work fine. > Now I'd like to > > > have under the public_html dir of one u

Re: Apache and perl cgi problem

2000-06-15 Thread Ernest Johanson
ory under the directory named in the ScriptAlias directive? > > The problem is that I cannot execupe some perl cgi, Netscape give me this > > error > > --- > > You don't have permission to access /~gianluca/effeesse/p.pl on this server. This is exactly the error that oc

Re: Apache and perl cgi problem

2000-06-15 Thread Keith G. Murphy
t contain one entry for every project I am working on. > > The problem is that I cannot execupe some perl cgi, Netscape give me this > error > --- > You don't have permission to access /~gianluca/effeesse/p.pl on this server. > --- > > The script have the correct attrib

Apache and perl cgi problem

2000-06-15 Thread gianluca
em is that I cannot execupe some perl cgi, Netscape give me this error --- You don't have permission to access /~gianluca/effeesse/p.pl on this server. --- The script have the correct attributes and the directory is accessible (I can get the html file and also run the php3 script) I already adde

dos2unix perl/cgi script debug help

1998-08-22 Thread Paul Miller
This script, posted earlier on this list, has one major problem: it doesn't send the file! If "use strict;" is removed, it'll send the file, but it is _larger_ than the original file... I'm thinking that it needs some type of indicator that it is finished sending the file.. I'd really apprecia

Apache & user execution of Perl/CGI scripts

1998-08-20 Thread Paul Miller
I'm having lots of trouble getting the CGI to work for users. The current Debian-Apache release (1.3.1-3) is never happy with my suexec binary.. >From the Debian sources, apache appears to be compiled with suexec support.. I even tried compiling it myself w/ Debian's sources, and it still didn't