Re: ./httpd -l

2000-04-09 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

First argument to Apache::Cookie->new

2000-04-09 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

[RFC] mod_perl Guide/book -- the future

2000-04-09 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 abov

Re: memory leak during server graceful restarts

2000-04-09 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 mod

./httpd -l

2000-04-09 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

Apache::URI port() problem

2000-04-09 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 $uri

Re: Mod_Perl install - "no apxs" error -- COMPILED AND WORKING !!!

2000-04-09 Thread Kenneth Frankel
Finally installed!!! Sources Of Problems: * I was so focused on "no apxs" messages in mod_perl, I didnt question my custom build scripts that built mod_perl and Apache ... for two days! Scripts ran my apache's Configure after building mod_perl, wiping out mod_perl's changes to

Re: PATCH for Apache::AuthCookie to overwrite the login_form display

2000-04-09 Thread Ken Williams
[EMAIL PROTECTED] (Gerald Richter) wrote: >Hi Ken, > >I use your Apache::AuthCookie in an application where the way to display the >login form via the custon_response does not fit my needs. Instead the normal >ContentHandler has to display th login form. I have made a simple patch to >Apache::Auth

Re: Apache::Cookie problems

2000-04-09 Thread Rajesh Kumar Mallah
perldoc Apache::Cookie says value Get or set the values of the cookie: 1.my $value = $cookie->value; 2.my @values = $cookie->value; 3.$cookie->value("string"); 4.$cookie->value(\@array); so if you set a array ref in 4 you retriev

PATCH for Apache::AuthCookie to overwrite the login_form display

2000-04-09 Thread Gerald Richter
Hi Ken, I use your Apache::AuthCookie in an application where the way to display the login form via the custon_response does not fit my needs. Instead the normal ContentHandler has to display th login form. I have made a simple patch to Apache::AuthCookie that splits up the call to custom_respons

Apache::Cookie problems

2000-04-09 Thread Alvar Freude
Hi, I have some problems in setting and getting back Cookie Values with Apache::Cookie. I'm setting a cookie with Apache::Cookie and it seems that the cookie is set correct: my $c = Apache::Cookie->new($r, -name=> 'conf', -value

Core dump on startup

2000-04-09 Thread Robert Jenks
Title: Core dump on startup I'm having problems with httpd core dumping during startup and have been completely unable to track it down.  Sometimes it will start up fine and other times it will core dump.  Any ideas, hints, etc.. would be GREATLY appreciated. I'm running:     VALinux/RedH

Re: [RFC] Exceptions addition to the guide

2000-04-09 Thread Autarch
On Sun, 9 Apr 2000, Matt Sergeant wrote: > For similar exception handling techniques, see the Try module, the > Exception module and the Error module, all on CPAN. There is no Exception module on CPAN? If you're referring to my code, it's not yet on CPAN because I don't think I can justify atte

Re: [newbie] diffs and cvs

2000-04-09 Thread Ken Williams
[EMAIL PROTECTED] (Stas Bekman) wrote: >It's much easier than starting with a real CVS server if you do that for >the first time. But it worth the hassle, if you want to use open source >software and live on the cutting edge. For me it's more than that - even if you don't want to use the latest v

mod_perl and AuthenDBI headaches

2000-04-09 Thread Drew Degentesh
Hello, My setup is: Redhat 6.1 (Linux 2.2.12-20RS ) Apache 1.3.12 (compiled from source) mod_perl: 1.12 (compiled from source) ApacheDBI-0.87 DBI-1.13 mysql Ver 9.36 Distrib 3.22.27 (from distribution) perl 5.005_03 (from distribution)

Re: [newbie] diffs and cvs

2000-04-09 Thread Billy Donahue
On Sun, 9 Apr 2000 [EMAIL PROTECTED] wrote: > Date: Sun, 9 Apr 2000 12:21:39 EDT > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: [newbie] diffs and cvs > > I'll probably never be applying a lot of the diffs I see > here, but I have to wonder, what are they made for? > > They only t

Re: [newbie] diffs and cvs

2000-04-09 Thread Stas Bekman
On Sun, 9 Apr 2000, Matt Sergeant wrote: > On Sun, 9 Apr 2000, Stas Bekman wrote: > > > > I'll probably never be applying a lot of the diffs I see > > > here, but I have to wonder, what are they made for? > > > > > > They only thing I know is they aren't made by diff for ed. > > > > > > Oh, an

Re: [newbie] diffs and cvs

2000-04-09 Thread Matt Sergeant
On Sun, 9 Apr 2000, Stas Bekman wrote: > > I'll probably never be applying a lot of the diffs I see > > here, but I have to wonder, what are they made for? > > > > They only thing I know is they aren't made by diff for ed. > > > > Oh, and is there a place in the Guide for "getting the latest >

Re: [newbie] diffs and cvs

2000-04-09 Thread Stas Bekman
> I'll probably never be applying a lot of the diffs I see > here, but I have to wonder, what are they made for? > > They only thing I know is they aren't made by diff for ed. > > Oh, and is there a place in the Guide for "getting the latest > release from CVS," as is often recommended to mod_er

Re: Sometimes stdout ends in the error_log!

2000-04-09 Thread Joshua Chamas
Give me the Apache::ASP page, and I'll try to duplicate the problem on my end. --Joshua Dan McCormick wrote: > > I've encountered a similar problem, in which 'die' statements that > should never be called end up printing to the error log. Recently I > even did > > if (0) { die "whoops" } > >

Re: Apache::ASP Install - Need help

