Different lib directories for different virtual servers q

2000-07-05 Thread Robert
Hallo, I need different lib directories for different virtual servers. I tried to put in my httpd.conf VirtualHost server1 ... PerlSetEnv PERL5LIB.../server1/lib /VirtualHost VirtualHost server2 ... PerlSetEnv PERL5LIB.../server2/lib

Re: DIR_MERGE and .htaccess

2000-07-05 Thread Matt Sergeant
On Tue, 4 Jul 2000, Rick Myers wrote: On Jul 04, 2000 at 14:40:26 +0100, Matt Sergeant twiddled the keys to say: Shouldn't DIR_MERGE be called when .htaccess files are found at different levels, e.g: /axkit/.htaccess and /axkit/test/.htaccess I ask for /axkit/test/test.xsp

mod_perl vs fastcgi

2000-07-05 Thread Yury XTC
Hi! Instaled : FreeBSD 4.0 + Apache 1.3.12 + mod_perl 1.24 + FastCGI 0.52 1) I installed apache with mod_perl - the speed increased.But I didn't understand HOW mod_perl optimizes use of resources and increases speed ? Does it share perl interpreter, script or anything else? 2) Then I installed

Re: new multipart_buffer patch for libapreq

2000-07-05 Thread David Mitchell
[EMAIL PROTECTED] wrote The patch I posted yesterday has a problem dealing with client disconnects - your server will hang if the upload is interrupted )! This new patch should be ok. Your patch uses memmem(), which isn't available on some OSes (eg Solaris). Also, the linux manpage

Re: How to configure Apache to make work CGI ???

2000-07-05 Thread Jon Wyatt
- Original Message - From: "Alexandru Boboc" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 05, 2000 12:19 PM Subject: How to configure Apache to make work CGI ??? Wrong forum really, I think you need the apache specific forum. But. Sounds like you need to ensure

Re: possible?

2000-07-05 Thread Ben Li
Vincent Bruijnes wrote: Dear mod_perl users. Is it possible to have an apache with --enable-shared=max and mod_perl statically linked? If yes please tell me how to do, i need mod_perl statically cause otherwise my Apache::ASP won't work. Sincerely Vincent Bruijnes [EMAIL PROTECTED] Yes, I do it

RE: can't properly append to file from mod_perl script

2000-07-05 Thread Geoffrey Young
Are you setting PerlWarn On and checking for errors? I get these when compiling your script under RegistryLoader: Variable "$results_file" will not stay shared at /usr/local/apache/perl-bin/test.cgi line 29. Variable "$entry" will not stay shared at /usr/local/apache/perl-bin/test.cgi line 31.

proxy question.

2000-07-05 Thread paquito
I want to pass by proxy a request. The code is this: $r-proxyreq(1); $r-uri("http://myhost.com/index.html"); $r-filename("proxy:http://myhost.com/index.html") $r-handler("proxy-server"); return OK; set it in the uri translation phase, but doesn't work.

Re: Can't find Apache::DBI on Win32 version

2000-07-05 Thread David Jourard
Hi, At 01:50 PM 7/4/00 -0500, Randy Kobes wrote: On Tue, 4 Jul 2000, David Jourard wrote: At 06:24 PM 7/4/00 +0100, David Mitchell wrote: This worked but now I get upon start up of the apache httpd daemon: defined(@array) is deprecated at c:/Perl/site/5.6.0/lib/Apache/DBI.pm line

Re: DIR_MERGE and .htaccess

2000-07-05 Thread Dave Moore
On Wed, 5 Jul 2000, Matt Sergeant wrote: On Tue, 4 Jul 2000, Rick Myers wrote: On Jul 04, 2000 at 14:40:26 +0100, Matt Sergeant twiddled the keys to say: Shouldn't DIR_MERGE be called when .htaccess files are found at different levels, e.g: /axkit/.htaccess and

ANNOUNCE: Apache::ASP v1.93

