Re: Mod_perl how to include the result of mod_autoindex?

2003-08-14 Thread Thomas Klausner
Hi! On Mon, Aug 11, 2003 at 04:37:45 -0500, Slava Bizyayev wrote: > It's not quite the truth... > You can do all that staff on Apache 1.3 with appropriate skills. See LWP > for example. If you mean to grab the output of e.g. mod_autoindex by issueing a sperate request using LWP, that's definitly

Re: Mod_perl how to include the result of mod_autoindex?

2003-08-14 Thread Geoffrey Young
Thomas Klausner wrote: Hi! On Mon, Aug 11, 2003 at 04:37:45 -0500, Slava Bizyayev wrote: It's not quite the truth... You can do all that staff on Apache 1.3 with appropriate skills. See LWP for example. If you mean to grab the output of e.g. mod_autoindex by issueing a sperate request using L

Re: How to restart the root server from within modperl?

2003-08-14 Thread Dirk Lutzebaeck
Dennis Stout writes: > On a whim, I would try writing a second script to do the actual shutdown and > restart of Apache. > > Then have your mod_perl program either run it in the background (with a &) or > fork it into another process. Did exactly that but is has the effect that when the par

RE: How to restart the root server from within modperl?

2003-08-14 Thread Egor Shipovalov
Lutzebaeck [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 12, 2003 1:17 > To: [EMAIL PROTECTED] > Subject: How to restart the root server from within modperl? > > > > Hi, > > how can I restart the root httpd server from within modperl? My > problem is that when I cal

How to restart the root server from within modperl?

2003-08-14 Thread Dirk Lutzebaeck
Hi, how can I restart the root httpd server from within modperl? My problem is that when I call system() with say apachectl restart the father process is stopped killing the children including the apachectl itself. So it can't start of again. Can I call something like a reload of httpd.conf? Why

Re: [Slightly OT] Port forwarding (Was: How to restart the root serverfrom within modperl?)

2003-08-14 Thread Craig Edwards
Hi, I once saw an example of port forwarding using netcat and inetd, i think it involved setting up a listening netcat as the application, using inetd to bind it to a specific port and then forwarding the connection onwards to the ip and/or port where you want it to go, something like this: se

Re: How to restart the root server from within modperl?

2003-08-14 Thread Torsten Foertsch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 12 August 2003 11:50, Dirk Lutzebaeck wrote: > Dennis Stout writes: > > On a whim, I would try writing a second script to do the actual shutdown > > and restart of Apache. > > > > Then have your mod_perl program either run it in the back

Re: How to restart the root server from within modperl?

2003-08-14 Thread Martin Langhoff
>>how can I restart the root httpd server from within modperl? Use `at` to schedule it a minute in the future -- effectively forking it. Note that normally apache starts as root and runs as an unprivileged user. If this is the case you _can_ achieve it using a suid wrapper or sudo, but you'll r

[Slightly OT] Port forwarding (Was: How to restart the root serverfrom within modperl?)

2003-08-14 Thread Andrew Ho
Hello, ML>If you absolutely need to be in port 80, either setup a simple ML>lightweight apache on port 80 as a reverse proxy (see the mod_perl ML>guide) or, even simpler, do some port forwarding from port 80 to your ML>high port of choice. Has anybody had very good experiences using a simple p

Re: How to restart the root server from within modperl?

2003-08-14 Thread Dennis Stout
mate Troublshooting - Original Message - From: "Dirk Lutzebaeck" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 11, 2003 13 16 Subject: How to restart the root server from within modperl? > > Hi, > > how can I restart the root httpd server from wit

RE: How to restart the root server from within modperl?

2003-08-14 Thread Egor Shipovalov
> Can I call something like a reload of httpd.conf? This is what sending a SIGHUP to Apache does. However, both mod_perl-enabled servers I run misbehave on this, so I always do a full restart. Egor.

Re: How to restart the root server from within modperl?

2003-08-14 Thread Dirk Lutzebaeck
Thanks, I made it a bit more simple: use POSIX; if (! fork) { # child setsid; POSIX::close(0); POSIX::close(1); exec("restart-apache-command"); } Works great! Thanks, Dirk Torsten Foertsch writes: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Tues

RE: How to restart the root server from within modperl?

2003-08-14 Thread Egor Shipovalov
t; > Killing the paernt shell script would terminate the whole operation. > > > > Egor. > > > > > -Original Message- > > > From: Dirk Lutzebaeck [mailto:[EMAIL PROTECTED] > > > Sent: Tuesday, August 12, 2003 1:17 > > > To: [EMAIL PROTECTED] >

Re: Mod_perl how to include the result of mod_autoindex?

2003-08-14 Thread Slava Bizyayev
script using CGI.pm and Apache > > 1.3.28/Linux. > > > > I am trying to figure out how to use Apache's > > mod_autoindex to display a directories contents within > > the output the CGI. Apache is configured correctly, I > > am not asking for Apache help. &g

Re: How to restart the root server from within modperl?

2003-08-14 Thread Dirk Lutzebaeck
Martin Langhoff writes: > >>how can I restart the root httpd server from within modperl? > > Use `at` to schedule it a minute in the future -- effectively forking it. Yes, also thought of that but the smallest unit of 'at' is minutes and I want to restart the server immediately. > Note tha

Re: [Slightly OT] Port forwarding (Was: How to restart the rootserverfrom within modperl?)

2003-08-14 Thread greg
When moving a server from MN to VA I used port forwarding to make the transition totally seamless. This includes DNS. I wanted to make sure all my services worked in both places, and I didn't want to have split systems. That would have been a nightmare for services like e-mail where a message to o

Re: How to restart the root server from within modperl?

2003-08-14 Thread Frank Maas
On Tue, Aug 12, 2003 at 11:50:01AM +0200, Dirk Lutzebaeck wrote: > > Dennis Stout writes: > > On a whim, I would try writing a second script to do the actual shutdown and > > restart of Apache. > > > > Then have your mod_perl program either run it in the background (with a &) or > > fork it

Mod_perl how to include the result of mod_autoindex?

2003-08-14 Thread Coexec
I am writing a mod_perl script using CGI.pm and Apache 1.3.28/Linux. I am trying to figure out how to use Apache's mod_autoindex to display a directories contents within the output the CGI. Apache is configured correctly, I am not asking for Apache help. The end user will submit a form.

How to pass parameters from the UNIX command line ?

2003-08-14 Thread Fabián R. Breschi
Dear List, It seems a silly one, anyway I'm somewhat confused about how to pass parameters from the UNIX command line: Suppose I have my working PERL script and passed parameter on an URL as: http://server.domain.com/cgi-bin/MyProcedure.pl?cust_id=x I'd like to make a cron job to

Re[2]: How to restart the root server from within modperl?

2003-08-12 Thread Mike P. Mikhailov
Hello Dirk Lutzebaeck, Tuesday, August 12, 2003, 3:50:01 PM, you wrote: DL> Dennis Stout writes: DL> > On a whim, I would try writing a second script to do the actual shutdown and DL> > restart of Apache. DL> > DL> > Then have your mod_perl program either run it in the background (with a &)

Re: Mod_perl how to include the result of mod_autoindex?

2003-08-12 Thread Christopher Grau
On Mon, Aug 11, 2003 at 08:37:19AM -0700, Coexec wrote: > The end user will submit a form. One of the values in > that form will be a path on the local web server. So > in the return of the CGI, I want to include the > results of Apache's autoindex. I cannot figure out >

Re: Mod_perl how to include the result of mod_autoindex?

2003-08-11 Thread Thomas Klausner
Hi! On Mon, Aug 11, 2003 at 08:37:19AM -0700, Coexec wrote: > I am writing a mod_perl script using CGI.pm and Apache > 1.3.28/Linux. > > I am trying to figure out how to use Apache's > mod_autoindex to display a directories contents within > the output the CGI. Apache is

Re: How to pass parameters from the UNIX command line ?

2003-08-09 Thread Fabián R. Breschi
Thanks to everybody, I have opted for using libwwwperl which it looks like to be the more straightforward method to use CL commands into cron jobs with GET or lwp-download. Fab.

Re: How to pass parameters from the UNIX command line ?

2003-08-09 Thread Jean-Sebastien Guay
> > http://server.domain.com/cgi-bin/MyProcedure.pl?cust_id=x > > > > I'd like to make a cron job to source the above PERL script as from > > the command line to resemble something like: > > > > perl /usr/local/apache/cgi-bin/MyProcedure.pl << need to pass the > > parameter here as cust_id=x > >

RE: How to pass parameters from the UNIX command line ?

2003-08-08 Thread Frank Maas
> http://server.domain.com/cgi-bin/MyProcedure.pl?cust_id=x > > I'd like to make a cron job to source the above PERL script as from > the command line to resemble something like: > > perl /usr/local/apache/cgi-bin/MyProcedure.pl << need to pass the > parameter here as cust_id=x I am very do

Re: how to extend CPAN module?

2003-07-24 Thread Stas Bekman
wrote: Hi, How to correctly extend CPAN module, perldoc only explains how to create CPAN module from scratch, but what about extending? I want to add some Foo::My.pm to existing Foo bundle. Which Makefile.PLs should patched? all? just one in subsdirectory 'mod'? Any li

how to extend CPAN module?

2003-07-24 Thread ???? ????????
Hi, How to correctly extend CPAN module, perldoc only explains how to create CPAN module from scratch, but what about extending? I want to add some Foo::My.pm to existing Foo bundle. Which Makefile.PLs should patched? all? just one in subsdirectory 'mod'? Any link? Thx! -vlad

Re: How to share subroutine

2003-07-17 Thread Thomas Klausner
:Hi! On Wed, Jul 16, 2003 at 10:46:27PM +0100, Ged Haywood wrote: > Hi there, > > On Wed, 16 Jul 2003, Matthew Wu wrote: > > >I put all my subroutine in file.pm, what I need to do such that it > > can be used by my program? I don't what location I need to put it in and > > what kind of confi

Re: How to share subroutine

2003-07-16 Thread Ged Haywood
Hi there, On Wed, 16 Jul 2003, Matthew Wu wrote: >I put all my subroutine in file.pm, what I need to do such that it > can be used by my program? I don't what location I need to put it in and > what kind of configuration I need to modify. I am running Redhat 6.3. At the risk of repetition...

How to share subroutine

2003-07-16 Thread Matthew Wu
Hi: I put all my subroutine in file.pm, what I need to do such that it can be used by my program? I don't what location I need to put it in and what kind of configuration I need to modify. I am running Redhat 6.3. Thanks. Matthew Wu School Loans Corp. 10780 Santa Monica Blvd, Ste 225 Los Angele

Re: Socket-based porotocol module: how to re-use connection?

2003-07-14 Thread Stas Bekman
Jie Gao wrote: Hi All, I am playing with a socket-based protocol module based on Stas' MyApache::EchoSocket. I wonder what is needed to enable the function of re-using connections? As long as you don't quit the handler you keep the connection open. However I still have to investigate what are the

Socket-based porotocol module: how to re-use connection?

2003-06-19 Thread Jie Gao
Hi All, I am playing with a socket-based protocol module based on Stas' MyApache::EchoSocket. I wonder what is needed to enable the function of re-using connections? In perl we can use this: $server = IO::Socket::INET->new(LocalHost => "my.host.com", LocalPort =>

Re: mod_perl 2 and file upload how-to

2003-06-18 Thread Stas Bekman
Alejandro Galue wrote: Hello, I need help in file uploading with mod_perl 2. Apache::Request is not compatible with mod_perl 2, and I want to know how can I upload file widthout using CGI.pm Please send me an example if possible. Simply copy the relevant code from CGI.pm. Alternatively if you ha

mod_perl 2 and file upload how-to

2003-06-18 Thread Alejandro Galue
Hello, I need help in file uploading with mod_perl 2. Apache::Request is not compatible with mod_perl 2, and I want to know how can I upload file widthout using CGI.pm Please send me an example if possible. Thanks, Alejandro.

Re: how to unsubscribe from this list

2003-06-17 Thread Stas Bekman
Jordan Ward wrote: Can someone please direct me to where I can unsubscribe from this list. it's in the mail headers: list-help: list-unsubscribe: list-post: --

Re: [mp2] Newbie: How to get CGI params using mp2?

2003-06-06 Thread Stas Bekman
Jack Nerad wrote: How the heck do you get the parameters from a request? I don't see any methods that look right. I'd expect them to be on Apache::RequestRec, but I can't see anything that is close to matching my idea of what it should be named. Help? http://perl.apache.org/docs/2.0/user/port

[mp2] Newbie: How to get CGI params using mp2?

2003-06-06 Thread Jack Nerad
How the heck do you get the parameters from a request? I don't see any methods that look right. I'd expect them to be on Apache::RequestRec, but I can't see anything that is close to matching my idea of what it should be named. Help? -- Jack Nerad

Re: how to make sure code wasn't changed

2003-05-31 Thread Randal L. Schwartz
> "Mike" == Mike Zelina <[EMAIL PROTECTED]> writes: Mike> Here's my question: has anyone setup a clever way, possibly Mike> using CRC/MD5 analysis, to check to make sure code hasn't been Mike> changed? I don't care if someone steals it or gives it to their Mike> friends, but I don't want the

Re: how to make sure code wasn't changed

2003-05-30 Thread Patrick Mulvany
On Thu, May 29, 2003 at 06:02:10PM -0700, Mike Zelina wrote: > Here's my question: has anyone setup a clever way, possibly using CRC/MD5 analysis, > to check to make sure code hasn't been changed? I don't care if someone steals it or > gives it to their friends, but I don't want the code to yield

RE: how to secure perl modules?

2003-05-30 Thread wsheldah
x27;t really make sense, but the errors went away when I stopped using Switch. Wes Perrin Harkins <[EMAIL PROTECTED]> on 05/29/2003 05:56:05 PM To:[EMAIL PROTECTED] cc:John Saylor <[EMAIL PROTECTED]>, modperl <[EMAIL PROTECTED]> Subject:RE: how to secure

Re: how to secure perl modules?

2003-05-30 Thread Martin Moss
de. I've been pondering how to do this for ages anyay, I realise it's not completely foolproof, but I'm trying to find a mechanism that would stop anybody but a perl litterate hacker from getting at my code. Marty - Original Message - From: "Thomas Klausner" <

Re: how to secure perl modules?

2003-05-30 Thread Thomas Klausner
Hi! On Thu, May 29, 2003 at 10:27:54AM -0700, iCap wrote: > i have a collection of perl modules (running under the mod_perl umbrella) > and would like to distribute the application to several different sources > (clients with open internet web servers). but i dont want to send it out > without at

how to secure perl modules?

2003-05-30 Thread iCap
i have a collection of perl modules (running under the mod_perl umbrella) and would like to distribute the application to several different sources (clients with open internet web servers). but i dont want to send it out without at least making it somewhat difficult for some hacker to just simply

how to make sure code wasn't changed

2003-05-30 Thread Mike Zelina
OK... I have a system I've developed for a client that is now on a central server. They would like me to make changes so it can be installed on the laptops of users to use off site if necessary. Here's my question: has anyone setup a clever way, possibly using CRC/MD5 analysis, to check to make

Re: how to secure perl modules?

2003-05-30 Thread Ged Haywood
Hi there, On Thu, 29 May 2003, Kirk Rogers wrote: > i have a collection of perl modules ... i dont want to send it out > without at least making it somewhat difficult for some hacker to just simply > steal it and load it somewhere else without my consent. This is getting to be an old chestnut,

RE: how to secure perl modules?

2003-05-30 Thread Perrin Harkins
On Thu, 2003-05-29 at 17:41, Kirk Rogers wrote: > why the scarcasm? You asked a very loaded question that is guaranteed to get you a lot angry responses on most Perl mailing lists. Hiding your source code is a FAQ (http://perldoc.com/perl5.8.0/pod/perlfaq3.html#How-can-I-hide-the-source-for-my-Pe

Re: how to secure perl modules?

2003-05-30 Thread David Dick
you seem to be talking about two different things here. firstly, do you want to protect your source code being viewed by other people? secondly, do you want to ensure that your code is only being run on computers that you have authorised? these are related problems, but each requires a different

RE: how to secure perl modules?

2003-05-30 Thread Kirk Rogers
why the scarcasm? >-Original Message- >From: John Saylor [mailto:[EMAIL PROTECTED] >Sent: Thursday, May 29, 2003 2:34 PM >To: [EMAIL PROTECTED] >Cc: modperl >Subject: Re: how to secure perl modules? > > >hi > >( 03.05.29 14:25 -0700 ) Kirk Rogers: >>

Re: how to secure perl modules?

2003-05-30 Thread John Saylor
hi ( 03.05.29 14:25 -0700 ) Kirk Rogers: > but i dont want to send it out without at least making it somewhat > difficult for some hacker to just simply steal it and load it > somewhere else without my consent. why not? have you ever read the GNU manifesto? http://www.gnu.org/gnu/manifesto.html

how to secure perl modules?

2003-05-30 Thread Kirk Rogers
i have a collection of perl modules (running under the mod_perl umbrella) and would like to distribute the application to several different sources (clients with open internet web servers). but i dont want to send it out without at least making it somewhat difficult for some hacker to just simply

Re: How to make apache with both mod_perl and mod_ssl?

2003-04-02 Thread Stas Bekman
Charlie Smith wrote: How to make apache with both mod_perl and mod_ssl? RTFM: http://perl.apache.org/docs/1.0/guide/install.html#Installation_Scenarios_for_mod_perl_and_Other_Components __ Stas BekmanJAm_pH --> J

How to make apache with both mod_perl and mod_ssl?

2003-04-02 Thread Charlie Smith
How to make apache with both mod_perl and mod_ssl? -- This message may contain confidential information, and is intended only for the use of the individual(s) to whom it is addressed. ==

Re: how to make an Alias?

2003-03-13 Thread Abdul-wahid Paterson
Hi, Alias /cctvimages/ /home/me/images/ Should do it. Regards, Abdul-Wahid On Thu, 2003-03-13 at 18:35, mel awaisi wrote: > Hi list > > How do i make an alias on my webserver? > > i have images on my machine located in /home/me/images/. i would like to be > able to access them on /home/ht

how to make an Alias?

2003-03-13 Thread mel awaisi
Hi list How do i make an alias on my webserver? i have images on my machine located in /home/me/images/. i would like to be able to access them on /home/httpd/htdocs/ i have tried this: Alias /home/me/images/ "/home/httpd/htdocs/cctvimages/" i have mkdir cctvimages in /home/http/htdocs/cctvimag

Re: how to take advantage of mod_perl and analize effectiveness ofefforts?

2003-03-08 Thread Perrin Harkins
On Fri, 2003-03-07 at 18:21, Charlie Smith wrote: > What is being cached by the mod_perl? You should definitely read the mod_perl documentation that another poster pointed you to. However, let me address your core question about what is being cached with mod_perl. Technically, mod_perl doesn't c

Re: how to take advantage of mod_perl and analize effectiveness ofefforts?

2003-03-07 Thread Ken Y. Clark
On Fri, 7 Mar 2003, Charlie Smith wrote: > Date: Fri, 07 Mar 2003 16:21:15 -0700 > From: Charlie Smith <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: how to take advantage of mod_perl and analize effectiveness of > efforts? > > A c

how to take advantage of mod_perl and analize effectiveness ofefforts?

2003-03-07 Thread Charlie Smith
to tell if code is being cached?   Can user code be made to use mod_perl caching?   How to optimize code to make more efficient under mod_perl?     So, basically, how to take advantage of mod_perl and analize effectiveness of efforts?   a little puzzled, Charlie Smith x2791 3/7/03

Re: How to figure out with what options a mod_perl is built

2003-03-02 Thread Richard Clarke
> Hi, > > Is there a way, like PHP has , to figure out with > what options a standard linux distribution mod_perl is built ? > > I would like to know if it was built with EVERYTHING=1 or if > PERL_CHILD_INIT=1 > http://perl.apache.org/docs/1.0/guide/install.html#Discovering_Whether_Some_ Option

Re: How to figure out with what options a mod_perl is built

2003-03-02 Thread Ilya Martynov
> On Sun, 02 Mar 2003 14:47:12 +0100, Feite Brekeveld <[EMAIL PROTECTED]> said: FB> Hi, FB> Is there a way, like PHP has , to figure out with FB> what options a standard linux distribution mod_perl is built ? FB> I would like to know if it was built with EVERYTHING=1 or if FB> PERL_CHILD_I

How to figure out with what options a mod_perl is built

2003-03-02 Thread Feite Brekeveld
Hi, Is there a way, like PHP has , to figure out with what options a standard linux distribution mod_perl is built ? I would like to know if it was built with EVERYTHING=1 or if PERL_CHILD_INIT=1 Thanks, Feite Brekeveld

Re: How to avoid loss of POST data in a good way?

2003-02-28 Thread Geoffrey Young
Frank Maas wrote: Hi, Excuse me for this question that is, without question, due to my newbie- ness, but I am against a wall here. I am creating a website that is running under mod_perl and using several handlers of the chain. The website uses the POST method to send form data. I first used Apac

How to avoid loss of POST data in a good way?

2003-02-28 Thread Frank Maas
Hi, Excuse me for this question that is, without question, due to my newbie- ness, but I am against a wall here. I am creating a website that is running under mod_perl and using several handlers of the chain. The website uses the POST method to send form data. I first used Apache::Request->new() i

Re: How to find out if mod_perl is running

2003-02-17 Thread Stas Bekman
Gazi, Nasser (London) wrote: I have a very simple question (please excuse me if it is too simple). I need to find out if of one of my Linux servers is running mod_perl, and if so, which version it is running. Any suggestions as to how I can do this? Use the guide: http://perl.apache.org/docs/1.

Re: How to find out if mod_perl is running

2003-02-17 Thread Serguei Trouchelle
Gazi, Nasser (London) wrote: I have a very simple question (please excuse me if it is too simple). I need to find out if of one of my Linux servers is running mod_perl, and if so, which version it is running. Any suggestions as to how I can do this? perldoc mod_perl GATEWAY_INTERFACE The

Re: How to find out if mod_perl is running

2003-02-17 Thread Pierre Smolarek
lynx -head http://www.yourdomainname.com if you have lynx that is - Original Message - From: "Gazi, Nasser (London)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 17, 2003 5:30 PM Subject: How to find out if mod_perl is running > I ha

How to find out if mod_perl is running

2003-02-17 Thread Gazi, Nasser (London)
I have a very simple question (please excuse me if it is too simple). I need to find out if of one of my Linux servers is running mod_perl, and if so, which version it is running. Any suggestions as to how I can do this? Thanks, NG

Re: Fw: [Perl] how to static link mod_perl 2 into apache 2.0

2003-02-11 Thread Casey Songer
r list, because it's more appropriate here :-) - Original Message - *From:* Ron Gidron <mailto:[EMAIL PROTECTED]> *Sent:* Monday, February 10, 2003 3:48 PM *Subject:* [Perl] how to static link mod_perl 2 into apache 2.0 I am trying to install a Mason based system. This package

Re: Fw: [Perl] how to static link mod_perl 2 into apache 2.0

2003-02-10 Thread Stas Bekman
Issac Goldstand wrote: Forwarding this from another list, because it's more appropriate here :-) - Original Message - *From:* Ron Gidron <mailto:[EMAIL PROTECTED]> *Sent:* Monday, February 10, 2003 3:48 PM *Subject:* [Perl] how to static link mod_perl 2 into apache 2.0 I a

Fw: [Perl] how to static link mod_perl 2 into apache 2.0

2003-02-10 Thread Issac Goldstand
Forwarding this from another list, because it's more appropriate here :-)   - Original Message - From: Ron Gidron Sent: Monday, February 10, 2003 3:48 PM Subject: [Perl] how to static link mod_perl 2 into apache 2.0 I am trying to install a Mason based system. This pa

Re: How to test for mod_perl

2003-01-27 Thread Richard
Thank you VERY much!!! I've bookmarked that site! Have a good day! - Original Message - From: "Stas Bekman" <[EMAIL PROTECTED]> To: "Richard" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, January 27, 2003 5:30 PM Subject: Re:

Re: How to test for mod_perl

2003-01-27 Thread Stas Bekman
Richard wrote: Ok, I just installed apache::asp which forced the install of mod_perl. How do I test to see if mod_perl is running ok on any given server? Thanks! PS. I'm currently reading the manpage mod_perl that is on my server, thus far I don't see anything regarding testing that it work

How to test for mod_perl

2003-01-27 Thread Richard
Ok, I just installed apache::asp which forced the install of mod_perl.   How do I test to see if mod_perl is running ok on any given server?   Thanks!   PS. I'm currently reading the manpage mod_perl that is on my server, thus far I don't see anything regarding testing that it works.

Re: in window, mod perl 1, how to get time?

2002-12-16 Thread Ged Haywood
Hello there, On Sun, 8 Dec 2002, eric wrote: > so how can I get the time display? > > in my .pl file, two lines as > - > > my @time = time; > print "Right now, the elements of the time are: @time"; Please read the email-etiquette document. It's on

in window, mod perl 1, how to get time?

2002-12-15 Thread eric
since I untar mod perl 2 of apache, I did not have anything in perl's directory in my C:/Apache2 I have 2 line in my conf/httpd.conf LoadFile "C:/Perl/bin/perl56.dll" LoadModule perl_module modules/mod_perl.so so my /perl is created my download from perl

RE: Newbie: how to use PerlSetVar

2002-11-20 Thread Beau E. Cox
o:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 1:09 AM To: Modperl Subject: Re: Newbie: how to use PerlSetVar Hi! On Mit, Nov 20, 2002 at 12:48:34 -1000, Beau E. Cox wrote: > May I use PerlSetVar/PerlAddVar statements in the httpd.conf > file for my own use? Yes. Thats what the

Re: Newbie: how to use PerlSetVar

2002-11-20 Thread Perrin Harkins
[EMAIL PROTECTED] wrote: >What about namespaces, i.e. how >do I avoid stepping on someone else's variable? Prepend some custom string in front of the VarName: PerlSetVar MyApp_Var1 value1 PerlSetVar MyApp_Var2 value2 Also, note that these are scoped within the block where they are defin

Re: Newbie: how to use PerlSetVar

2002-11-20 Thread domm
Hi! On Mit, Nov 20, 2002 at 12:48:34 -1000, Beau E. Cox wrote: > May I use PerlSetVar/PerlAddVar statements in the httpd.conf > file for my own use? Yes. Thats what they are here for. > What about namespaces, i.e. how > do I avoid stepping on someone else's variable? Prepend some custom string

Newbie: how to use PerlSetVar

2002-11-20 Thread Beau E. Cox
Hi - I'm new to mod_perl, so here's my query: May I use PerlSetVar/PerlAddVar statements in the httpd.conf file for my own use? What about namespaces, i.e. how do I avoid stepping on someone else's variable? Assume I can. How can I access those variables from my mod_perl scripts? How can I set

Re: how to detect a broken connection using mod_proxy

2002-11-11 Thread Ged Haywood
Hi Stas, Welcome back! How was China? On Mon, 11 Nov 2002, Stas Bekman wrote: > Anybody knows of similar to mod_proxy modules that do play nicely with > the backend regarding aborted connections? I think dapi said his mod_accel might do that, and wasn't mod_deflate supposed to do something li

Re: how to detect a broken connection using mod_proxy

2002-11-11 Thread Robert Landrum
On Mon, Nov 11, 2002 at 11:51:12PM +0800, Stas Bekman wrote: > > heavy sql stm's. after each one of them i would like to check if the > > client is still there so that i will proceed to the next one or just > > return OK and forget about the request). > > As far as I know you can't do that, since

Re: how to detect a broken connection using mod_proxy

2002-11-11 Thread Stas Bekman
giorgos wrote: hi all, i am running standard setup with one plain apache with mod_proxy and a mod_perl apache to which all mod_perl requests are directed by the proxy module. i want to be able to detect when the client connection breaks but all standard recipes like the one mentioned in p.147 of

Re: How to parse after reading POST data in mod_perl 2 ?

2002-11-04 Thread Sumitro Chowdhury
Thanks Philippe for the tip. After looking at Apache2::Apache::compat and some input from Randy Kobes, I came up with the following package called getform.pm which gets the form data into a hash without using Apache::compat. (Hope it will help some newbie !!): package ModPerl::getform; use stric

How to parse after reading POST data in mod_perl 2 ?

2002-10-31 Thread Sumitro Chowdhury
Hi all, Please help ... Using Apache/2.0.43 (Unix) mod_perl/1.99_07-dev Perl/v5.8.0 . I read in POST data from Form using $r->read($buff,$r->headers_in->{'Content-length'}) Since I donot use Apache::compat, what API methods are available to parse this string data ? ( possibly convert it to a ha

how to detect a broken connection using mod_proxy

2002-10-03 Thread giorgos
hi all, i am running standard setup with one plain apache with mod_proxy and a mod_perl apache to which all mod_perl requests are directed by the proxy module. i want to be able to detect when the client connection breaks but all standard recipes like the one mentioned in p.147 of the cookbook d

Re: How to limit the size of requests ?

2002-08-30 Thread WC -Sx- Jones
[follow-ups set] PMFJI: Buffer overflow in this case happened because of sub-requests - which are hard to deal with at any rate. The actual GET/POST had nothing to do with the insecure action as far as this issue is concerned, the side effect was caused by the way the sub-request handled the

Re: Re: How to limit the size of requests ?

2002-08-30 Thread Vasile Borcan
> >On Friday, 2002-08-30 at 18:33:13 +, HalbaSus wrote: > >> About that stoopid way of preventing buffer owerflows... Well, tell me a >> better one. Of course you can patch known bugs. But... how are you gonna >> prevent new buffer owerflows ? > >Auditing? don't you think that before rele

Re: How to limit the size of requests ?

2002-08-30 Thread Lupe Christoph
On Friday, 2002-08-30 at 18:33:13 +, HalbaSus wrote: > About that stoopid way of preventing buffer owerflows... Well, tell me a > better one. Of course you can patch known bugs. But... how are you gonna > prevent new buffer owerflows ? Auditing? > What if the guys with 0-day warez are fas

Re: How to limit the size of requests ?

2002-08-30 Thread HalbaSus
Well first of all I would like to thank Geoffrey's input... you know RTFM... that's all if I would have read about LimitRequest's before would have spared me like 2 days of coding... About that stoopid way of preventing buffer owerflows... Well, tell me a better one. Of course you can patch k

Re: How to limit the size of requests ?

2002-08-30 Thread Geoffrey Young
>>my the time mod_perl enters the request, Apache has already taken care >>of parsing the request, so there's not much you can do about it (in >>1.3, at least). > > > Parsing the request *headers*. So you can't prevent any overflow in the > headers with mod_perl. well, headers and the reque

Re: How to limit the size of requests ?

2002-08-30 Thread Lupe Christoph
On Friday, 2002-08-30 at 09:22:47 -0400, Geoffrey Young wrote: > >I have written a perl script which prevents browsers (or evil exploits) to > >send buffer owerflows to apache. Basicaly this script is supposed to > >listen on port 80 for incoming connections. The input (from browsers) is > >re

Re: How to limit the size of requests ?

2002-08-30 Thread Geoffrey Young
> I have written a perl script which prevents browsers (or evil exploits) to > send buffer owerflows to apache. Basicaly this script is supposed to listen > on port 80 for incoming connections. The input (from browsers) is read up to > 500 characters. don't the apache directives: LimitReq

How to limit the size of requests ?

2002-08-30 Thread HalbaSus
Hi list ! I subscribed to this list because I want to learn more about mod_perl and apache. I'm familiar with perl but recently I had to surender using the old fashioned plain perl use IO::Socket; scripts... I have written a perl script which prevents browsers (or evil exploits) to send buffe

Re: SOLVED: How to access base environment from sections

2002-08-15 Thread Tom Mornini
On Thursday, August 15, 2002, at 07:47 PM, Stas Bekman wrote: > Tom Mornini wrote: >> Perhaps it's obvious but after years of mod_perl, I was blocked, >> probably because using this basic Perl ability is frowned upon in >> mod_perl due to performance issues. Of course, during startup, >> perfo

Re: SOLVED: How to access base environment from sections

2002-08-15 Thread Stas Bekman
Tom Mornini wrote: > Perhaps it's obvious but after years of mod_perl, I was blocked, > probably because using this basic Perl ability is frowned upon in > mod_perl due to performance issues. Of course, during startup, > performance isn't an issue. :-) > > In my case, I wanted to PerlPassEnv a

SOLVED: How to access base environment from sections

2002-08-15 Thread Tom Mornini
Perhaps it's obvious but after years of mod_perl, I was blocked, probably because using this basic Perl ability is frowned upon in mod_perl due to performance issues. Of course, during startup, performance isn't an issue. :-) In my case, I wanted to PerlPassEnv all environment variables that b

Re: How to detect data avaliability on ARP::Socket

2002-08-11 Thread Stas Bekman
like > my $sel = IO::Select->new($socket); > if ($sel->can_read(1)){ > my $socket->recv($buff, $rlen); > } > so that I can do other works while waiting for data. > > I tried to set timeout using $socket->setsocketopt(APR_SO_TIMEOUT,1) > but it didn't

How to detect data avaliability on ARP::Socket

2002-08-08 Thread Hideki Noma
$rlen); } so that I can do other works while waiting for data. I tried to set timeout using $socket->setsocketopt(APR_SO_TIMEOUT,1) but it didn't seem to work well. Does any body have any idea on how to check incoming data avaliabily on APR::Socket? Hideki Noma Humeia Limited Parnership

Re: how to unsubscribe

2002-07-31 Thread ok
Hendrik Janse van Rensburg writes: > could someone please tell me how to unsubscibe? Look into the mail-headers

how to unsubscribe

2002-07-31 Thread Hendrik Janse van Rensburg
hi   could someone please tell me how to unsubscibe?   cheers   *** This message may contain information which is confidential and subject to legal privilege. If you are not the intended recipient, you may not peruse, use

RE: How to see debug information in Net::Smtp?

2002-07-17 Thread Peter Werner
its bitten me in the ass a few times before, just thought id mention it cheers -pete -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 1:29 PM To: Peter Werner Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: How to see debug information

  1   2   3   4   5   >