Apache::URI port() problem

2000-04-10 Thread Zeqing Xia
Hello, It seems the method unparse() of Apache::URI does not take the port value into the result string. For example, I have: my $uri = Apache::URI-parse($r, $r-uri); $uri-scheme('http'); $uri-hostname($r-get_server_name); $uri-port(8080); $uri-query(scalar $r-args); If I call

./httpd -l

2000-04-10 Thread James Gosnell
When I run ./httpd -l should I see mod_perl.c in the list of modules? -- James Gosnell [EMAIL PROTECTED] ICQ#1727569 http://premed.dhs.org startup.pl

Re: memory leak during server graceful restarts

2000-04-10 Thread Douglas Leonard
I have run into the same issue also both with mod_perl as a DSO module or compiled staticly. I have tested it using apache-1.3.6 and apache-1.3.12 w/ mod_perl-1.22 and mod_perl-1.21. The memory growth also occurs if I HUP the server rather than sending USR1. Since the problem only occurs if

[RFC] mod_perl Guide/book -- the future

2000-04-10 Thread Stas Bekman
Hi all, The Guide release I've just made is one of the planned milestones is has reached. I've intergrated most of the backlog emails. I still have to cleanup the TODO file and covert all the META: tags into corrections that should be done in places you see these tags. After I complete the

First argument to Apache::Cookie-new

2000-04-10 Thread Zeqing Xia
I have noticed that although it is required to pass $r to Apache::Cookie-new() as the first argument, it appears that no type checking is performed. In other words, if I pass anything else as the first arg, no error is reported. However the subsequent call to $cookie-as_string will result in an

Re: ./httpd -l

2000-04-10 Thread Stas Bekman
When I run ./httpd -l should I see mod_perl.c in the list of modules? Yes, unless httpd was created as DSO and it wasn't configured to load this module in httpd.conf. __ Stas Bekman | JAm_pH--Just Another

RE: internal_redirect

2000-04-10 Thread Eric Cholet
Hi All I have a module that displays a selection of FORMs for the user to pick from. The FORMs have TARGET='_BLANK'. The submitted form data is sent to a different module which parses the data and uses 'open' to call an external perl script to generate a file and returns the full disk path

windows 98 apache and perl

2000-04-10 Thread Light Software
Is it possible to install apache and perl succesfully on windows 98 ? I have tried and failed ! I want to run server-side perl script on apache... Is there anyone in this mailing list that has installed apache and perl succesfully on windows 98 so that this is possible ? Please let me

front end proxy and virtual hosts

2000-04-10 Thread Eric Cholet
Hi, The front-end light server, serving static requests and proxying dynamic requests to a back-end modperl server, is well documented, except in the case of virtual hosts. How do you do it? Specifically, do you setup virtual hosts on the backend server? Different IPs, or different ports? Or

Re: windows 98 apache and perl

2000-04-10 Thread Robert
Light Software wrote: Is it possible to install apache and perl succesfully on windows 98 ? I have tried and failed ! I want to run server-side perl script on apache... Is there anyone in this mailing list that has installed apache and perl succesfully on windows 98 so that this is

RE: Apache::URI port() problem

2000-04-10 Thread Eric Cholet
Hello, It seems the method unparse() of Apache::URI does not take the port value into the result string. For example, I have: my $uri = Apache::URI-parse($r, $r-uri); $uri-scheme('http'); $uri-hostname($r-get_server_name); $uri-port(8080); $uri-query(scalar $r-args); If I call

Re: Segfault on DBI-Connect (was mod_perl and AuthenDBI headaches)

2000-04-10 Thread Drew Degentesh
Hi, after some browsing of the [EMAIL PROTECTED] archives, I see now that my AuthDBI problem is the same as this thread (Segfault on DBI-Connect). I tried the workaround suggested by wil (*sock=0 before mysql_init(sock)) to no avail. Here's a backtrace from gdb httpd -X. Has any headway been

