Re: Calling perl output filter before Includes filter

2004-02-06 Thread david
you could always just do a global search and replace on all the files instead of defering this step to serving time -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Re: Embeding an executable into a script

2004-02-10 Thread david
Okay here's an architecture for you: Wrap your application in an independent server program that will be long-running, and then instead of invoking your application (which you said was expensive) you can open a unix socket to your application server program and talk with it that way. See perldoc

ExtFilterDefine persistency

2010-05-19 Thread David
If I haven't sent this to the correct place please inform me. I've look through the assorted documentation, both mod_perl and Apache, and haven't found a solution to my situation. I've also given the internet a try with no luck. I admit I'm new to mod_perl. I've installed mod_perl onto an Apach

Re: Installing modperl under different directory tree

2004-02-06 Thread David Hodgkinson
On 6 Feb 2004, at 19:54, Hamilton, Henrique H wrote: Does anyone know of a way to install modperl 2 under a different directory tree (say under /opt/modperl_1.9.12) in Redhat Linux 7.X? What are you doing with apache? Typically, there are two courses of action: 1. Be a slave to Redhat and do th

Re: Installing modperl under different directory tree

2004-02-06 Thread David Hodgkinson
On 6 Feb 2004, at 21:37, Hamilton, Henrique H wrote: I'm building modperl2 from source. Against a stock RH RPM? I was hoping that since I plan on building it as a dso I would be able to compile the dso to point to a different directory. Why? -- Dave Hodgkinson CTO, Rockit Factory Ltd. http://ww

Re: Installing modperl under different directory tree

2004-02-06 Thread David Hodgkinson
On 6 Feb 2004, at 21:53, Hamilton, Henrique H wrote: I haven't found anywhere that has rpm's for modperl2 on RH 7.3. I also haven't had much luck building modperl2 statically into apache2.0.48. Which means I have to build the rpm myself. (This rpm will eventually be part of an apache2/Tomcat5 rp

Re: Current URL

2004-02-13 Thread David Wright
> It's: > 8< > $r->connection->remote_ip > 8< That'd be the ip of the client making the request. > Ian Joyce wrote: > > This may be day 1 stuff for most of you, but... > > > > What's the quckest way to determine the U

Re: [OT] Re: Shared Module Vars, Missing Object Methods?

2004-02-17 Thread David Emery
Garth Webb wrote: > So my question is, what do you think is the better alternative to > Apache::Registry? If its bad enough that someone like me might have > written a replacement, where is it? Do people really have conf files > with 100's of directives? It seems to me that most people > these

Re: Total newbie question

2004-03-15 Thread David Wilde
Ged, Yep, the commonapache.conf is a file included in apache2.conf (the renamed httpd.conf) in Gentoo by default. They do it that way so that they can eventually support multiple configurations OOTB. From the apache2.conf file: ### ### Global Configuration ### # Splitting up apache2.conf into

Re: CDB_File

2004-03-19 Thread David Hodgkinson
On 20 Mar 2004, at 0:54, Lester Vecsey wrote: I'm serving many web requests with an apache modperl handler, and I'm doing lookups on a CDB_File within the handler, using 'tie' to open the cdb file for every request that comes through. Is there a way to gain more performance by somehow doing a ti

Connections

2004-04-01 Thread David Hofmann
t sure how much load that will put on the server since the majority of the time the server not using the admin connection. Hope this kind of makes sense. Mainly I'm looking for advice on the situation. David _ Free up your in

[JOB] mod_perl Programmer Mission Viejo, CA

2004-04-07 Thread David Ranney
IntelliSurvey, Inc. programs and hosts online surveys for a variety of clients in the market research industry. We offer both software licensing via an ASP model for our do-it-yourself clients, and we program surveys using our own software on a project-by-project basis for clients who would rat

Re: mod_perl performance question

2004-04-09 Thread David Hodgkinson
On 8 Apr 2004, at 16:48, Pascal Felber wrote: We have noticed some "strange" behavior when stress-testing one of our perl modules and we haven't managed to find an explanation or workaround in the mod_perl documentation. We have reproduced this problem with a minimal module, installed as a PerlRe

Apache::Session::Postgres Commit on ??

