Re: Touble getting apache going...

2001-09-10 Thread Jon Molin
Tim J Spriggs wrote: > > I am running Debian Linux(Woody) and installed apache-perl and all of the > supporting libraries. Whenever Apache is run I get the error message: > > --- > [Mon Sep 10 16:50:03 2001] [error] Can't lo

Re: Virtual Host?

2001-09-10 Thread Medi Montaseri
I think people are responding with how to fix this on a Unix. He is on a NT. Assuming the disk is on the Unix and the Unix is running Samba, then just define a network drive on your NT, say V: which mapps to \\yourunixbox\disk7 Then in your http.conf on your NT, define an alias like Alias /w

RE: Virtual Host?

2001-09-10 Thread Medi Montaseri
How about a symbolic link... On Mon, 10 Sep 2001, Rob Bloodgood wrote: > > > > i think you may have to mount it > > mount -t smb -o username=user,password=pass //ntserver//disk7 > > /mnt/smbshare > > > > then just add /mnt/smbshare to doc root! > > Except that, to the best of my knowledge, Samb

Database connection errors in modperl

2001-09-10 Thread Chris Pizzo
Hi everyone, I'm a bit of a novice here and I'm having a strange problem. I'm using apache 1.3.20 with modperl 1.26 and embperl 1.3.3 and postgres 7.02. Every once in a while I get: Internal Server Error [11274]ERR: 32: Line 165: Warning in Perl code: DBD::Pg::db selectrow_array failed: no st

Re: POST params with (solved)

2001-09-10 Thread Nathan Wiger
Tom Servo wrote: > > There could be something I'm missing here, but I believe you need to use > $r->content() to get POST arguments. Beware though, that once you call > content() you can't call it again, so hang onto whatever comes out of it. > > Also...isn't it $r->args() or am I just complet

Re: POST params with

2001-09-10 Thread Tom Servo
There could be something I'm missing here, but I believe you need to use $r->content() to get POST arguments. Beware though, that once you call content() you can't call it again, so hang onto whatever comes out of it. Also...isn't it $r->args() or am I just completely missing something here? Y

POST params with

2001-09-10 Thread Nathan Wiger
Hey all- I'm beating my head against this issue, and I can't seem to figure it out. The problem is I have a block with a PerlHandler for a ticketing system app I'm writing: SetHandler perl-script PerlHandler Apache::TicketSystem I'm using Apache::Request to access the

Touble getting apache going...

2001-09-10 Thread Tim J Spriggs
I am running Debian Linux(Woody) and installed apache-perl and all of the supporting libraries. Whenever Apache is run I get the error message: --- [Mon Sep 10 16:50:03 2001] [error] Can't locate Apache.pm in @INC (@INC cont

RE: Internal request

2001-09-10 Thread Geoffrey Young
>-Original Message- >From: i. >To: mod_perl >Sent: 9/10/01 6:34 PM >Subject: Internal request > >*This message was transferred with a trial version of CommuniGate(tm) >Pro* >Is there a way to tell whether or not a request is local or not? >$ENV{REQUEST_URI} only gives the request after

Internal request

2001-09-10 Thread i.
*This message was transferred with a trial version of CommuniGate(tm) Pro* Is there a way to tell whether or not a request is local or not? $ENV{REQUEST_URI} only gives the request after the dns. I need to be able to tell if a document is requested via www.foo.com/bar.html or ./bar.html Any help

Re: mod_perl proxy to mod_ssl or vice-versa?

2001-09-10 Thread will trillich
On Mon, Sep 10, 2001 at 04:02:04PM -0400, Perrin Harkins wrote: > > i've seen discussion at perl.apache.org/guide about having a > > hefty mod_perl server with a lightweight server proxying > > the heavy-lifting requests to the mod_perl server (same machine, > > different machine). > > > > can thi

RE: Virtual Host?

2001-09-10 Thread Rob Bloodgood
> > i think you may have to mount it > mount -t smb -o username=user,password=pass //ntserver//disk7 > /mnt/smbshare > > then just add /mnt/smbshare to doc root! Except that, to the best of my knowledge, Samba can only mount to "regular" mount points on Linux. Rob #!/usr/bin/perl -w use Disclai

Re: mod_perl proxy to mod_ssl or vice-versa?

2001-09-10 Thread Perrin Harkins
> i've seen discussion at perl.apache.org/guide about having a > hefty mod_perl server with a lightweight server proxying > the heavy-lifting requests to the mod_perl server (same machine, > different machine). > > can this be done with mod_ssl and mod_perl? Yes, lots of people do that. You need

Re: Virtual Host?

2001-09-10 Thread clayton cottingham
"Purcell, Scott" wrote: > > Hello, > I have Apache w/modperl running on my NT box. The box has Samba on it, and > I can see my Unix volumes from my SGI box. > > There is a volume there /DISK7 and I would like to be able to use that as a > kind of Virtual host through the Apache Web server. /DIS

Virtual Host?

2001-09-10 Thread Purcell, Scott
Hello, I have Apache w/modperl running on my NT box. The box has Samba on it, and I can see my Unix volumes from my SGI box. There is a volume there /DISK7 and I would like to be able to use that as a kind of Virtual host through the Apache Web server. /DISK7 has a bunch of .mov files that inste

