AGAIN - mod_rewrite escaping ???

1999-11-01 Thread raptor
hi, I've tried : RewriteMap escape-map prg:/path/to/file/escape.pl RewriteRule ^(.*)\/index\.html$ /tohtml.pl?path=${escape-map:$1} when the script is as follow for ex.: $| = 1; while() { s//_/g; print $_}; or similar it doesn't work (more precisely if I use or STDIN ?!?!) If I use

Re: Generic Server

1999-11-01 Thread Dave DeMaagd
Siracusa [EMAIL PROTECTED] wrote: http://www.slashdot.org/code.shtml It's a horror show, truly. Return values go unchecked, quoting operators are ignored, subroutine naming conventions are nonexistent, "use" statements are buried in subroutines as if they were runtime directives, etc.

Re: setting cookies?

1999-11-01 Thread Wyman Eric Miles
I should have realized that. I managed to architect a kludge that sets the cookie but causes a fragment of the HTTP header to appear in the browser the first time. For now, I'm content with it. The next question is, when the cookie expires 2 hours later, the initial SecurID user/password has

Re: Session state without cookies

1999-11-01 Thread Randal L. Schwartz
"Trei" == Trei B [EMAIL PROTECTED] writes: Trei On 30 Oct 1999, Randal L. Schwartz wrote: You have three main choices for maintaining a "session": 1) cookies 2) mangled URLs 3) hidden fields in forms If "static HTML" can't do #2 or #3, you are stuck with #1. No amount of module

RE: no luck uploading