2000-07-05 Thread Joshua Chamas
Hey, I've released the latest Apache::ASP after after months of hard work on some new exciting features. The change log below is HUGE, but worth a good read if you are up for it. The big features on table are custom tags handled by perl subroutines, very powerful, and full dynamic XML::XSLT

Re: Apache::ASP - problem with installing Apache::SSI ::Filter

2000-07-05 Thread Ken Williams
[EMAIL PROTECTED] (Almetaal B.V.) wrote: I'm trying to install Apache::SSI Apache::Filter via CPAN, but it fails [see errors below]. I can remember this problem from another server, but I forgot the solution [...] t/real..Starting http server... Syntax error on line 15 of

Re: Apache::ASP - problem with installing Apache::SSI ::Filter

2000-07-05 Thread Almetaal B.V.
- Original Message - From: "Ken Williams" [EMAIL PROTECTED] To: "Almetaal B.V." [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, July 05, 2000 18:11 Subject: Re: Apache::ASP - problem with installing Apache::SSI ::Filter 'TypesConfig' is defined by mod_mime. Looks like you

Re: Apache::ASP - problem with installing Apache::SSI ::Filter

2000-07-05 Thread Ken Williams
[EMAIL PROTECTED] (Almetaal B.V.) wrote: - Original Message - From: "Ken Williams" [EMAIL PROTECTED] To: "Almetaal B.V." [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, July 05, 2000 18:11 Subject: Re: Apache::ASP - problem with installing Apache::SSI ::Filter 'TypesConfig'

mod per compilation problem

2000-07-05 Thread Kailashnath V Rampure
This is with reference to ur mail on mod_perl APXS error w/ apache/raven to modperl mailing list. I have a problem same problem with mod_perl. I just removed the the -Wl, -E option from the flags of Make file for mod_perl but unable to compile mod_perl asa DSO. I would like to know that were you

Re: Script that stays on the same page

2000-07-05 Thread Dana Powers
I would try using a Non-Parsed-Header (NPH) script and return something like this: print "END"; HTTP/1.0 204 No Response END Dana On Mon, 03 Jul 2000, Pierre-Yves BONNETAIN wrote: Hello, For my server, I need to write some script that will be 'regularly' triggered (GET or

error DBI with quote

2000-07-05 Thread Jesús Lasso Sánchez
Hi, I have a problem with DBI and Oracle. I have an input form where i insert a phrase like "Mike's car" when i try to do the insert, it produces an error: "not valid sentence". this is the code: $sql=qq{INSERT INTOTABLE_NAME (PHRASE) VALUES (?)}; my

RE: Script that stays on the same page

2000-07-05 Thread Howard Jones
IIRC, NPH scripts are a source of bad karma with HTTP/1.1 because they stop Apache dealing effectively with proxies, amongst other things. Best Regards, Howie. -Original Message- From: Dana Powers [mailto:[EMAIL PROTECTED]] Sent: 05 July 2000 18:58 To: Pierre-Yves BONNETAIN Cc: [EMAIL

Re: error DBI with quote

2000-07-05 Thread drfrog
Jesús Lasso Sánchez wrote: Part 1.1Type: Plain Text (text/plain) Encoding: quoted-printable yes ! because ' is a start or end of sql statement you have to escape it either convert to html equiv #39; i think or convert ' to '' in postgresql i dont know what it is in mysql

Apache::ASP and HEAD

2000-07-05 Thread Dmitry Beransky
Hi, I remember seen the answer to this some time ago (I may have even asked this myself), but I couldn't find it in the archives. Can anyone remind me why Apache::ASP includes a message body in reply to a HEAD request? Thanks a lot Dmitry --- Dmitry Beransky System Analyst University of

Re: Apache::ASP and HEAD

2000-07-05 Thread Paul Lindner
On Wed, Jul 05, 2000 at 12:51:07PM -0700, Dmitry Beransky wrote: Hi, I remember seen the answer to this some time ago (I may have even asked this myself), but I couldn't find it in the archives. Can anyone remind me why Apache::ASP includes a message body in reply to a HEAD request?

bsdi/apache/md5 error

2000-07-05 Thread ralph
Greetings, I'm getting a strange error when a handler attempts to 'use' a package that uses use Crypt::CBC and Digest::MD5 [Wed Jul 5 13:56:36 2000] [error] Can't load '/usr/local/lib/perl5/site_perl/5.005/i386-bsdos/auto/Digest/MD5/MD5.o' for module Digest::MD5: can't resolve undefined

Coldfusion vs. apache/mod_perl

2000-07-05 Thread Bas
Hi all, this is probably gonna be a longish one. It's about coldfusion vs. the combination of apache/mod_perl, I'm hoping to find some people on the list who have some experience with both, and who maybe faced a similar question. I've been searching the Net for a few days now to find opinions,

RE: Coldfusion vs. apache/mod_perl

2000-07-05 Thread jbodnar
I just left a company that used either mod_perl or coldfusion for our intranet development. I never did any coldfusion development but I did have to deal with maintaing the coldfusion server and apps. coldfusion crashed several times in the three or four months I was involved with it. We never

What is *.xs file?

2000-07-05 Thread Sam Xie
Hi! There, I am learning to write a perl module. I saw someone's AFS.pm module, in which, he wrote a AFS.xs file in C. I don'e know what .xs extension means and how to write it? If someone knows it, it will be gratefull to help me to understand it! Thanks! Sam

RE: What is *.xs file?

2000-07-05 Thread Jerrad Pierce
Umm this list is for perl as a module in apache not modules for perl... However, .xs is a special blend of C for writing perl modules try man perlxs -Original Message- From: Sam Xie [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 05, 2000 6:06 PM To: [EMAIL PROTECTED] Subject:

Re: What is *.xs file?

2000-07-05 Thread Mehryar Mansoor
On Wed, 5 Jul 2000, Sam Xie wrote: Hi! There, I am learning to write a perl module. I saw someone's AFS.pm module, in which, he wrote a AFS.xs file in C. I don'e know what .xs extension means and how to write it? If someone knows it, it will be gratefull to help me to understand it!

How to Authenticate using Cookie ?

2000-07-05 Thread Tu Nguyen
Hi, Can some one show me how to use cookie to check valid user ? which module should I use and how to modify httpd.conf. Thank you very much Nguyen

Re: ANNOUNCE: Apache::ASP v1.93

2000-07-05 Thread Perrin Harkins
On Wed, 5 Jul 2000, Joshua Chamas wrote: ++Better SessionManagement, more aware of server farms that don't have reliable NFS locking. The key here is to have only one process on one server in charge of session garbage collection at any one time, and try to create this situation with

Re: Coldfusion vs. apache/mod_perl

2000-07-05 Thread Paul Lindner
On Wed, Jul 05, 2000 at 04:30:01PM -0500, [EMAIL PROTECTED] wrote: I just left a company that used either mod_perl or coldfusion for our intranet development. I never did any coldfusion development but I did have to deal with maintaing the coldfusion server and apps. coldfusion crashed

Re: ANNOUNCE: Apache::ASP v1.93

2000-07-05 Thread Joshua Chamas
Perrin Harkins wrote: On Wed, 5 Jul 2000, Joshua Chamas wrote: ++Better SessionManagement, more aware of server farms that don't have reliable NFS locking. The key here is to have only one process on one server in charge of session garbage collection at any one time, and try to

Re: Coldfusion vs. apache/mod_perl

2000-07-05 Thread Paul Lindner
On Wed, Jul 05, 2000 at 04:09:06PM -0700, Joshua Chamas wrote: Paul Lindner wrote: IMHO, mod_perl applications easily out-performed our CF apps. One plus for coldfusion, there seems to be more CF developers out there (at least in Austin, TX) but that may be a sign that very few

Re: How to Authenticate using Cookie ?

2000-07-05 Thread Ken Williams
[EMAIL PROTECTED] (Tu Nguyen) wrote: Hi, Can some one show me how to use cookie to check valid user ? which module should I use and how to modify httpd.conf. Have a look at Apache::AuthCookie, and read its docs. ------ Ken

Re: Coldfusion vs. apache/mod_perl

2000-07-05 Thread Chris Fry
Anyone looked at PHP??? Paul Lindner wrote: On Wed, Jul 05, 2000 at 04:09:06PM -0700, Joshua Chamas wrote: Paul Lindner wrote: IMHO, mod_perl applications easily out-performed our CF apps. One plus for coldfusion, there seems to be more CF developers out there (at least in

Apache::ASP and clock times

2000-07-05 Thread Carl Lipo
We are having a problem with our Apache::ASP scripts and the clock time they are reporting. It seems that when an ASP script is run, the internal clock is sometimes set to GMT. An example from our error log is shown below. The problem is that our scripts expect localtime (PDT). The other odd

Re: ANNOUNCE: Apache::ASP v1.93

2000-07-05 Thread Perrin Harkins
On Wed, 5 Jul 2000, Joshua Chamas wrote: This sounds interesting, but I don't quite understand what you did. The sessions are stored in a dbm file, right? Don't you still need locking if all servers are trying to update the same NFS-mounted dbm file? Or am I totally off on how session

Re: ANNOUNCE: Apache::ASP v1.93

2000-07-05 Thread Joshua Chamas
Perrin Harkins wrote: On Wed, 5 Jul 2000, Joshua Chamas wrote: This sounds interesting, but I don't quite understand what you did. The sessions are stored in a dbm file, right? Don't you still need locking if all servers are trying to update the same NFS-mounted dbm file? Or am I

Re: Apache::ASP and clock times

2000-07-05 Thread Joshua Chamas
That the error_log date itself is changing seems to me that Apache also thinks its the wrong time. If this were consistent, I would think that your box just has the wrong timezone set, but that this is inconsistent is bizarre. It may be possible that the time calculation is based on some TZ*

Re: Apache::ASP and clock times

2000-07-05 Thread Carl Lipo
That the error_log date itself is changing seems to me that Apache also thinks its the wrong time. If this were consistent, I would think that your box just has the wrong timezone set, but that this is inconsistent is bizarre. Yes, this is the problem. If it was just a matter of being one

PERL 5.6 Mod_perl: How stable is it?

2000-07-05 Thread William Deegan
I've seen quite a few messages around problems with it? Is it ready for production? begin:vcard n:Deegan;William tel;fax:650-413-1355 tel;work:650-598-3858 x-mozilla-html:FALSE url:http://www.iescrow.com org:iEscrow,Inc. version:2.1 email;internet:[EMAIL PROTECTED] title:Web Site Operations

Re: Apache::ASP and clock times

2000-07-05 Thread Joshua Chamas
In a situation like this, I would make sure that you compiled your Apache/modperl from scratch, and maybe do it again just to make sure. Maybe you are using some stock RedHat build, that has odd quirks to it, and your own static build would just make this disappear. Its a terrible was to

Re: Coldfusion vs. apache/mod_perl

2000-07-05 Thread Joshua Chamas
Paul Lindner wrote: Hey Paul, I think you will have a problem with cold fusion templating logic like if/else constructs. For these, I would recommend having something like a ColdFusionCompat config setting, and we could rip out some of these are parse time and convert them into the

RE: error DBI with quote

2000-07-05 Thread Geoffrey Young
this more properly belongs on the DBI list, but see page 122 of the cheetah book: "Bind values are passed to the database seperately from the SQL statement, so there's no need to 'wrap up' the value in SQL quoting rules." thus, no need to call quote()... HTH --Geoff -Original