2004-04-14 Thread David Hofmann
} }; $sid = $sessionHash{_session_id}; } Here my database call: unless ($self->{'sql'}) { # add our all important database connection! $self->{'sql'} = DBI->connect( "dbi:Pg:dbname=sup","usename", "password"

Re: Apache::Session::Postgres Commit on ??

2004-04-14 Thread David Hofmann
hrough the module in the morning when I get up if no one comes up with anything before. David Very tired and fustrated programer... Someday it's just best to not touch the keyboard. From: Geoffrey Young <[EMAIL PROTECTED]> To: David Hofmann <[EMAIL PROTECTED]> CC: [EMAIL PRO

Re: [RELEASE CANDIDATE] Apache-Test-1.10

2004-04-15 Thread David Wheeler
still passes all of its tests. Works for me! David -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

ANNOUNCE: Bricolage 1.8.0 Arrives!

2004-05-04 Thread David Wheeler
It is with great pleasure that the Bricolage development team announces the release of Bricolage 1.8.0. The culmination of over 15 months in development, with contributions from over 20 independent developers, and new features sponsored by numerous organizations world-wide, ver

Re: which API to use for listing files ? (newbie question)

2004-05-09 Thread David Hodgkinson
On 9 May 2004, at 0:29, aravind elango wrote: Hi, I am new to programming in modperl and am trying to do a recursive listing of files in a directory. Sounds like you need the File::Find module from CPAN. -- Dave Hodgkinson CTO, Rockit Factory Ltd. http://www.rockitfactory.com/ Web sites for rock b

Re: environment not getting reset

2004-05-15 Thread David Hodgkinson
On 15 May 2004, at 19:38, Alex Krohn wrote: Hi, I'm facing a weird problem that's proving difficult to track down. After a certain number of hits to our mod_perl apps, the environment no longer gets reset per request. For example, if you have a script that just dumps the environment, after hitting

Re: [RELEASE CANDIDATE] Apache-Test-1.06

2004-05-19 Thread David Wheeler
successes or failures. All tests pass for me, both in Apache::Test and in my module that uses it. Regards, David -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Configuration problems

2004-06-09 Thread David Arnold
Hi, I've spent quite a bit of time experimenting and reading, but I am unable to make progress with configuring mod_perl on our server. Please bear with me, as I am a mathemtaics teacher, not a system guru by any means. I am reading Paul Dubois's MySQL and Perl for the Web and I am stuck on page

Re: Configuration problems

2004-06-10 Thread David Arnold
Neil, >Hello Sir >Don't know if you sort your problem out or not. >I had the same issue just yesterday our time ;-) >If you follow this: http://apache.perl.org/docs/2.0/user/intro/start_fast.html#Configuration > >Not the installation part and try the example scripts and Handler example then it wil

Re: Configuration problems

2004-06-11 Thread David Arnold
Stas, At 07:18 AM 6/11/04 -0700, you wrote: >David Arnold wrote: >> Neil, >> >> >>>Hello Sir >>>Don't know if you sort your problem out or not. >>>I had the same issue just yesterday our time ;-) >>>If you follow this: >

Re: Configuration problems

2004-06-11 Thread David Arnold
Stas, Oooh! that's easy. Just change one line of rocks.pl. That is, change print "Content-type: text/plain\n\n"; to print "Content-type: text/html\n\n"; And all is well. At 08:27 PM 6/11/04 -0700, you wrote: >David Arnold wrote: >[...] >>>>I plac

Refreshing

2004-06-13 Thread David Arnold
All, When I am working on a cgi-script, sometimes I make a change, then "refresh" the script in my browser, only to not see the changes I made in the script. Is there some sort of "caching" going on with Apache? I've found that if I restart Apache my changes become visible on the next "refresh."

Re: Refreshing

2004-06-14 Thread David Arnold
Ah, What is described in the link is exactly what I was doing, working on a module. Thanks. At 11:18 AM 6/14/04 +0300, you wrote: >William McKee wrote: >> On Sun, Jun 13, 2004 at 03:44:22PM -0700, David Arnold wrote: >> >>>When I am working on a cgi-script, sometim

Updating Apache and Mod_Perl

2004-06-14 Thread David Arnold
All, I've been encouraged on this list to update my versions of Apache and mod_perl, which I think a good suggestion. However, I am no operating system guru (just a math teacher), so I get quite fearful with these updates. Still, I do have an office machine that is quite behind the times, operatin

A CGI.pm script

2004-06-14 Thread David Arnold
All, Running: [EMAIL PROTECTED] cgi-perl]# /usr/sbin/apachectl -v Server version: Apache/2.0.40 Server built: Nov 27 2003 11:04:06 MOD_PERL=mod_perl/1.99_07-dev I've added these changes to httpd.conf: ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" AllowOverride None Options None Ord

