Re: changing query string

2001-01-24 Thread darren chamberlain
Vincent Apesa ([EMAIL PROTECTED]) said something to this effect on 01/23/2001: Hello all, I'm trying to modify the query string from the client before sending it off again. I would like to do something like so: http://www.xyz.com?one=1 and modify the uri to http://www.xyz.com?one=2

[OT] gdb and httpd (mod_perl, PHP)

2001-01-24 Thread Alexander Farber (EED)
Hi, I have a bit offtopic question: we have a problem enabling the PHP safe mode under Solaris 2.6 even though it works under Linux. This must be something very simple: everything works fine, but the uid for files is always 1 under Solaris... I tried looking into the source code, but haven't

Re: [OT] gdb and httpd (mod_perl, PHP)

2001-01-24 Thread Alexander Farber (EED)
Sorry! It was a FAQ from http://perl.apache.org/guide/debug.html#gdb_says_there_are_no_debugging_ However I couldn't find IFLAGS_PROGRAM = -m 755 -s or just " -s" anywhere in ~/src/apache_1.3.14/Makefile.tmpl so I had to edit the Makefile. (Stas, don't you want to correct The Guide

Re: [OT] XML::DOM

2001-01-24 Thread Jens-Uwe Mager
On Tue, Jan 23, 2001 at 02:49:44PM -0800, Paul J. Lucas wrote: On Tue, 23 Jan 2001, Matt Sergeant wrote: Its perl adding the -fno-rtti, FWIW, not your Makefiles. Then there's something odd about your Perl installation. Perl shouldn't be giving the option. How does Perl

Re: Compiling mod_perl 1.24 with the Sun Solaris C Compiler

2001-01-24 Thread Jens-Uwe Mager
On Tue, Jan 23, 2001 at 02:02:57PM -0800, Matisse Enzer wrote: This is a re-posting with a bit more information: I'm having trouble getting mod_perl 1.24 to compile using the Solaris compiler. Compiler Version is: Sun WorkShop 6 2000/04/07 C 5.1) OS is: Solaris 2.7

Re: Using rewrite...

2001-01-24 Thread Les Mikesell
- Original Message - From: "Tomas Edwardsson" [EMAIL PROTECTED] To: "Les Mikesell" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, January 22, 2001 3:01 AM Subject: Re: Using rewrite... The problem is that I can't find a way to send the request to a relevant port if the

Problem with Apache::ASP

2001-01-24 Thread isaac
Title: Problem with Apache::ASP Has anyone noticed that they get errors when trying to use else or elsif statements with Apache::ASP. If I form my statements like this: % if($foo eq bar){ % pbar % } % % elsif($foo eq bar2){ % pbar2 % } % I get syntax errors. syntax error at (eval 28498)

Re: Problem with Apache::ASP

2001-01-24 Thread G.W. Haywood
Hi there, On Tue, 23 Jan 2001, isaac wrote: Has anyone noticed that they get errors when trying to use else or elsif statements with Apache::ASP. Nope. If I form my statements like this: % if($foo eq Œbar¹){ % pbar % } % % elsif($foo eq Œbar2¹){ % pbar2 % } % Hmmm. What's

Re: Problem with Apache::ASP

2001-01-24 Thread Joshua Chamas
isaac wrote: Has anyone noticed that they get errors when trying to use else or elsif statements with Apache::ASP. If I form my statements like this: % if($foo eq ‘bar’){ % pbar % } % % elsif($foo eq ‘bar2’){ % pbar2 % } % I get syntax errors. ... Then I get no syntax

Re: File handles in mod_perl

2001-01-24 Thread G.W. Haywood
Hi there, On Tue, 23 Jan 2001, Barry Veinotte wrote: Besides die being a bad thing, is this gentleman right to tell me I have to loose my file opens and go with FileHandle ?? Yes and no. If your Apache child opens files and doesn't close them you will eventually run out of handles

Apache::Registry and variables...

2001-01-24 Thread Joseph Crotty
All, I read that if you run scripts under Apache::Registry, its a good idea to write memory leak proof code. I also read that one should "clean up their" globals. Any examples in Stas's guide or elsewhere of "cleaning up" globals or classic memory leaks associated with Apache::Registry.

Re: Apache::Registry and variables...

2001-01-24 Thread Paul
--- Joseph Crotty [EMAIL PROTECTED] wrote: I read that if you run scripts under Apache::Registry, its a good idea to write memory leak proof code. Since the code is resident in memory between calls to the script, it's a *very* good idea to be careful of such things. I also read that one

Apache.pm location on installation

2001-01-24 Thread Sinclair, Alan (CORP, GEAccess)
All, I have successfully installed mod_perl on Solaris. The mod_perl installation process has installed the Apache.pm module in the perl lib directory. Is that normal? I was expecting the Apache perl stuff to be installed under APACHE_PREFIX. Thanks!

RE: Apache.pm location on installation