1999-11-01 Thread Tubbs, Derric L
Yes, it is. Here is the form: form action="/maintenance/pmr" method="post" enctype="multipart/form-data" input type="hidden" name="action" value="newupload" input type="file" name="dmchart" input type="submit" value="Submit" /form -- From: Ken Y. Clark[SMTP:[EMAIL

Re: Session state without cookies

1999-11-01 Thread Trei B.
On 1 Nov 1999, Randal L. Schwartz wrote: There is no "session ID". You get one of the above. HTTP doesn't have "sessions". It has individual requests. Indeed there are no "sessions" with HTTP. I did not assume that there is some magical "session ID" environment variable that Apache

Using Apache::Util outside mod_perl

1999-11-01 Thread John Siracusa
Can I use the Apache::Util functions outside mod_perl? Here's an attempt: % cat test.pl use Apache::Util; print Apache::Util::escape_html('foo'); % perl test.pl Undefined subroutine Apache::Util::escape_html called at test.pl line 3. I'd like to have access to the fast URL/HTML escaping

Re: AGAIN - mod_rewrite escaping ???

1999-11-01 Thread Spidaman The Defenestrator
Grr, this isn't a mod_perl question so I'd almost rather not respond at all... but since you don't state the version of Apache, I'll assume you are using an Apache prior to v 1.3.6 'cause that's when the escape function was implemented. Meanwhile, back at the ranch... hi, I've tried :

Re: Using Apache::Util outside mod_perl

1999-11-01 Thread John Siracusa
On 11/1/99 12:19 PM, Ken Y. Clark wrote: I'd like to have access to the fast URL/HTML escaping subroutines in "regular" perl scripts, if possible. isn't that functionality available in CGI? Yes, but AFAIK they're plain perl implementations rather than stubs for faster C versions. -John

Re: Using Apache::Util outside mod_perl

1999-11-01 Thread Tobias Hoellrich
Ken, no - mod_perl as glue to the Apache API is required. If you're not running under mod_perl these won't work for you and you have to use CGI.pm's or URI's perl only functions. At 12:19 PM 11/1/99 -0500, Ken Y. Clark wrote: On Mon, 1 Nov 1999, John Siracusa wrote: Can I use the

Re: Using Apache::Util outside mod_perl

1999-11-01 Thread Randal L. Schwartz
"John" == John Siracusa [EMAIL PROTECTED] writes: John On 11/1/99 12:19 PM, Ken Y. Clark wrote: I'd like to have access to the fast URL/HTML escaping subroutines in "regular" perl scripts, if possible. isn't that functionality available in CGI? John Yes, but AFAIK they're plain perl

follow-up - no luck uploading

1999-11-01 Thread Tubbs, Derric L
I am calling "new CGI" from within a different sub than handler when I get the malformed error. If I move the call out to handler and submit then my hard drives start thrashing and the httpd processing the request shoots past 500MB and eats up all my resources. Mind you I'm not using the $q for

Re: Problem setting up mod_proxy_add_forward

1999-11-01 Thread Greg Stark
Where was the proxy_add_forward patch again? -- greg

Re: Problem setting up mod_proxy_add_forward

1999-11-01 Thread Vivek Khera
"GS" == Greg Stark [EMAIL PROTECTED] writes: GS Where was the proxy_add_forward patch again? It ain't a patch, its a module. The Apache module registry has a pointer to it. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D.Khera

Re: follow-up - no luck uploading

1999-11-01 Thread Jeffrey W. Baker
"Tubbs, Derric L" wrote: I am calling "new CGI" from within a different sub than handler when I get the malformed error. If I move the call out to handler and submit then my hard drives start thrashing and the httpd processing the request shoots past 500MB and eats up all my resources.

Re: Problem setting up mod_proxy_add_forward

1999-11-01 Thread Greg Stark
Vivek Khera [EMAIL PROTECTED] writes: "GS" == Greg Stark [EMAIL PROTECTED] writes: GS Where was the proxy_add_forward patch again? It ain't a patch, its a module. The Apache module registry has a pointer to it. Thanks, so where would I find this Apache module registry? It doesn't

RE: Problem setting up mod_proxy_add_forward

1999-11-01 Thread Baiju Thakkar
Thanks, so where would I find this Apache module registry? It doesn't seem to be linked to off apache.org anywhere. http://modules.apache.org/ Baiju Thakkar Just use Perl;

Re: Intentional Premature Finish in an Apache Module

1999-11-01 Thread Doug MacEachern
On Mon, 1 Nov 1999, John Siracusa wrote: On 11/1/99 2:32 AM, Doug MacEachern wrote: or use this undocumented feature: $Apache::ERRSV_CAN_BE_HTTP = 1; #set this anywhere, startup script is best die FORBIDDEN; mod_perl peeks at $@, if it's a 3 digit http status code, it propagates

Re: no luck uploading

1999-11-01 Thread Doug MacEachern
On Mon, 1 Nov 1999, Tubbs, Derric L wrote: I've been trying to use the "file" input field to upload some files and I'm having no luck at all. I first tried using Apache::Request with no luck and the error message "Can't call method "filename" without a package or object reference at ..."

Re: Problems with dynamically-loaded perl modules under Solaris2.5.1

1999-11-01 Thread Dan Rench
I did some experimenting with my Solaris2.5.1/mod_perl/Data::Dumper/Storable problem that I wrote about last week. A grid: | mod_perl 1.21 | 1.21-dev (19991101174047) -+---+-- perl5.004_05 | works fine| didn't try perl5.005_03 |

RE: mod-perl logo

1999-11-01 Thread Doug MacEachern
On Mon, 1 Nov 1999, Kent, Mr. John wrote: Doug, I asked O'Reilly's permission to use the "camel and feather" without acknowledging them, and they said NO, see letter below from Edie Freedman. gad, I hate politics. Tim O'Reilly gave us permission to use the camel in the mod_perl logo two

Re: Using Apache::Util outside mod_perl

1999-11-01 Thread Doug MacEachern
So you can't use Apache::Util unless you are running Apache. exactly. but it might be possible with the SHARED_CORE configure option, that builds libhttpd.so, I've never tried though.

Re: follow-up - no luck uploading

1999-11-01 Thread Doug MacEachern
Our httpd's were spinning out of control on uploads until Doug sent us this patch. I don't know whether it made it into the distribution or not. yabut, that was only when netscape was trying to upload a directory name and lied about the content length. anyhow, the patch is in the

Re: PATH env garbled in mod_perl 1.21 patch

1999-11-01 Thread Doug MacEachern
On 1 Nov 1999, Greg Stark wrote: Was this ever resolved? yes, fixed in cvs. I'm concerned because for Oracle the environment variable ORACLE_HOME is critical and I think the environment corruption explains some of our past database problems. PATH was the only corrupted variable, this

Re: setting cookies?

1999-11-01 Thread Doug MacEachern
On Mon, 1 Nov 1999, Wyman Eric Miles wrote: I should have realized that. I managed to architect a kludge that sets the cookie but causes a fragment of the HTTP header to appear in the browser the first time. For now, I'm content with it. The next question is, when the cookie expires 2

Re: Generic Server

1999-11-01 Thread Matt Sergeant
On Sun, 31 Oct 1999, Siracusa wrote: On 10/31/99 4:23 AM, Matt Sergeant wrote: Well I'll show by example. Take slash (the perl scripts for slashdot.org) I'm assuming you wanted this read like the classic: "Take my wife...please!" I mean, have you actually looked at the code here?

Re: mod_perl usage survey

1999-11-01 Thread Matt Sergeant
On Mon, 01 Nov 1999, Stas Bekman wrote: The graph/usage data is updated, the ramp is getting bigger and bigger :) http://perl.apache.org/netcraft/ I noted that Apache's usage is dropping for about 3 months now. It does make me wonder if Mindcraft's stats have had a real effect after all.

Re: Session state without cookies

1999-11-01 Thread Matt Sergeant
On Mon, 01 Nov 1999, Randal L. Schwartz wrote: Uh, you still had to use one of the THREE METHODS I keep talking about: 1) cookies 2) mangled URLs 3) hidden fields And in some cases: 4) User authentication -- Matt/ Details: FastNet Software Ltd - XML, Perl, Databases. Tagline: High

Re: mod-perl logo

1999-11-01 Thread Joshua Chamas
Doug MacEachern wrote: On Mon, 1 Nov 1999, Kent, Mr. John wrote: Doug, I asked O'Reilly's permission to use the "camel and feather" without acknowledging them, and they said NO, see letter below from Edie Freedman. gad, I hate politics. Tim O'Reilly gave us permission to use the