Re: A CGI.pm script

2004-06-14 Thread David Arnold
PM 6/14/04 -0400, you wrote: >Hi David - > >> MOD_PERL=mod_perl/1.99_07-dev > [cut] >> It runs fine when accessed with http://hostname/cgi-bin/graffiti.pl. >> However, when accessed with http://hostname/cgi-perl/graffiti.pl, I get: >> >> Server error! &g

Apache::Request

2004-06-15 Thread David Hofmann
works for Mod Perl 2.0 or something the can be easily put in it's place? David _ MSN 9 Dial-up Internet Access fights spam and pop-ups – now 3 months FREE! http://join.msn.click-url.com/go/onm00200361ave/direct/01/ -- Repor

Apache::Request

2004-06-15 Thread David Hofmann
works for Mod Perl 2.0 or something the can be easily put in it's place? David _ Get fast, reliable Internet access with MSN 9 Dial-up – now 3 months FREE! http://join.msn.click-url.com/go/onm00200361ave/direct/01/ -- Repor

Installation tomorrow

2004-06-17 Thread David Arnold
All, Tomorrow morning we will try to install SSL, MySQL, Apache, and Mod_Perl on a Red Hat 7.3 machine. If anyone has done this before and has some directions they saved that could serve as a guide, it would be much appreciated. Thanks. -- Report problems: http://perl.apache.org/bugs/ Mail lis

Adjustments for older Mod Perl

2004-06-18 Thread David Arnold
All, I am working through: http://perl.apache.org/docs/1.0/guide/porting.html Under "The First Mystery" is the directive: Modify the httpd.conf file in the following way: PerlSetEnv PERLDB_OPTS "NonStop=1 LineInfo=/tmp/db.out AutoTrace=1 frame=2" PerlModule Apache::DB PerlFixupHandle

Yahoo!

2004-06-18 Thread David Arnold
All, Congrats to me! [EMAIL PROTECTED] logs]# cat error_log [Fri Jun 18 23:35:31 2004] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Fri Jun 18 23:35:34 2004] [notice] Digest: generating secret for digest authentication ... [Fri Jun 18 23:35:34 2004] [notice] Digest: done

Permissions and owner

2004-06-19 Thread David Arnold
All, I do this in httpd.conf: # David Arnold added these, 6/18/04, 11:33 pm LoadModule perl_module modules/mod_perl.so PerlModule Apache2 PerlModule Apache::compat # More changes by David Arnold, 6/19, 12:17 am PerlModule ModPerl::PerlRun Alias /cgi-perl/ "/usr/local/apache2/cgi

Developer's Cookbook

2004-06-19 Thread David Arnold
All, After read section 2.2, pages 47-51, of "Mod_Perl, Developer's Cookbok," I set this in httpd.conf: PerlModule ModPerl::Registry Alias /cgi-perl/ "/usr/local/apache2/cgi-perl/" SetHandler perl-script PerlHandler ModPerl::Registry Options +ExecCGI PerlSendHe

Rocks.pm

2004-06-19 Thread David Arnold
I wrote the file Rocks.pm as on http://perl.apache.org/docs/2.0/user/intro/start_fast.html. I put it here with these permissions. [EMAIL PROTECTED] MyApache]$pwd /home/darnold/httpd/httpd-2.0/perl/MyApache [EMAIL PROTECTED] MyApache]$ll total 4 -rwxr-xr-x1 darnold darnold 296 Jun 19 11

Re: Rocks.pm