mod_perl proxy to mod_ssl or vice-versa?

2001-09-10 Thread will trillich
i've seen discussion at perl.apache.org/guide about having a hefty mod_perl server with a lightweight server proxying the heavy-lifting requests to the mod_perl server (same machine, different machine). can this be done with mod_ssl and mod_perl? internet firewall mod_ssl backend mod_perl ---

Re: mod_rewrite + mod_perl

2001-09-10 Thread Vivek Khera
> "KS" == Kenny Smith <[EMAIL PROTECTED]> writes: KS> It executes show_journal.mod_perl perfectly well, but the script does not KS> remain resident in memory. Do I need to call it differently? Any help is KS> appreciated. :) What evidence do you have to say it doesn't remain resident? --

[PRE-ANNOUNCE] Cache::Cache 0.09

2001-09-10 Thread DeWitt Clinton
Hi, If people have a moment, please check out Cache::Cache 0.09, which is available here until I am ready to release it on CPAN: http://prdownloads.sourceforge.net/perl-cache/Cache-Cache-0.09.tar.gz Changes include: - applied Axel Beckert patch to fix the expiration units - applied Ke

Re: Cloning the request object

2001-09-10 Thread darren chamberlain
Alin Simionoiu <[EMAIL PROTECTED]> said something to this effect on 09/09/2001: > I forgot to mention that I'm trying to inspect the body in a > authentication handler. As soon as a get the body, the body is > gone. So save the body. Put it into pnotes or something: sub handler { my $r = s

Re: mailing html page through email

2001-09-10 Thread clayton cottingham
> naveed wrote: > > dear team, > > I want to send a html page through (or the html content) through my > email > > how can i do it. > > thanx in advance > regrards > > naveed i use Mail::Sender and you can add in ctype=>'text/html', to produce html check out the perldoc for more

Re: [OT] ppm options, [was: RE: Nothing ever works for me :-(]

2001-09-10 Thread Randy Kobes
On Mon, 10 Sep 2001, Matt Sergeant wrote: > > -Original Message- > > From: Randy Kobes [mailto:[EMAIL PROTECTED]] > > > > On Sun, 9 Sep 2001, James Buchanan wrote: > > > > > I tried altering ppm of ActivePerl to point to the > > repository to get the > > > mod_perl binary, but there was n

Re: Apache::DBI Segmentation fault

2001-09-10 Thread Hans Juergen von Lengerke
Hi, I actually got this to work now. The segfault happens when I load Apache::Registry before Apache::DBI. However, I have used the eg/startup.pl from the Apache::DBI distribution and that has Apache::Registry loaded before Apache::DBI... Maybe this is a bug? My httpd.conf Perl* relevant parts:

Re: mailing html page through email

2001-09-10 Thread Artur Penttinen
On Mon, 10 Sep 2001, naveed wrote: > From: naveed <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: mailing html page through email > Date: Mon, 10 Sep 2001 01:34:22 -0700 > X-Mailer: Microsoft Outlook Express 5.00.2615.200 > X-Procmail-List: mod_perl Mailing List > > dear team, > > I want t

Re: Apache::DBI Segmentation fault

2001-09-10 Thread Perrin Harkins
> I am getting a segmentation fault on configtest when using Apache::DBI > (using the startup.pl example in Apache::DBI Distribution). When trying > to start the server I get no error messages but the server isn't > running afterwards Do you know that your DBI works without Apache::DBI? It would

mailing html page through email

2001-09-10 Thread naveed
dear team,   I want to send a html page through (or the html content) through my email   how can i do it.   thanx in advance regrards   naveed

Re: Apache::DBI Segmentation fault

2001-09-10 Thread Hans Juergen von Lengerke
Uh, sorry forgot to post Database and perl -V... Database is Informix. Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration: Platform: osname=linux, osvers=2.2.13, archname=i586-linux uname='linux benjy 2.2.13 #4 mon aug 16 11:18:11 mest 1999 i686 unknown ' hint=recomm

[DIGEST] mod_perl digest 2001/09/08

2001-09-10 Thread Geoffrey Young
-- mod_perl digest August 26, 2001 - September 8, 2001 -- Recent happenings in the mod_perl world... Features

Apache::DBI Segmentation fault

2001-09-10 Thread Hans Juergen von Lengerke
I am getting a segmentation fault on configtest when using Apache::DBI (using the startup.pl example in Apache::DBI Distribution). When trying to start the server I get no error messages but the server isn't running afterwards: root@ganja:/home/www/server/conf > ../bin/apachectl start ../bin/ap

[OT] ppm options, [was: RE: Nothing ever works for me :-(]

2001-09-10 Thread Matt Sergeant
> -Original Message- > From: Randy Kobes [mailto:[EMAIL PROTECTED]] > > On Sun, 9 Sep 2001, James Buchanan wrote: > > > I tried altering ppm of ActivePerl to point to the > repository to get the > > mod_perl binary, but there was no such package available. > > Does the following not wo