Re: Apache::SSI pain

1999-11-01 Thread Vassilii Khachaturov
third-party CGI stuff which could benefit from mod_perl. Also, how can one cope with third party scripts which output their "Content-type:" via usual print STDOUT so that it doesn't pop up into the filtered pipeline in addition to the one supplied by the Filter mechanism?? After I thought it

mod_proxy_add_forward and logging

1999-11-01 Thread Leslie Mikesell
The recent message about proxy_add_forward reminded me of a simple change I made that might help anyone who wants to track the logs matching the source/destination of proxied requests. I also activated mod_unique_id and in mod_proxy_add_forward, after if (r-proxyreq) {

Re: mod-perl logo

1999-11-01 Thread Matt Sergeant
On Mon, 01 Nov 1999, Joshua Chamas wrote: Doug MacEachern wrote: On Mon, 1 Nov 1999, Kent, Mr. John wrote: Doug, I asked O'Reilly's permission to use the "camel and feather" without acknowledging them, and they said NO, see letter below from Edie Freedman. gad, I hate

Re: mod-perl logo

1999-11-01 Thread Randal L. Schwartz
"Matt" == Matt Sergeant [EMAIL PROTECTED] writes: Matt Perl didn't come before the camel, I don't know what you mean here. Perl was most certainly around for at least three years before Larry and I approved the use of a camel on the cover of our book. Matt That wouldn't stand up in any US

Re: mod-perl logo

1999-11-01 Thread Matt Sergeant
On Mon, 01 Nov 1999, Randal L. Schwartz wrote: "Matt" == Matt Sergeant [EMAIL PROTECTED] writes: Matt Perl didn't come before the camel, I don't know what you mean here. Perl was most certainly around for at least three years before Larry and I approved the use of a camel on the cover

Re: setting cookies?

1999-11-01 Thread Robin Berjon
At 11:44 01/11/1999 -0800, Doug MacEachern wrote: On Mon, 1 Nov 1999, Wyman Eric Miles wrote: The next question is, when the cookie expires 2 hours later, the initial SecurID user/password has long since expired. How do I cause the module to force the basic auth dialogs again?

Re: mod-perl logo

1999-11-01 Thread Chris Thompson
On Mon, Nov 01, 1999 at 04:42:50PM -0400, Neil Kandalgaonkar wrote: Joshua Chamas [EMAIL PROTECTED] wrote: That said, they do allow non-profits and others to use the camel, e.g. the Perl Mongers. It's not evil, they're just trying to protect a trademark which they built. AFAIK no one

Re: Problem setting up mod_proxy_add_forward

1999-11-01 Thread Ask Bjoern Hansen
On 1 Nov 1999, Greg Stark wrote: Where was the proxy_add_forward patch again? It's a (short short short) module. ftp://ftp.netcetera.dk/pub/apache/mod_proxy_add_forward.c http://www.cpan.org/authors/id/ABH/mod_proxy_add_forward.c complete with instructions on how to compile it in and

JOB: Perl/CGI Programmer

1999-11-01 Thread Jesse Erlbaum
Vanguard Media is looking for skilled, detail-oriented Perl/CGI programmers to work on Web-Application development projects! Skills Required: * Perl 5 * CGI * SQL * CGI.pm * Apache * mod_perl * UNIX * Object-Oriented Programming methodologies * OOP in Perl 5 * Pointers in Perl 5 All work is to

can't remember if job postings are welcome here, but...

1999-11-01 Thread Randal L. Schwartz
Looking for immediate contractor or two for 2-3 months full time starting yesterday with heavy: ** mod_perl, EmbPerl ** experience. Might telecommute, but better if in Silicon Valley area where client is located. E-commerce experience helpful. Willing to take orders from me. :) Also might

RE: mod-perl logo

1999-11-01 Thread Kent, Mr. John
Doug, I asked O'Reilly's permission to use the "camel and feather" without acknowledging them, and they said NO, see letter below from Edie Freedman. I say mod-perl needs to adopt a non-proprietary logo. Wasn't there a page somewhere that had competing designs? Perhaps I can use one of them.

how to use ApacheDBI with RedHat 6.1

1999-11-01 Thread Edmund Mergl
in order to prevent more questions on this topic: ApacheDBI on Redhat 6.1 using the default rpm's apache-1.3.9-4 and mod_perl-1.21-2 does not work. In particular loading any compiled module (*.so) in a startup script via PerlRequire will produce a core dump. There is a nice web page,

Failing to reconnect after Oracle shutdown abort (Apache::DBI)

1999-11-01 Thread Tim Bunce
Has anyone experienced a situation where a process (httpd for example) can't reconnect to Oracle after a "shutdown abort"? Tim.

Re: Failing to reconnect after Oracle shutdown abort (Apache::DBI)

1999-11-01 Thread Tom Law
Tim, We have that problem here at the U. We always have to restart the server. If there is some other way to fix this or some notification to the process I would greatly appreciate it. -tom P.S. We use Apache/mod_perl/DBI At 09:01 PM 11/1/1999 +, Tim Bunce wrote: Has anyone experienced