2004-06-19 Thread David Arnold
Stas, See my comment below, following yours. At 11:31 PM 6/19/04 +0300, Stas Bekman wrote: >David Arnold wrote: >> I wrote the file Rocks.pm as on >> http://perl.apache.org/docs/2.0/user/intro/start_fast.html. I put it here >> with these permissions. >> >>

Re: Adjustments for older Mod Perl

2004-06-19 Thread David Arnold
Stas et al, I got this to work today. Yesterday I updated Apache and Mod_perl and consequently I am having more success. At 11:36 PM 6/19/04 +0300, Stas Bekman wrote: >David Arnold wrote: >> All, >> >> I am working through: http://perl.apache.org/docs/1.0/guide/porting.h

Re: Rocks.pm

2004-06-19 Thread David Arnold
intro/start_fast.html Thanks for everyone's help. At 06:51 PM 6/19/04 -0500, michael wrote: >David Arnold wrote: > > >> Stas, >> >> See my comment below, following yours. >> >[snip] >> >> It seems like I am following all of the directions.

Anonymous login with Stein

2004-07-01 Thread David Arnold
All, I have this in my httpd.conf: PerlOptions +GlobalRequest AuthName Anonymous AuthType Basic PerlAuthenHandler Apache::AuthAnon require valid-user PerlSetVar Anonymous anonymous|anybody Here is the handler: package Apache::AuthAnon; # file: A

Strange

2004-07-02 Thread David Arnold
All, I get so confused keeping track of everything. I've got some modules that I swear checked for syntax a few days ago. Here's one that starts: package Apache::AuthAnon; # file: Apache/AuthAnon.pm use strict; use Apache::Constants qw(:common); my $email_pat='[EMAIL PROTECTED]'; my $anon_id="a

Re: Strange

2004-07-02 Thread David Arnold
Stas, >> package Apache::AuthAnon; >> # file: Apache/AuthAnon.pm >> >> use strict; >> use Apache::Constants qw(:common); >> >> my $email_pat='[EMAIL PROTECTED]'; >> my $anon_id="anonymous"; >> >> sub handler { >> my $r=shift; >> >> my($res,$sent_pwd)=$r->get_basic_auth_pw; >> retur

Re: Strange

2004-07-02 Thread David Arnold
Stas, >Again, do not test your modperl code w/o running modperl, which you accomplish >with help of Apache-Test. I did a little searching and saw very little on Apache-Test. Is it a current CVS project? If so, I've never participated or downloaded such a thing. However, you seem to think it wou

Cookbook Question

2004-07-02 Thread David Arnold
All, I am working on Recipe 3.4. I have the following saved as cgi-perl/try.pl: #! /usr/bin/perl -w # file: try.pl use strict; use Apache::Const qw(:common); my $r=shift; # Grab all of the headers at once my %headers_in=$r->headers_in; # or get a specific header and do something with it my $g

Apache::File

2004-07-03 Thread David Arnold
All, In modperl 2.0, what should I use in place of Apache::File? -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

On-the-Fly

2004-07-03 Thread David Arnold
All, Tried this in my httpd.conf: PerlAccessHandler 'sub { return Apache::Constants::FORBIDDEN unless shift->connection->remote_ip=~m/^\Q10.3.4./; }' But got this error when I tried to resta

Re: On-the-Fly

2004-07-03 Thread David Arnold
ication ... [Sat Jul 03 16:55:28 2004] [notice] Digest: done [Sat Jul 03 16:55:28 2004] [notice] Apache/2.0.49 (Unix) mod_perl/1.99_14 Perl/v5.8.4 mod_ssl/2.0.49 OpenSSL/0.9.7d DAV/2 configured -- resuming normal operations And I am still blocked when I try to access /public. At 04:33 PM 7/3/04 -07

Re: On-the-Fly

2004-07-03 Thread David Arnold
Apache::RequestRec (); No error! How come? Question 2: I am shaky with this line: use Apache::Const -compile => qw(FORBIDDEN OK); What's that "compile" thingy and can someone break down the use of the => notation in this situation for me? At 04:33 PM 7/3/04 -0700, Stas Bekman w

Declaring constant

2004-07-03 Thread David Arnold
All, I don't believe I've seen this syntax before? use constant SECRET_LENGTH => 14; Anyone have any pointers to an explanation of this syntax? -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/m