Re: Deprecated warnings in Apache::DBI

2000-04-10 Thread Ken Williams
I don't have 5.6 to test this, but isn't the warnings pragma lexical and not dynamic now? Which means it's doing the right thing. Also, it's probably right - shouldn't Apache::DBI be changed? Perhaps doing "local $^W;" instead of "no warnings qw(deprecated);" will be a bandaid for you.

RE: Deprecated warnings in Apache::DBI

2000-04-10 Thread Paul G. Weiss
Well if it is lexical shouldn't it suppress the warnings anyhow? Remember that the 'use' is lexically inside the BEGIN block where I have the pragma. From the command line: perl -wc Apache/DBI.pm produces the error while perl -M-warnings=deprecated Apache/DBI.pm doesn't.

Re: ./httpd -l

2000-04-10 Thread Vivek Khera
"JG" == James Gosnell [EMAIL PROTECTED] writes: JG When I run ./httpd -l should I see mod_perl.c in the list of modules? Depends if you compiled it into your httpd... ;-) If you compiled mod_perl as a DSO module, then no. If you compiled mod_perl statically, then yet. --

Re: front end proxy and virtual hosts

2000-04-10 Thread Vivek Khera
"EC" == Eric Cholet [EMAIL PROTECTED] writes: EC do you setup virtual hosts on the backend server? Different IPs, or EC different ports? Or just a flat url space, using mod_rewrite on the EC front-end to translate the urls? I think I posted this example earlier. This is just a snippet of the

RE: front end proxy and virtual hosts

2000-04-10 Thread Eric Cholet
EC do you setup virtual hosts on the backend server? Different IPs, or EC different ports? Or just a flat url space, using mod_rewrite on the EC front-end to translate the urls? I think I posted this example earlier. This is just a snippet of the relevant portions of the front/back end

[OT] anchoring regexp

2000-04-10 Thread J. Horner
I bought a new book this weekend: the wolf book. I'm enjoying it. I came from an engineering background, so anything that gives comp sci theory is good. I read in the book, and I've always suspected, that anchoring regular expressions will speed them up. I'm finding that after 5000

Re: [OT] anchoring regexp

2000-04-10 Thread J. Horner
On Mon, 10 Apr 2000, Jason Simms wrote: I have a question first, then some insight as to why you may be having the problem... First, is this Knoxville, TN? I lived there for 17 years of my life, and only recently (1.5 years ago) moved up to New York City. I left due to lack of

Newbie help - mod_perl use

2000-04-10 Thread Ron Beck
Hello all, I have built Apache 1.3.12 and mod_perl 1.22 and everything seems to be running fine. I have verified that mod_perl.c shows up as one of the compiled-in modules. How can I test or verify that my perl cgi scripts are actually running via mod_ perl rather than simply executing? Is

RE: Newbie help - mod_perl use

2000-04-10 Thread Geoffrey Young
http://perl.apache.org/guide/install.html#How_can_I_tell_whether_mod_perl_ :) --Geoff -Original Message- From: Ron Beck [mailto:[EMAIL PROTECTED]] Sent: Monday, April 10, 2000 1:28 PM To: modperl Subject: Newbie help - mod_perl use Hello all, I have built Apache 1.3.12 and

Re: Newbie help - mod_perl use

2000-04-10 Thread bthak
On Mon, 10 Apr 2000, Ron Beck wrote: Hello all, I have built Apache 1.3.12 and mod_perl 1.22 and everything seems to be running fine. I have verified that mod_perl.c shows up as one of the compiled-in modules. How can I test or verify that my perl cgi scripts are actually running via

Re: [OT] anchoring regexp