2000-04-09 Thread Joshua Chamas
Wimpy wrote: > > Hello > I installed ASP for apache according to the readme. > I have a linux box with slackware 7.0 and 2.2.14 > When I try to look at asp code, it give me the <% and everything between > them. > What could be wrong? > Thanks > JIm You probably haven't configured AllowOverride A

Re: HTML glitch on perl.apache.org

2000-04-09 Thread Eric Cholet
On Sun, Apr 09, 2000 at 02:32:37PM -0400, Dan McCormick wrote: > FYI, there's a > missing from the perl.apache.org main page at the line: > >Latest stable release is 1.22, get it from this > site or from href="http://www.cpan.org/ CPAN <-- HERE > > > > It causes the page to read >

[RFC] Exceptions addition to the guide

2000-04-09 Thread Matt Sergeant
This is the 2nd attempt, at Stas' request I'm pasting the whole thing here so you can reply and/or edit. =head1 Exception Handling for mod_perl Provided here are some guidelines for S exception handling for mod_perl usage, although the technique presented here applies to all of your perl program

Re: Mod_Perl install - "no apxs" error

2000-04-09 Thread Buddy Lee Haystack
Some cut & paste from previous messages... For RedHat DSO specific steps in the mod_perl guide see: http://perl.apache.org/guide/install.html#Installing_separate_Apache_and_m No need to recompile Apache. My DSO setup works quite well! **EDIT the "/etc/httpd/conf/httpd.conf" file #uncom

Re: Sometimes stdout ends in the error_log!

2000-04-09 Thread Dan McCormick
I've encountered a similar problem, in which 'die' statements that should never be called end up printing to the error log. Recently I even did if (0) { die "whoops" } and a "whoops" error message appeared in the error log. Even weirder, if (1) { print "hello" } else { die "goodbye" } output

Pls discard prev msg

2000-04-09 Thread Fred Xia
Sorry for the laziness. I read the Apache::Cookie manual after posted the question. Fred __ Get Your Private, Free Email at http://www.hotmail.com

Diff between Apache::Cookie and CGI::Cookie

2000-04-09 Thread Fred Xia
Can anyone tell what's the difference between Apache::Cookie and CGI::Cookie? The eagle book has examples of using CGI::Cookie. Thanks. Fred Xia __ Get Your Private, Free Email at http://www.hotmail.com

my first mod_perl works but ...

2000-04-09 Thread Peter J. Schoenster
Hello, Nearly all my work has been on virtual servers and recently our hosting company (iserver) began to support mod_perl on their freebsd servers ... so other than one time in the past I have not had the opportunity to write code for mod_perl (except on our intranet where it has been for pe

HTML glitch on perl.apache.org

2000-04-09 Thread Dan McCormick
FYI, there's a > missing from the perl.apache.org main page at the line: Latest stable release is 1.22, get it from this site or from http://www.cpan.org/ CPAN <-- HERE It causes the page to read Latest stable release is 1.22, get it from this site or from mod_perl programmers. Wh

Mod_Perl install - "no apxs" error

2000-04-09 Thread Kenneth Frankel
I have tried almost every variation of installation instructions, and all have failed. I can't find anything in the FAQs so please help me. Situation: Redhat 6.1 Linux 2.2.12, with pre-installed Apache httpd. Removed pre-existing httpd from PATH. Installing new Apache to different path. So

Re: [newbie] diffs and cvs

2000-04-09 Thread Mark Imbriaco
On Sun, 9 Apr 2000 [EMAIL PROTECTED] wrote: > I'll probably never be applying a lot of the diffs I see > here, but I have to wonder, what are they made for? > > They only thing I know is they aren't made by diff for ed. They're for use with patch(1). > Oh, and is there a place in the Guide fo

[newbie] diffs and cvs

2000-04-09 Thread JoshNarins
I'll probably never be applying a lot of the diffs I see here, but I have to wonder, what are they made for? They only thing I know is they aren't made by diff for ed. Oh, and is there a place in the Guide for "getting the latest release from CVS," as is often recommended to mod_ers with trouble

Sometimes stdout ends in the error_log!

2000-04-09 Thread René Seindal
I have a problem thats bothering me. Sometimes one of the httpd childs start to send normal output to the error_log, and browsers report 'document contains no data'. Normally only one child does it, and the others respond normally, meaning that the user sees sporadic failure. Is this a known pro

ANNOUNCE: mod_perl Guide ver 1.22

2000-04-09 Thread Stas Bekman
The mod_perl Guide version 1.22 is out. Read it online at http://perl.apache.org/guide or grab the POD sources from CPAN: file: $CPAN/authors/id/S/ST/STAS/Apache-mod_perl_guide-1.22.tar.gz size: 423613 bytes md5: 05fe69c80269e561490ad41a72b6a412 Please allow up to six hours for your favo

Apache::ASP Install - Need help

2000-04-09 Thread Wimpy
Hello I installed ASP for apache according to the readme. I have a linux box with slackware 7.0 and 2.2.14 When I try to look at asp code, it give me the <% and everything between them. What could be wrong? Thanks JIm

Re: [RFC] Exceptions addition for the guide.

2000-04-09 Thread Matt Sergeant
On Sat, 8 Apr 2000, Autarch wrote: > On Sat, 8 Apr 2000, Matt Sergeant wrote: > > > I've written a short document on exception handling for the guide, even > > though it's not particularly mod_perl specific, Stas thinks it would be a > > good addition. Take a look at it, and let me know if there