2001-01-24 Thread Geoffrey Young
-Original Message- From: Sinclair, Alan (CORP, GEAccess) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 24, 2001 1:10 PM To: '[EMAIL PROTECTED]' Subject: Apache.pm location on installation All, I have successfully installed mod_perl on Solaris. The mod_perl

Re: Apache.pm location on installation

2001-01-24 Thread David McCabe
From: "Sinclair, Alan (CORP, GEAccess)" [EMAIL PROTECTED] Date: Wed, 24 Jan 2001 11:10:21 -0700 Subject: Apache.pm location on installation All, I have successfully installed mod_perl on Solaris. The mod_perl installation process has installed the Apache.pm module in the perl lib

Re:[Mason] ANNOUCE: HTML::Mason 0.896

2001-01-24 Thread Benjamin John Turner
At 5:49 PM -0800 1/5/2001, Jonathan Swartz wrote: Changes in 0.896: - Fixed bug preventing Mason from working with PerlFreshRestart. - Fixed use_reload_file to work as documented and not stat() source files. (submitted by Benjamin John Turner) Thanks for addressing this issue!

Problems whith Apache::Registry and CGI::Carp

2001-01-24 Thread Yohan Tordjman
Hi, I'm runing on apache 1.3.14, modperl 1.24_01, perl 5.6, latest CGI.pm when i use Apache::Request with my modperl scripts the httpds do segfault. when i use CGI::Carp too... someone have an idea ?

Verify DSO

2001-01-24 Thread Wang, Pin-Chieh
Any body know How to verify the Apache I just build is a DSO? I did ./configure --prefix=/usr/local/apache --enable-rule=SHARED_CORE Thanks PC

Re: Verify DSO

2001-01-24 Thread darren chamberlain
Wang, Pin-Chieh ([EMAIL PROTECTED]) said something to this effect on 01/24/2001: From: "Wang, Pin-Chieh" [EMAIL PROTECTED] To: "Mod_perl list (E-mail)" [EMAIL PROTECTED] Subject: Verify DSO Date: Wed, 24 Jan 2001 15:40:53 -0600 Any body know How to verify the Apache I just build is a DSO?

Re: Compiling mod_perl 1.24 with the Sun Solaris C Compiler

2001-01-24 Thread Matisse Enzer
Thanks, I'll try compiling perl with the Solaris compiler, and then Apache + mod_perl . At 2:44 PM +0100 1/24/01, Jens-Uwe Mager wrote: On Tue, Jan 23, 2001 at 02:02:57PM -0800, Matisse Enzer wrote: This is a re-posting with a bit more information: I'm having trouble getting mod_perl

DBI + MSsql Server

2001-01-24 Thread JOSE
Hi there! Does any body have an idea how to access MSsql server using DBI or other method. I've to build an application and I don't want to go to IIS so is there any way to work with Apache+Modperl in gnu-Linux and querying a NT box running MSsql. Thanks in advance Regards Jose Albert

Problem: Variables randomly un-set

2001-01-24 Thread junkmail
I'm running a CGI program under mod_perl, and am getting erratic behavior. Every 3 or 4 hits, a variable will be undefined. Fortunately, the program does enough sanity checks to barf when some vital data is missing... One variable that seems particularly prone to disappear is the $table variable

Re: Compiling mod_perl 1.24 with the Sun Solaris C Compiler

2001-01-24 Thread G.W. Haywood
Hi all, On Wed, 24 Jan 2001, Matisse Enzer wrote: Thanks, I'll try compiling perl with the Solaris compiler, and then Apache + mod_perl . Check the List archives for stuff about Solaris recently, I'm sure you'll find some useful pointers. 73, Ged.

Re: DBI + MSsql Server

2001-01-24 Thread Michael Peppler
[EMAIL PROTECTED] writes: Hi there! Does any body have an idea how to access MSsql server using DBI or other method. I've to build an application and I don't want to go to IIS so is there any way to work with Apache+Modperl in gnu-Linux and querying a NT box running MSsql. One

Apache::Status and custom menu_items

2001-01-24 Thread Christian Gilmore
I'm attempting to insert a custom menu item as described in the eagle book, pages 641-3. To my knowledge, I've properly coded, yet I don't see any change in the /perl-status output. Also, a number of modules I know are loaded, such as Apache::Resource and Tivoli::Apache::AuthenCache, don't show

Apache::ASP

2001-01-24 Thread Earle F. Ake
I have an application which I am using the perl based ASP for. All of my pages except for one as written using this. I need one using plain perl based cgi so the process runs as the user and not the web server for file security reasons. The problem is I need to get to some of the

Re: Apache::ASP

2001-01-24 Thread G.W. Haywood
Hi there, On Wed, 24 Jan 2001, Earle F. Ake wrote: open(OUT, "/tmp/debug.log"); Do you mean open(OUT, "/tmp/debug.log"); ? 73, Ged.

Re: Apache::ASP