2000-04-10 Thread Devin Ben-Hur
"J. Horner" wrote: On Mon, 10 Apr 2000, Jason Simms wrote: As to your problem, I doubt people can be of much assistance (though we'll see) without seeing the regex and sample data. Perhaps if you resent that?? In any case, good luck. And perhaps, stay in touch, or put me on a mailing

Re: Newbie help - mod_perl use

2000-04-10 Thread Ron Beck
What does the following do for you... IfModule mod_perl.c Files *.pl SetHandler perl-script PerlHandler Apache::Registry Options ExecCGI /Files /IfModule The "Porting CGI Scripts" recommended including this in my httpd.conf file.

Re: windows 98 apache and perl

2000-04-10 Thread Aaron Johnson
Harald, Randy Kobes has been keeping the Win32 mod_perl crowd happy for the last few months with his compile that is available at: ftp://theoryx5.uwinnipeg.ca/pub/other/ (the link is on the perl.apche.org home page as well :^) ). Jeffery Baker has a version as well, but it is not as up to

Re: [OT] anchoring regexp

2000-04-10 Thread J. Horner
On Mon, 10 Apr 2000, Devin Ben-Hur wrote: $ diff first anchored 1c1 sub first { --- sub anchored { 9a10 my $request = join(" ",$method,$uri); The only difference between your two benchmark subroutines are their names, and that the anchored one also composes your $request

Re: Newbie help - mod_perl use

2000-04-10 Thread J. Horner
On Mon, 10 Apr 2000, Ron Beck wrote: What does the following do for you... IfModule mod_perl.c Files *.pl SetHandler perl-script PerlHandler Apache::Registry Options ExecCGI /Files /IfModule The "Porting CGI Scripts" recommended

A path for Registry.pm (Against v1.22)

2000-04-10 Thread Tom Mornini
Reading through the Handling Errors section of the Eagle book, I was unable to use $ENV{REDIRECT_ERROR_NOTES} to report on errors generated by registry scripts. This patch corrects the problem in a clean, standard Apache way. I don't think this will step on any toes, since in the case of a

Re: [OT] anchoring regexp

2000-04-10 Thread Devin Ben-Hur
"J. Horner" wrote: Sorry, it is a Monday. I attached the right file. -- Devin Ben-Hur | President / CTO | mailto:[EMAIL PROTECTED] The eMarket Group | eMerchandise.com | http://www.eMerchandise.com 503/944-5044 x228 | "Where do you want to go today?" "Confutatis maledictis,

Re: front end proxy and virtual hosts

2000-04-10 Thread Tom Mornini
On Mon, 10 Apr 2000, Eric Cholet wrote: The front-end light server, serving static requests and proxying dynamic requests to a back-end modperl server, is well documented, except in the case of virtual hosts. How do you do it? Specifically, do you setup virtual hosts on the backend server?

Re: [OT] anchoring regexp

2000-04-10 Thread Devin Ben-Hur
"J. Horner" wrote: Sorry, it is a Monday. I attached the right file. You're problem is that you have toomuch other junk in addition to the statements you're trying to compare. Also, the strings you're matching against are all so short that you wont see much difference between an anchored and

A patch for Registry.pm (Against v1.22) (fwd)

2000-04-10 Thread Tom Mornini
Sorry for the repost. I typo'd in the Subject line(!) and I thought that the message might get skipped over. --- Original message Reading through the Handling Errors section of the Eagle book, I was unable to use $ENV{REDIRECT_ERROR_NOTES} to report on errors generated by registry scripts. This

Re: Apache::Cookie problems

2000-04-10 Thread Alvar Freude
Hi! get-cookie.html -- % use Apache::Cookie; my $cookie_ref = Apache::Cookie-fetch; my $conf_cookie = $cookie_ref-{conf}; my %hash = $conf_cookie-value; ^^^ thats it, now I understand! many thanks, it was too late last night for me

Re: OT: (sort of) AuthDBMUserFile

2000-04-10 Thread Stas Bekman
On Mon, 10 Apr 2000, Bill Jones wrote: AuthDBMUserFile Is there a difference between DBM and GDBM? I always thought they were the same... I found sleepcat (DB) and GDBM, but where is DBM? perldoc GDBM_File: DESCRIPTION GDBM_File is a module which allows

Re: OT: (sort of) AuthDBMUserFile

2000-04-10 Thread Leslie Mikesell
According to Stas Bekman: On Mon, 10 Apr 2000, Bill Jones wrote: AuthDBMUserFile Is there a difference between DBM and GDBM? I always thought they were the same... I found sleepcat (DB) and GDBM, but where is DBM? sleepycat == berkeley db (a product of sleepycat.com) gdbm

Re: IPC::Semaphore permission denied question

2000-04-10 Thread Jeffrey W. Baker
On Mon, 10 Apr 2000, Jeff Gleixner wrote: Been running a mod_perl/Mason enabled server for a while, now I want to change the owner of the process to "www", from "nobody". In doing so I get: Permission denied at /usr/local/lib/perl5/site_perl/5.005/Apache/Session/SysVSemaphoreLocker.pm

RE: Deprecated warnings in Apache::DBI

2000-04-10 Thread Ken Williams
[EMAIL PROTECTED] (Paul G. Weiss) wrote: Well if it is lexical shouldn't it suppress the warnings anyhow? Remember that the 'use' is lexically inside the BEGIN block where I have the pragma. Yeah, but the line producing the warning isn't, and that's what counts for lexicals. Any in any case:

Apache::Request

2000-04-10 Thread John S. Evans
I'm looking for some help/advice with Apache::Request. I'm currently using Apache::Request to parse the POST that is used to upload a bunch of files to our server. The problem I'm running into is that I seem to be running out of file descriptors over a long period of time, if a large number of

Apache::Request

2000-04-10 Thread John S. Evans
I'm looking for some help/advice with Apache::Request. I'm currently using Apache::Request to parse the POST that is used to upload a bunch of files to our server. The problem I'm running into is that I seem to be running out of file descriptors over a long period of time, if a large number of

A better patch for Registry.pm

2000-04-10 Thread Tom Mornini
I missed an opportunity to set $r-notes('error-notes') if there was an error at compile-time. This patch includes both run-time and compile-time patches. *** Registry.pm Tue Mar 14 23:55:28 2000 --- RegistryTom.pm Mon Apr 10 17:45:57 2000 *** *** 127,132 --- 127,133

Segfaults with RH6.1, mod_perl, perl 5.6.0, and apache 1.3.12

2000-04-10 Thread Benjamin Reed
I'm getting segfaults with a RedHat 6.1 system. I've tried mod_perl 1.22, as well as a CVS snapshot from today, and I pretty much get the same thing either way. I would appreciate it if anyone could help me out on this, it's driving me nuts. Here's my system: RedHat 6.1 (with all updates)

cvs commit: modperl-site index.html

2000-04-10 Thread cholet
cholet 00/04/10 03:15:12 Modified:.index.html Log: Better link for modperl distro Revision ChangesPath 1.49 +3 -3 modperl-site/index.html Index: index.html === RCS file:

cvs commit: modperl-site index.html

2000-04-10 Thread sbekman
sbekman 00/04/10 03:37:48 Modified:.index.html Log: cvs snapshot link + moved the link to the guide as requested Revision ChangesPath 1.50 +12 -6 modperl-site/index.html Index: index.html

cvs commit: modperl Changes

2000-04-10 Thread cholet
cholet 00/04/10 07:13:42 Modified:.Changes Log: document change to Apache::URI::port() Revision ChangesPath 1.462 +3 -0 modperl/Changes Index: Changes === RCS file:

cvs commit: modperl Changes

2000-04-10 Thread cholet
cholet 00/04/10 07:16:11 Modified:.Changes Log: typo Revision ChangesPath 1.463 +1 -1 modperl/Changes Index: Changes === RCS file: /home/cvs/modperl/Changes,v retrieving