Apache::File again

2004-07-03 Thread David Arnold
All, I tried to follow an earlier suggestion (http://perl.apache.org/docs/2.0/user/porting/compat.html#C_Apache__File_), but failed to figure out what to do. I have this: use Apache::File; And later this: my $fh=Apache::File->new($r->filename); unless($fh) { $log->warn("Cannot

mysql

2004-07-03 Thread David Arnold
All, What should I be reading if I want to learn how to use modperl 2.0 with mysql? -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Windows Installation

2004-07-06 Thread David Arnold
All, I've got Apache and ModPerl running on a linux server at school, but I'd like to give both them a try on a windows machine (XP) at home. I've read a bit of the documentation on the modperl and apache site and have discovered all-in-one packages, etc, but I'd still like to ask advice. I have

One and Two

2004-07-08 Thread David Arnold
All, Is it possible to install both versions of ModPerl (one and Two) on the same machine, accompanying versions of Apache? I'd like to experiment with both on Linux. I have the most recent version of apache running in /usr/local/apache2. Can I install the older version in /usr/local/apache? A

Apache::Request Multivalues

2004-07-09 Thread David Hofmann
In CGI.pm you can use: %params = $q->Vars; To get the incoming form data and key words. Multivalued parameters are returned as a packed string, separated by the "\0" (null) character. How do you get multivalue data in Apache::Request? __

RE: Apache::Request Multivalues

2004-07-09 Thread David Hofmann
something that proably make this far easier. David From: "Kreimendahl, Chad J" <[EMAIL PROTECTED]> To: "David Hofmann" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> Subject: RE: Apache::Request Multivalues Date: Fri, 9 Jul 2004 10:05:22 -0500 Should return as an arr

Re: Apache-Test module skeletons

2004-07-09 Thread David Wheeler
pache::Test::Skeleton', )->create_build_script; Regards, David -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

One and Two again.

2004-07-09 Thread David Arnold
All, My apologies to Stas for again forgetting to "Reply All." Senior moments, I guess. Meanwhile, I have a successful installation of the latest apache and modperl2. I would like to install modperl1 for the purposes of practicing with the the excellent books by Stas, Geoffrey Young, and Lincoln

Re: Apache-Test module skeletons

2004-07-09 Thread David Wheeler
k I'd actually make it: use 5.00503; use Apache::TestMB; Apache::TestMB->new( module_name=> 'Apache::Test::Skeleton', license=> 'perl', requires => { 'Apache' => 0, }, build_requires =>

Re: Apache-Test module skeletons

2004-07-09 Thread David Wheeler
xample, and requires => { 'mod_perl' => '1.99', in the MP2 example, yes? Geoff, did you get all that? ;-) Regards, David -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Re: Apache-Test module skeletons

2004-07-09 Thread David Wheeler
he::TestMB; Apache::TestMB->new( module_name=> 'Apache::Test::Skeleton', license=> 'perl', requires => { 'mod_perl' => ">= 1.0, < 1.99", }, build_requires => { Test::More => 0,

Re: Apache-Test module skeletons

2004-07-09 Thread David Wheeler
On Jul 9, 2004, at 1:45 PM, David Wheeler wrote: use 5.00503; use Apache::TestMB; Apache::TestMB->new( module_name=> 'Apache::Test::Skeleton', license=> 'perl', requires => { 'mod_perl' => ">= 1.0, < 1.99"

Re: Apache-Test module skeletons

2004-07-09 Thread David Wheeler
o? I dunno. Something to ask Jarkko about. Regards, David -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Re: One and Two again.

2004-07-09 Thread David Hodgkinson
On 9 Jul 2004, at 19:25, David Arnold wrote: My question to the people on this list: How to proceed? Can modperl1 and modperl2 coexist? Can they both run with the latest apache? Can someone outline the steps I should take to achieve my goal? Especially if there is someone on the list who has

Re: Apache-Test module skeletons

2004-07-09 Thread David Wheeler
rl.pm; $mod_perl::VERSION } Module::Build uses the same approach. I think that the efforts were synchronized here. David -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

One and Two (followup)

2004-07-09 Thread David Arnold
All, Just a followup. I followed Stas's directions, and did this: % su % cd /usr/local/src % tar -zvxf apache_1.3.31.tar.gz % tar -zvxf mod_perl-1.29.tar.gz % cd mod_perl-1.29 % perl Makefile.PL APACHE_SRC=../apache_1.3.31/src \ DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 % make

My::Utils

2004-07-10 Thread David Arnold
All, I've skipped to Recipe 13.3 on page 418 of the "Cookbook." Where can I find My::Utils and what does it do? Is it a previous package defined in the Cookbook? Or what? Thanks. -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List

Re: My::Utils

2004-07-10 Thread David Arnold
Andy Armstrong wrote: >David Arnold wrote: > >> All, >> >> I've skipped to Recipe 13.3 on page 418 of the "Cookbook." >> >> Where can I find My::Utils and what does it do? Is it a previous package >> defined in the Cookbook? Or what? > &

Re: My::Utils

2004-07-10 Thread David Arnold
Randy, Andy, et al, Thanks. At 02:09 PM 7/10/04 -0500, Randy Kobes wrote: >On Sat, 10 Jul 2004, David Arnold wrote: > >> Andy et al, >> >> That's what I thought, but I've searched the index and TOC >> and I simply cannot find a reference to authenticate

mutex

2004-07-10 Thread David Arnold
All, After installing Apache 1.3.31 and modperl 1.29 and starting the server, I have this in my error logs: [Sat Jul 10 13:46:53 2004] [notice] SIGHUP received. Attempting to restart [Sat Jul 10 13:46:54 2004] [notice] Apache/1.3.31 (Unix) mod_perl/1.29 configured -- resuming normal operations [

Hmmmm....

2004-07-10 Thread David Arnold
All, I am not used to seeing this behavior, so I thought I'd ask. I make a change to my httpd.conf: PerlModule ModPerl::Rules2 SetHandler perl-script PerlHandler ModPerl::Rules2 PerlSendHeader On Then I try to restart server: [EMAIL PROTECTED] apache]# bin/apachectl gr

Time and day based authorization

2004-07-10 Thread David Arnold
All, I have a sequence of files (maybe 40) that I want to serve. Each file must be served no earlier than a certain time and no later than a certain time. Each of these time-day restrictions will be unique for each file. I am curious if the members of this group could suggest an authorization str

Need a little help with this one

2004-07-10 Thread David Arnold
All, I have a file /var/www/cgi-bin/tryit.cgi: #! /usr/local/bin/perl # tryit.pl use Acrobat::FDF; $inFDF=new Acrobat::FDF('-',$ENV{'CONTENT_LENGTH'}); my $currentField; my $currentValue; print("Content-type: text/plain\n\n"); $currentField=$inFDF->NextFieldName(""); while($currentField) {

Re: Need a little help with this one

2004-07-10 Thread David Arnold
Fred et al, The FDFToolkit and reference is available at: http://partners.adobe.com/asn/acrobat/forms.jsp The documentation is sparse, to say the least, but: NextFieldName Gets the next field name. The difficulty, I believe, occurs before the program gets to NextFiledName, as if I make this ad

Re: Hmmmm....

2004-07-10 Thread David Arnold
t, I later concluded, with some help from Fred, it must be becuase of the line PerlModule ModPerl::Rules2 that I have in httpd.conf. At 10:51 PM 7/10/04 -0700, Stas Bekman wrote: >David Arnold wrote: > >did you actually look at the error message? > >> Can't use global $=

httpd.conf secure?

2004-07-11 Thread David Arnold
All, Is httpd.conf secure? Would it be OK to store a password there? -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Keeping username and password alive after authentication and authorization

2004-07-12 Thread David Arnold
All, Suppose that a user logs on (successfully) with username and password, where the logon process is handled by mod_perl. Now they open a page with a form, fill out the fields, then press the submit button. The form is handled by a second script. My question: How can the second script be made

Check boxes on and off

2004-07-14 Thread David Arnold
Don, Bruce, I adjusted the pdf and cgi. Now, when the form first comes up, a couple of checkboxes are on. Then the cgi lights one up and turns one off. http://scinux.redwoods.edu/online_testing/GenerateFDF.pdf username: winnie password: thepooh The new cgi: #! /usr/local/bin/perl -w # File: Ge

Re: Check boxes on and off

2004-07-14 Thread David Arnold
Ooops! Sorry all, wrong address. My apologies. At 11:31 AM 7/14/04 -0700, David Arnold wrote: >Don, Bruce, > >I adjusted the pdf and cgi. Now, when the form first comes up, a couple of >checkboxes are on. Then the cgi lights one up and turns one off. > >http://scinux.redwoods.

multiple users on a single machine

2004-07-18 Thread David Arnold
All, We're writing a series of examinations that will be placed online. We anticipate that many students will use the computers in our academic support center (ASC) to take these examinations online. This means that it's possible that different students could enter our examination page from the sa

startup.pl file not working

2004-07-22 Thread David Arnold
All, I have this in conf/httpd.conf: # Startup File: PerlRequire /home/darnold/modperl/startup.pl And: [EMAIL PROTECTED] apache]# cat /home/darnold/modperl/startup.pl # File: startup.pl use lib qw(/home/darnold/modperl/); 1; However, I am getting this in my error log: Can't locate OnlineTest

Adding more locations to INC in startup.pl

2004-07-22 Thread David Arnold
All, Is this OK? # File: startup.pl use lib qw(/home/darnold/modperl/); use lib qw(/usr/local/apache/module/); 1; Where I've mkdir the module directory in /usr/local/apache. Can't test at the moment until I figure out my last question. Thanks. -- Report problems: http://perl.apache.org/bugs

Re: startup.pl file not working

2004-07-22 Thread David Arnold
;will not reload PerlRequire things. Maybe someone could correct me if >I'm wrong. >You could also test it using "apachectl configtest" and you should see >the output. > >Tom > >David Arnold wrote: >> All, >> >> I have this in conf/httpd.co

File Save As instead of context/plain

2004-07-24 Thread David Arnold
All, I am battling the strangest behavior. I have been battling this off and on every since I began experimenting with mod perl. I am currently working with: [Sat Jul 24 12:42:34 2004] [notice] SIGUSR1 received. Doing graceful restart [Sat Jul 24 12:42:34 2004] [notice] Apache/1.3.31 (Unix) mod_

Re: File Save As instead of context/plain

2004-07-24 Thread David Arnold
Jens, Nice idea. But it doesn't work. Same behavior. At 10:02 PM 7/24/04 +0200, Jens Gassmann wrote: >Hi Arnold, > > >Maybe delete the exit call at the end of you script. Read here why not >use exit under mod_perl > >Regards, >Jens > >http://perl.apache.org/docs/1.0/guide/porting.html#Terminatin

Re: File Save As instead of context/plain

2004-07-24 Thread David Arnold
yellow ball. Does anyone know how I can search out this file association on Windows 95? At 03:06 PM 7/24/04 -0500, Randy Kobes wrote: >On Sat, 24 Jul 2004, David Arnold wrote: > >> All, >> >> I am battling the strangest behavior. I have been battling this off and o

Re: File Save As instead of context/plain

2004-07-24 Thread David Arnold
Randy, Good advice. Thanks. At 03:39 PM 7/24/04 -0500, Randy Kobes wrote: >On Sat, 24 Jul 2004, David Arnold wrote: > >> Randy, >> >> Changing the filename to junk.cgi worked. >> >> I definitely think that filenames *.pl are associated with something or >&g

Having to restart browser to see changes to CGI

2004-07-25 Thread David Arnold
All, With the following entries in our httpd.conf, can anyone see any reason why we are having to close and reopen our browser to see any effect of the changes made to to /online_testing/perl/Quiz1Solns.cgi? # force reloading of modules # put use Apache::Reload in module you are developing PerlIn

Re: Light image server in low-traffic conditions?

2004-08-04 Thread David Hodgkinson
On 4 Aug 2004, at 00:48, Larry Leszczynski wrote: On Tue, 3 Aug 2004, Philippe M. Chiasson wrote: I've had lots of success with a light reverse proxy (httpd or squid) in front of my mod_perl servers. I would recommend it, as it's simpler than 2 completely separate servers for dynamic content and

eWeek Reviews Bricolage

2004-08-10 Thread David Wheeler
e Inc.'s Collage 4.5, PaperThin Inc.'s CommonSpot Content Server 4.0 and Ektron Inc.'s CMS300 4.5. (The reviews are ordered, roughly, from the high end to the low end of the content management market.) http://www.eweek.com/article2/0,1759,1627957,00.asp Regards, David smime.p7

Apache::DBI Connection Lost

2004-08-11 Thread David Hofmann
why Apache::DBI won't reconnect ? David Hofmann --- My Apache Startup Script --- # make sure we are in a sane environment. $ENV{MOD_PERL} or die "not running under mod_perl!"; use strict; use Carp (); use Apache::DBI (); DBI->install_driver("Pg"); # $Apache::DBI::D

Re: Apache::DBI Connection Lost

2004-08-11 Thread David Hofmann
Just tried it, still has the same problem. David From: Perrin Harkins <[EMAIL PROTECTED]> To: David Hofmann <[EMAIL PROTECTED]> CC: Modperl List <[EMAIL PROTECTED]> Subject: Re: Apache::DBI Connection Lost Date: Wed, 11 Aug 2004 12:43:59 -0400 On Wed, 2004-08-11 at 10:01, D

Apache::Request multivalued parameters

2004-08-19 Thread David Hofmann
dle multivalued parameters ? David _ Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.

Re: Apache::Request multivalued parameters

2004-08-19 Thread David Hofmann
ption 1 or 2 I would have to: $temp= "BOB"; $bob = $t->get($temp); print "$temp = $bob\n"; Is there where way to put the $t->get inside of a "s? David From: Joe Schaefer <[EMAIL PROTECTED]> You have quite a few options here: 1) Work with the Apache::Reque

Re: [RELEASE CANDIDATE] Apache-Test 1.13

2004-08-19 Thread David Wheeler
On Aug 19, 2004, at 12:17 PM, Stas Bekman wrote: You can download the release candidate from here: http://www.apache.org/~stas/Apache-Test-1.13-dev.tar.gz All tests pass for me, and it appears to work nicely with my module that uses Apache::TestMB. Regards, David smime.p7s Description: S/MIME

Error on Apache::Request install

2004-08-21 Thread David Hofmann
l, Apache/2.0.50 is list when I do version on Apache. Any idea what's up and how I can located this apxs stuff? OS is Fedora Core 2. David _ On the road to retirement? Check out MSN Life Events for advice on how to get there!

Missing POST data

2004-08-27 Thread David Graves
I'm writing an e-commerce package that uses mod-perl for all the product presentation. The mod-perl scripts use DBI, CGI, and my own perl modules which I understand all stay resident with each child server. I am quite pleased with their performance. I want to use good old-fashioned cgi for the che

Re: Trick PerlAuthzHandler into thinking Basic Auth occurred

2004-08-30 Thread David Castro
in the mod_perl developer's cookbook. all of chapter 13 can be read online for free: http://www.modperlcookbook.org/chapters/ch13.pdf HTH --Geoff -- David Castro Software Architect Azusa Pacific University "My little children, let us not love in word or in tongue, but in deed and in truth." -- 1 Jn 3:18 (NKJ)

Re: Trick PerlAuthzHandler into thinking Basic Auth occurred

2004-08-30 Thread David Castro
ot;no" if you want to use something other than mod_auth_ldap for the authentication phase, which is what you are trying to do. so, have you set this directive and tried a the other two approaches (setting the incoming header and/or just $r->user)? --Geoff -- David Castro Software Architect Azusa Pacific University "My little children, let us not love in word or in tongue, but in deed and in truth." -- 1 Jn 3:18 (NKJ)

Re: Trick PerlAuthzHandler into thinking Basic Auth occurred

2004-08-30 Thread David Castro
oach works with 2.0, so YMMV. Yeah, I just found that in authz_ldap_set_username too.  Sigh.  Well, thanks for your help. HTH --Geoff -- David Castro Software Architect Azusa Pacific University "My little children, let us not love in word or in tongue, but in deed and in truth." -- 1 Jn 3:18 (NKJ)

  1   2   3   4   5   6   >