2001-01-24 Thread Joshua Chamas
"Earle F. Ake" wrote: I have an application which I am using the perl based ASP for. All of my pages except for one as written using this. I need one using plain perl based cgi so the process runs as the user and not the web server for file security reasons. The problem is I need

Apache::ASP help!

2001-01-24 Thread Philippe Ratté
Hello :) My Apache::ASP is working; i've copied the ./site/eg/ dir to my htdocs, and all that works.. In my root dir, ( / ) i've made a simple ASP document. When I run it, it gives me the following errors: Errors Output Undefined subroutine Apache::ASP::date called at (eval 9) line 1. ,

Re: Apache::ASP help!

2001-01-24 Thread Joshua Chamas
Philippe Ratt wrote: Hello :) My Apache::ASP is working; i've copied the ./site/eg/ dir to my htdocs, and all that works.. In my root dir, ( / ) i've made a simple ASP document. When I run it, it gives me the following errors: Errors Output Undefined subroutine Apache::ASP::date

Re: Bug (easily fixable) in Apache::Server

2001-01-24 Thread Doug MacEachern
On Fri, 12 Jan 2001, Richard L. Goerwitz wrote: The mod_perl-1.24_01 ./src/modules/perl/Server.xs file is using a short int, which leads to ports between 32768 and 65535 (inclusive) turning up in Perl as negative numbers - thanks, this should fix the problem.. Index:

Re: Redirecting a multipart/form-data POST request

2001-01-24 Thread Doug MacEachern
On Tue, 16 Jan 2001, Darren Stuart Embry wrote: On 2001-01-15, Ask Bjoern Hansen [EMAIL PROTECTED] wrote: When I do neither, i.e., leave the POST request as is and use the standard redirect mechanism, the browser hangs and the server actually does not send the redirect until I hit

Re: cannot execute my cgi perls

2001-01-24 Thread Doug MacEachern
On Wed, 17 Jan 2001, G.W. Haywood wrote: Hi G, On Wed, 17 Jan 2001, Gustavo Vieira Goncalves Coelho Rios wrote: [Wed Jan 17 18:04:41 2001] [error] [client 192.168.1.11] Premature end of script headers: /home/grios/.public_html/cgi-bin/bench3.cgi Who knows? Something isn't finishing

Re: detecting Apache::Log et al

2001-01-24 Thread Doug MacEachern
On Thu, 18 Jan 2001, Matt Sergeant wrote: I know we've been over this before, but I think I've forgotten! How do I detect if Apache::Log got compiled in a module's Makefile.PL ? I can't do eval("use Apache::Log;") because Apache/Log.pm gets installed regardless, its just that the Log.so

Re: mod_perl confusion.

2001-01-24 Thread Doug MacEachern
this is supposed to be fixed (again) in 1.23. an alternative is to switch Apache::Registry to Apache::RegistryNG which uses $r-filename rather than $r-uri for the namespace. On Thu, 4 Jan 2001, Tom Karlsson wrote: Hello All, I've recently looked through the mod_perl mail archives in order

Re: dir_config at startup: I know what doesn't work, so what does?

2001-01-24 Thread Doug MacEachern
On Mon, 22 Jan 2001, Christopher L. Everett wrote: variable at server startup, using my startup.pl: ... $config{DBI_DSN} = Apache-server-dir_config('DBI_DSN'); ... PerlSetVar DBI_DSN "DBI:mysql:exchange_db" is your PerlSetVar before or after PerlRequire for startup.pl? it must come before

Re: header_out/AUTH_REQUIRE

2001-01-24 Thread Doug MacEachern
On Mon, 22 Jan 2001, Thomas Plathe wrote: Hello, In my PerlAuthenHandler I need to send back the WWW-Authenticate-line. I use $r-headers_out("WWW-Authenticate" = 'basic realm = "MyName"'). But if i returned from the Handler with "return AUTH_REQUIRED" , Apache doesn't send this line in

Re: Problem with Apache::LogFile

2001-01-24 Thread Doug MacEachern
i think you need to compile with perl Makefile.PL PERL_DIRECTIVE_HANDLERS=1 or EVERYTHING=1 On Tue, 23 Jan 2001, Liddick, Scott wrote: I am currently writing a PerlLogHandler that will (hopefully) write request info to a rolling logfile in a pipe delimeted format for hourly loading via

Re: cvs commit: modperl-2.0/pod modperl_style.pod

2001-01-24 Thread Doug MacEachern
On Wed, 17 Jan 2001, Ask Bjoern Hansen wrote: On 2 Jan 2001 [EMAIL PROTECTED] wrote: =item Avoid inherting from certain modules Exporter To void inherting BAutoLoader::AUTOLOAD instead of this: @MyClass::ISA = qw(Exporter); use this:

cvs commit: modperl/src/modules/perl Log.xs

2001-01-24 Thread dougm
dougm 01/01/24 23:43:05 Modified:.Changes ToDo src/modules/perl Log.xs Log: Apache::Server-loglevel can now be modified Revision ChangesPath 1.572 +3 -0 modperl/Changes Index: Changes