RE: non-DSO mod_perl, Embperl, and AIX not working

2000-06-14 Thread Shane Nay
Those are internal functions to apache, like helper functions. Your probably missing an object file in your ld command, I don't have it open right now, but just run nm blah.o|grep ap_palloc on all the object files running around in the apache directory, and you'll find it. (Notice that most of

ANNOUNCE: new draft mod_perl quick reference card

2000-06-14 Thread Andrew Ford
I have just updated the mod_perl quick reference card for mod_perl version 1.24 and would be grateful for any comments and corrections before I announce it more widely and put it in the normal location. This draft version can be downloaded from:

Re: Logging response times

2000-06-14 Thread Barrie Slaymaker
Eric Jain wrote: I'm sure there is a better method, which also is able to log more detailed than just in seconds... Haven't used it under mod_perl, but Time::HiRes is available: http://search.cpan.org/search?mode=modulequery=Time%3A%3AHiRes - Barrie

RE: Where do I put my code?

2000-06-14 Thread Abraham, Thomas (M.)
I would _hope_ that your web server would NOT be able to read your /etc/shadow file. /etc/shadow should only be readable by root, and your web server should not be running as root. You've probably got a permissions issue. My suggestion would be to not use /etc/shadow to authenticate against.

unauthentication

2000-06-14 Thread Jonas Nordström
We have implemented an intranet gateway in mod-perl, where external clients are authenticated against our NT-domain, that works fine. I want to add the possibility to "log-out", ie, to "de-authenticate" the user, so that the next time he tries to access the gateway, he will be prompted to convey

XSL-handler

2000-06-14 Thread Jonas Nordström
Is there some form of XSL-module for mod-perl? I want to send some XML as a response to the Apache-server and then have it picked up by an Apache module that uses an XSL-template to render it in HTML or WML based on the original URL. Is that possible? Jonas Nordström

uninitialized value at ... CGI/Cookie.pm line 70.

2000-06-14 Thread Ronald Schmidt
The full warning message on our system (Solaris, Apache 1.3.3, mod_perl 1.21?, perl 5.005_02) is: [Tue Jun 13 17:37:25 2000] null: Use of uninitialized value at /usr/local/lib/perl5/5.00502/CGI/Cookie.pm line 70. We are porting perl/cgi scripts to run under Apache;:Registry and in the process

Re: unauthentication

2000-06-14 Thread Erich L. Markert
Unless you use a solution like Apache::AuthCookie, TicketAccess, etc. (where you issue an authorization ticket) inconjunction with your NT-domain then the answer to your question is no. The only way to reliably logout someone is to have them shutdown their browser. Reason being is that

RE: How do I get modperl and php to coexist?

2000-06-14 Thread Ahrendt, Robert
I had some small problems running mod_perl and php3 together on Solaris. I downloaded php4.0.0 and have not had any other problems. I hope upgrading to 4 wont cause you any problems. -Robert -Original Message- From: Rob Tanner [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 13, 2000 5:18

RE: XSL-handler

2000-06-14 Thread Matt Sergeant
On Wed, 14 Jun 2000, Kip Hampton wrote: Have a look at AxKit. It does what you are looking for and quite a bit more. http://xml.sergeant.org/axkit/ Or visit a CPAN nearest you for a slightly dated version. Don't go to cpan yet - any version below 0.90 contains a deprecated API. I'll be

Re: uninitialized value at ... CGI/Cookie.pm line 70.

2000-06-14 Thread Drew Taylor
Ronald Schmidt wrote: The full warning message on our system (Solaris, Apache 1.3.3, mod_perl 1.21?, perl 5.005_02) is: [Tue Jun 13 17:37:25 2000] null: Use of uninitialized value at /usr/local/lib/perl5/5.00502/CGI/Cookie.pm line 70. Which line is #70 in the script you posted? It's kind

RE: uninitialized value at ... CGI/Cookie.pm line 70.

2000-06-14 Thread Ronald Schmidt
The warning seems to be coming from inside the standard module CGI::Cookie - not from inside the driver code included with my message. Ronald Schmidt -Original Message- From: Drew Taylor [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 14, 2000 9:42 AM To: Ronald Schmidt Cc: '[EMAIL

RE: XSL-handler

2000-06-14 Thread Jonas Nordström
Thanks for the AxKit tip! I have some problems though. I used AxKit-0.94, but it doesn't work yet. My http.conf configuration: PerlModule AxKit Location /~jon/xml SetHandler perl-script PerlHandler AxKit # Setup style type mappings AxAddStyleMap text/xsl

RE: handlers on CPAN

2000-06-14 Thread HORNER, J. (JH8)
I have a simple, yet pretty cool (at least in my opinion) PerlAuthenHandler to provide a method to time users out after 15 minutes of inactivity in a realm. It is still beta, but it works well, and I have it in testing here. I hope it will be called Apache::TimeOut, but I still haven't gotten

Re: uninitialized value at ... CGI/Cookie.pm line 70.

2000-06-14 Thread darren chamberlain
Ronald Schmidt ([EMAIL PROTECTED]) said something to this effect: The full warning message on our system (Solaris, Apache 1.3.3, mod_perl 1.21?, perl 5.005_02) is: [Tue Jun 13 17:37:25 2000] null: Use of uninitialized value at /usr/local/lib/perl5/5.00502/CGI/Cookie.pm line 70. We are

Apache::TimeOut module

2000-06-14 Thread J. J. Horner
I wrote a module, now available in very beta form, to provide timeouts to .htaccess protected directories. Please download from: http://www.2jnetworks.com/~jhorner/TimeOut-0.21.tar.gz and give me feedback. I hope to submit this to CPAN soon, if warranted. Thanks, JJ -- J. J. Horner Apache,

Re: XSL-handler

2000-06-14 Thread Honza Pazdziora
On Wed, Jun 14, 2000 at 02:27:45PM +0100, Matt Sergeant wrote: Don't go to cpan yet - any version below 0.90 contains a deprecated API. I'll be uploading a newer version to CPAN once I'm happy with the examples and documentation (read: not yet). And axkit.org should come online fairly soon

RE: Apache::TimeOut module

2000-06-14 Thread Abraham, Thomas (M.)
Apache::TimeOut sounds vague to me. It doesn't give me a clue as to what it does. Maybe something along the lines of Apache::AuthExpire would be more descriptive ? Thomas -Original Message- From: J. J. Horner [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 14, 2000 11:29 AM To:

RE: Apache::TimeOut module

2000-06-14 Thread HORNER, J. (JH8)
Makes sense. I guess I need to rethink the name, but then that is why I'm here. Thanks for the suggestion. Definitely note-worthy. JJ -Original Message- From: Abraham, Thomas (M.) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 14, 2000 11:38 AM To: 'J. J. Horner'; [EMAIL PROTECTED]

Re: Segment fault in Perl_pp_leavetry

2000-06-14 Thread Mike McLagan
On Fri, 9 Jun 2000 10:28:14 -0700 (PDT), Doug MacEachern wrote: try this: (gdb) source mod_perl-x.xx/.gdbinit (gdb) curinfo hopefully that will print the filename:line of the code Perl was running here. maybe that will shed some light. (gdb) set args -X (gdb) run Starting program:

Re: Modperl Test Problem and Redhat6.2 Apache::DBI strange thing. Thanks.

2000-06-14 Thread Steven Zhu
Thank you for your quick answer. Is any way to find the thread about this issue quickly? I got most recent modperl and apache. I did all as you said as root. But test is always problem. I has another machine. The machine has no problem for any version modperl and apache at all, always pass test.

proxy requests via mod_proxy

2000-06-14 Thread dave
Hi, I'm using a "light weight" apache server compiled with mod_proxy to pass dynamic requests off to my "heavy" mod_perl enabled server. However, mod_proxy isn't forwarding the REMOTE_ADDR the request originated from in the headers. I recall reading reports that this is/was a known problem.

Re: Modperl Test Problem and Redhat6.2 Apache::DBI strange thing. Thanks.

2000-06-14 Thread Drew Taylor
Steven Zhu wrote: Thank you for your quick answer. Is any way to find the thread about this issue quickly? I got most recent modperl and apache. I did all as you said as root. But test is always problem. I has another machine. The machine has no problem for any version modperl and apache

Re: proxy requests via mod_proxy

2000-06-14 Thread Mads Toftum
Take a look at ftp://ftp.netcetera.dk/pub/apache/mod_proxy_add_forward.c It could be a way to solve your problem. vh Mads Toftum -- `Darn it, who spiked my coffee with water?!' - lwall

Re: proxy requests via mod_proxy

2000-06-14 Thread Kip Cranford
On: Wed, 14 Jun 2000 12:30:50 EDT [EMAIL PROTECTED] wrote: Hi, I'm using a "light weight" apache server compiled with mod_proxy to pass dynamic requests off to my "heavy" mod_perl enabled server. However, mod_proxy isn't forwarding the REMOTE_ADDR the request originated from in the headers. I

RE: non-DSO mod_perl, Embperl, and AIX not working

2000-06-14 Thread Greg Estep
Before I sent my original message, I tracked down all the symbols, and their object/library files. I added several ".o"'s and ".a"'s from the apache and mod_perl source trees, a couple from "/usr/lib/perl" and a couple from /usr/lib via '-lxxx'. After I got a clean link (there were some

Re: XSL-handler

2000-06-14 Thread Matt Sergeant
On Wed, 14 Jun 2000, Honza Pazdziora wrote: On Wed, Jun 14, 2000 at 02:27:45PM +0100, Matt Sergeant wrote: Don't go to cpan yet - any version below 0.90 contains a deprecated API. I'll be uploading a newer version to CPAN once I'm happy with the examples and documentation (read: not

RE: XSL-handler

2000-06-14 Thread Matt Sergeant
On Wed, 14 Jun 2000, [iso-8859-1] Jonas Nordström wrote: Thanks for the AxKit tip! I have some problems though. I used AxKit-0.94, but it doesn't work yet. My http.conf configuration: PerlModule AxKit Location /~jon/xml SetHandler perl-script PerlHandler AxKit # Setup

Re: proxy requests via mod_proxy

2000-06-14 Thread Tim Bishop
Kip says: I currently use a module written by Ask Bjoern Hansen called proxy_add_forward. Compiling this into your proxy server adds an X-Forwarded-For header to the proxy requests which contains the ip of the client you're interested in. You can find that module here

Re: non-DSO mod_perl, Embperl, and AIX not working

2000-06-14 Thread Jens-Uwe Mager
On Wed, Jun 14, 2000 at 12:21:34AM +, Shane Nay wrote: Those are internal functions to apache, like helper functions. Your probably missing an object file in your ld command, I don't have it open right now, but just run nm blah.o|grep ap_palloc on all the object files running around in

send_http_header and subrequests

2000-06-14 Thread Paul J. Lucas
The second example on p. 128 of the Eagle book sets the content type and send the HTTP headers itself before running a subrequest. However, on p. 468, the documentation for the run() method says in part: When you invoke the subrequest's

Re: Apache on Nt

2000-06-14 Thread Daniel Watkins
josephbifano wrote: Hi, I have Apache running on a windows NT workstation and need to get Mod_perl and HTML::MASON working so I can do development on it. I can not get mod_perl to load. I have tried several things with no luck. I am using sp5 and one of the docs say to use sp3.

Re: non-DSO mod_perl, Embperl, and AIX not working

2000-06-14 Thread Shane Nay
This is not the right way to do it - this would link in dead duplicates of the code into the embperl shared object, possibly creating duplicate global variables only visible in the embperl object that are not the same as the ones used in the Apache main httpd executable. You must use proper

[OT-slightly] doc management

2000-06-14 Thread Bakki Kudva
I am developing a simple web based document management app and would like any input or critique of the following technique. I am thinking of using a java applet/application at the client end to be able to display things such as tree widgets, tiff viewer etc. Also the users, once authenticated

RE: non-DSO mod_perl, Embperl, and AIX not working

2000-06-14 Thread Greg Estep
I don't have a httpd.exp in /usr/local/apache/libexec. I assume that is because I am not using DSO for any of my apache modules. I used -bI:apache-source-dir/src/support/httpd.exp and got a clean compile/link. When I try 'make test', I get: $ make test PERL_DL_NONLAZY=0 /usr/local/bin/perl

Re: non-DSO mod_perl, Embperl, and AIX not working

2000-06-14 Thread Jens-Uwe Mager
On Wed, Jun 14, 2000 at 05:37:59PM -0400, Greg Estep wrote: I don't have a httpd.exp in /usr/local/apache/libexec. I assume that is because I am not using DSO for any of my apache modules. I used -bI:apache-source-dir/src/support/httpd.exp and got a clean compile/link. Well, Apache's

Apache-AuthExpire-0.30.tar.gz

2000-06-14 Thread J. J. Horner
Apache::TimeOut has become Apache::AuthExpire. Please critique at http://www.2jnetworks.com/~jhorner/Apache-AuthExpire-0.30.tar.gz I appreciate your help. Any comments are welcome, including name issues, etc. Thanks JJ -- J. J. Horner Apache, Perl, Unix, Linux [EMAIL PROTECTED]

Re: Apache::ASP on Unix

2000-06-14 Thread Paul Lindner
On Wed, Jun 14, 2000 at 02:36:44PM -0300, Marcelo Souza wrote: Hi, Does anyone is using this module? Many are.. Is it full compatible with IIS for asp pages? No. It does not use visual basic. It uses Perl. Otherwise, all of the same concepts are there: Application, Session,

RE: PerlAuthenHandler

2000-06-14 Thread Greg Estep
When you installed mod_perl on the Stronghold server, did you indicate that you wanted to install support for perl authentication handlers? (I think adding PERL_AUTHEN=1 to the "perl Makefile.PL" command is the way to do this.) Sorry to be so vague, but since I use "EVERYTHING=1" I really have

RE: non-DSO mod_perl, Embperl, and AIX not working

2000-06-14 Thread Greg Estep
When I do "dump -nv httpd | egrep 'ap_palloc|ap_table'" I don't get any output. I went into the apache_1.3.12/src directory and manually compiled httpd with the same command issued by make with the addition of -bE:support/httpd.exp. The complete command looked like this: cc -DAIX=43

Re: XSL-handler

2000-06-14 Thread Joshua Chamas
Jonas Nordström wrote: Is there some form of XSL-module for mod-perl? I want to send some XML as a response to the Apache-server and then have it picked up by an Apache module that uses an XSL-template to render it in HTML or WML based on the original URL. Is that possible? If you want

corrupted output

2000-06-14 Thread Jonathan Vafai
Hi- I've been using mod_perl for a few months now. Our site just went into production, and now that we're getting a bit of use out of it, we're occasionally seeing people get pages with improperly formatted HTML and sometimes headers are showing up in the output, and the rest of the page gets

cvs commit: modperl/src/modules/perl mod_perl.c

2000-06-14 Thread dougm
dougm 00/06/14 18:42:49 Modified:.Changes src/modules/perl mod_perl.c Log: backed out $Apache::Server::ConfigTestOnly until proper Apache support is in place Revision ChangesPath 1.499 +3 -0 modperl/Changes Index: Changes