Re: mod_perl, perlSSI, and !--#perl -- directive

1999-11-09 Thread darren chamberlain
I have been having the same problem. I have never been able to get Perl SSI's to work with Linux (mostly RedHat). I always build own Perl, always compile mod_perl with EVERYTHING=1, and never use DSO's, and have never been able to get it to work. The exact same procedure under Solaris, however,

Re: Apache and FILEHANDLES

1999-11-15 Thread darren chamberlain
Out of curiosity, what is wrong with the regular open/close/print END? The Apache::File class provides an Apache-oriented version of IO::File; it's described on pp 489-496 in my copy of the Eagle book. Depending on what files you want to write to, there might be other ways. If you are just

Re: Content management system

1999-12-01 Thread darren chamberlain
Try searching freshmeat (http://freshmeat.net/). darren BeerBong ([EMAIL PROTECTED]) wrote: Hello all! Are there any freeware content management systems kinda Zope or simpler on Perl ? What do you can recommend ? Where I can search for its ?

Re: spliting perl.conf from httpd.conf (newbie)

1999-12-01 Thread darren chamberlain
Apache will expect to find perl.conf in conf/perl.conf relative to the value in the ServerRoot directive, which is often the same as where the httpd.conf is located, but not necessarily. darren Fernando Rowies ([EMAIL PROTECTED]) wrote: The directives that ordinary be in perl.conf only worked

Re: return() and REDIRECT Disasters Within mod_perl: Please Help

1999-12-03 Thread darren chamberlain
I have had similar problems, and the solution seems to be (not sure why) to print the redirect the same way you would using CGI.pm and $r-send_http_header and then return OK, as in: use CGI; use Apache; use Apache::Constants 'OK'; sub handler { my $r = shift; my $q = CGI-new(); my

Re: Redirect While Maintaining Environment?

1999-12-08 Thread darren chamberlain
Jason, If you don't *have* to use CGI scripts, you can stick the "sensitive" stuff into $r-pnotes and do an internal redirect to another PerlHandler. The browser would never see the sensitive info (it would be passed among handlers on the server end), so this would go a long way to protecting

Re: mod_perl and module versions

1999-12-22 Thread darren chamberlain
Hi, WHy not just put each conf module in it's own namespace? Dir1::Conf and Dir2::Conf, for example. Then, you could stick them into a single lib directory, and not have to worry about modifying @INC or caching issues. Another option is to ensure that each script has a 'use lib' at the

Re: CGI and forms

2000-01-06 Thread darren chamberlain
Hi Etienne, CGI forms are "sticky"--they remember their value from the previous call, even if you manually set a value. Try adding a -force=1 to the hashref that gets passed into the submit function ($q-submit(-name='submit',-value='Modify',-force=1), for instance), which should tell CGI.pm that

Re: Storing hashes in Apache::ASP

2000-01-06 Thread darren chamberlain
Brian, How about using a hashref $stuff = { a = '1', b = '2', c = '3' }; instead of a hash? darren Bryan K. Wright ([EMAIL PROTECTED]) wrote: Hi folks, I've been trying to store a hash in a session variable, using code like that appended below. Call me a doofus, but I can't

Re: perl -V ??

2000-01-12 Thread darren chamberlain
the easiest way to tell if you have a module installed is $ perl -MModule::Name if you have the module perl will load it and wait (ctrl-d to exit), and if you don't it will choke. requires in eval { } 's is good for code that will be distributed and needs to do different things based on

Re: Doubts

2000-02-07 Thread darren chamberlain
It looks like a big part of the problem might be that you are not defining a username or database to access $db with. if you run the script from the command line, mysql will use the ones defined in your environment. I would add a few "or die"s and check $DBI::errstr when you do, or print

Re: HTTP_USER_AGENT

2000-04-03 Thread darren chamberlain
A quick grep through v. 1.0.0 revealed no such list (i grepped for 'user_' and 'mozilla' case insensitive). darren Jason Murphy ([EMAIL PROTECTED]) said something to this effect: I remember that SlashCode (The ModPerl scripts that run Slashdot.org) has a big listing of HTTP_USER_AGENT's in

Re: Help! Need correct order to build/install

2000-04-03 Thread darren chamberlain
Hi Drew, Drew Schatt ([EMAIL PROTECTED]) said something to this effect: Hi everyone- I recently upgraded to Solaris 8, and I am using gcc as my compiler. I removed the perl that came with the os, and recompiled perl_5.6.0 and installed it. I need to run mod_ssl, mod_perl, php, and

Re: cgi script efficiently invoking another cgi script

2000-04-04 Thread darren chamberlain
BT ([EMAIL PROTECTED]) said something to this effect: Assume you roughly have a one-to-one between scripts and web pages. How do you write a script to display its own web page or efficiently invoke another script/page? Redirect is slow. Can you exec, i.e. can a cgi script exec another in

Re: external access to intranet

2000-04-05 Thread darren chamberlain
Jonas Nordström ([EMAIL PROTECTED]) said something to this effect: But doesn't that only pass on the request and then return the HTML-files unchanged? I also want to change the links inside the HTML-bodies on the fly, so that the users can continue to "surf the intranet". For example, if the

Re: ANNOUNCE: IPO::Shareable [Re: may be an off topic question..]

2000-04-07 Thread darren chamberlain
use IPO::Shareable qw(:NYSE); my $ipo = IPO::Shareable-new($company); $ipo-is_internet(); hype $ipo; # dangerous indirect syntax! my $shares = $ipo-invest($LITTLE); $ipo-inflate($HUGE); # Note that HUGE is not really a constant $ipo-sell($shares); # may need to use

Re: Setting AuthUserFile dynamically ...

2000-04-18 Thread darren chamberlain
Scott Alexander ([EMAIL PROTECTED]) said something to this effect: Hi, I asked yesterday about using httpd.conf to set the AuthUserFile dynamically. Maybe I'm trying to paddle up a creek in a barb wire canoe. Is it possible to do something like below? i.e. use a variable in the

Re: Perl Section...

2000-04-20 Thread darren chamberlain
w trillich ([EMAIL PROTECTED]) said something to this effect: while($domain = $sth-fetchrow_array) { $PerlConfig .= "CONFIG"; VirtualHost $ipAddr ServerName www.$domain ServerAdmin webmaster@$domain ServerAlias $domain DocumentRoot

Setting authentication via a PerlInitHandler?

2000-05-17 Thread darren chamberlain
Hi, all. I am trying to figure out a way to set a PerlAuthenHandler (using $r-push_handlers()) from a PerlInitHandler. Here is what I have so far: Location /test PerlInitHandler Test::Init /Location package Test::Init; sub handler { my $r = shift; # # First try: gave me

Re: Setting authentication via a PerlInitHandler?

2000-05-17 Thread darren chamberlain
I am trying to figure out a way to set a PerlAuthenHandler (using $r-push_handlers()) from a PerlInitHandler. Follo-wup with more info. here is my auth sub: sub auth { my $r = shift; print STDERR Data::Dumper-Dump( [$r], ['Apache']); print STDERR "in auth handler\n" return

Re: Data structure question

2000-06-06 Thread darren chamberlain
Hi Drew, How about writing a custom sort routine, based on the order you would be using in the array, and returning that as a code ref? Sorting the hash would be as simple as: Common.pm: sub

Re: uninitialized value at ... CGI/Cookie.pm line 70.

2000-06-14 Thread darren chamberlain
Ronald Schmidt ([EMAIL PROTECTED]) said something to this effect: The full warning message on our system (Solaris, Apache 1.3.3, mod_perl 1.21?, perl 5.005_02) is: [Tue Jun 13 17:37:25 2000] null: Use of uninitialized value at /usr/local/lib/perl5/5.00502/CGI/Cookie.pm line 70. We are

Re: Any reason not to SSI include Registry scripts?

2000-06-22 Thread darren chamberlain
Michael Todd Glazier ([EMAIL PROTECTED]) said something to this effect: As a way to speed up the CGIs but allow my designers easy access to the html file, I'm executing an Apache::Registry CGI script from within an .shtml document using #exec cgi . The Apache manual says to prefer use of

Re: ErrorDocument, logging and error-notes question

2000-06-22 Thread darren chamberlain
Jeff Macdonald ([EMAIL PROTECTED]) said something to this effect: Hi, I found this interesting tidbit from the Eagle book on page 460: ... In addition, the message will be saved in the request's notes table, under a key named error-notes. ... And on page 454: ... For example,

Caching question: Dynamically generated output

2000-06-22 Thread darren chamberlain
Hello, all. My question is probably more Apache-related than mod_perl related, but since my output is being generated dynamically from a Perl module, I'll ask it here first. We are dynamically generating datebars for our sites using GD. The datebar for the day is generated the first time a

Re: [input] mod_perl and ISPs in the real world

2000-06-28 Thread darren chamberlain
David Hodgkinson ([EMAIL PROTECTED]) said something to this effect: Hmmm...what about a variant of the proxied mod_perl? Picture a lite bulk front-end apache doing the usual stuff then proxying the mod_perl stuff back to a serverly (chargeably?) process-limited apache with a different

Re: [Mason]Filling in input tag values

2000-06-28 Thread darren chamberlain
Perrin Harkins ([EMAIL PROTECTED]) said something to this effect: On Wed, 28 Jun 2000, Jim Peters wrote: Embperl does it all for you in that it recognises all the various form input tags, and puts default values in for you if they are missing, by whichever means necessary (value=,

Re: Session Cookies:cant retrieve value

2000-06-30 Thread darren chamberlain
Steven Wren ([EMAIL PROTECTED]) said something to this effect: Hey I am setting up shopping facilities for an online purchases and thought I would try modperl. Problem is I am trying to set a cookie and then read from it in the same handler, by setting the cookie then redirecting to the

Re: Session Cookies:cant retrieve value

2000-06-30 Thread darren chamberlain
Geoffrey Young ([EMAIL PROTECTED]) said something to this effect: -Original Message- From: darren chamberlain [mailto:[EMAIL PROTECTED]] Sent: Friday, June 30, 2000 8:48 AM To: Steven Wren Cc: [EMAIL PROTECTED] Subject: Re: Session Cookies:cant retrieve value [snip

Re: Hang in $r-print w/ POST

2000-07-06 Thread darren chamberlain
[EMAIL PROTECTED] ([EMAIL PROTECTED]) said something to this effect: hi, I've a strange pb in a PerlHandler, the subprocess seems to hang in a $r-print ($r is Apache::Request) after a send_http_header() - wich do not hang - when called with a POST method (after getting the content).

Re: Hang in $r-print w/ POST

2000-07-07 Thread darren chamberlain
heddy Boubaker ([EMAIL PROTECTED]) said something to this effect: "Darren" == darren chamberlain [EMAIL PROTECTED] writes: Darren Apache::Request retrieves the POSTed content, so if you try to get Darren it, the server will hang, waiting for input. With Apache::Request, D

Re: Using handler for index

2000-07-10 Thread darren chamberlain
Drew Taylor ([EMAIL PROTECTED]) said something to this effect: Hi all, I am using an Apache Handler module to create my home page, using Location /index.pl SetHandler perl-script PerlHandler ModuleName /Location I have DirectoryIndex set to "index.pl index.html", but the

Re: Using handler for index

2000-07-10 Thread darren chamberlain
Drew Taylor ([EMAIL PROTECTED]) said something to this effect: Yes, use a PerlFixupHandler instead of DirectoryIndex. This use of a fixup handler is detailed in the Eagle book. Now that's a good thought. I already have a fixup handler to do my browser sniffing. But rather than write another

HTML::Stream (was Re: Hang in $r-print w/ POST)

2000-07-12 Thread darren chamberlain
heddy Boubaker ([EMAIL PROTECTED]) said something to this effect: What I meant is a pkg that could generate all known HTML tags, not like HTML::StickyForms ... But all of you guys changed my mind instead of hardcoding the html into my handler I'll try to investigate the use of

Re: Idea of an apache module

2000-07-12 Thread darren chamberlain
Luis Henrique Cassis Fagundes ([EMAIL PROTECTED]) said something to this effect: How do I use Apache::Registry to cache pages in disk? The module I have in mind is something transparent to the programmer, you just tell apache that some CGI (or PHP, or any request) will be cached and

Re: Idea of an apache module

2000-07-12 Thread darren chamberlain
Luis Henrique Cassis Fagundes ([EMAIL PROTECTED]) said something to this effect: Hi, The module would handle the requests before any other modules and check in its database if there is a cached page for that request uri. If the page is cached, it will send the cached page and

Re: Idea of an apache module

2000-07-12 Thread darren chamberlain
John Edstrom ([EMAIL PROTECTED]) said something to this effect: The problem here is that you can't simply cache the page, because the server and even the script can't know when to replace the cached page until after its heard from the database or the source that is feeding the database. It

Re: Idea of an apache module

2000-07-13 Thread darren chamberlain
Luis Henrique Cassis Fagundes ([EMAIL PROTECTED]) said something to this effect: The idea of a 404 handler will fit perfectly with mod_rewrite: I can create a 404 handler that writes the page to a static file and to the browser and a rewrite rule that redirects request of the dynamic

Re: Idea of an apache module

2000-07-13 Thread darren chamberlain
Luis Henrique Cassis Fagundes ([EMAIL PROTECTED]) said something to this effect: The problem I'm having is not to write the contents, the problem is to get the contents I'm going to write. I must get the output of the dynamic page (that can be CGI, PHP, SSI, or anything) before it's sent

Re: can't get unbuffered output to work

2000-07-13 Thread darren chamberlain
Dirk Lutzebaeck ([EMAIL PROTECTED]) said something to this effect: No, doesn't seem to matter in my case. Is there any place I can verify that Apache has sent some data to the client? try: $ telnet myhost 80 GET / HTTP/1.0 (two carriage returns) You should see what the server is sending.

Re: Damian Conway book example (is the bug mine or his?)

2000-07-13 Thread darren chamberlain
Rob Tanner ([EMAIL PROTECTED]) said something to this effect: There's always more than one way to skin a cat, and I've tried several. This is what I really want to accomplish: my $colleague = {}; @{$colleague} = { "status", "id", "last_name",

Re: Wrong Time

2000-07-14 Thread darren chamberlain
Steven Zhu ([EMAIL PROTECTED]) said something to this effect: Hi All: We have a script to output time and date. It used to work fine. Since upgrdaing modperl (both apache and modperl are most recent version), the script shows wrong time. If i run the script from command line, it wroks fine

Re: Help needed for using Apache::DBI

2000-07-17 Thread darren chamberlain
PHANI MADHAVI ([EMAIL PROTECTED]) said something to this effect: IF AT ALL ANYBODY KNOWS HOW TO MAKE APACHE::DBI WORK,PLEASE HELP The guide is quite clear on how to use and set up Apache::DBI: http://perl.apache.org/guide/databases.html#Apache_DBI_Initiate_a_persist

Re: Filtering HTML files with mod_proxy and mod_perl

2000-07-19 Thread darren chamberlain
Alvar Freude ([EMAIL PROTECTED]) said something to this effect: Hi, I want to create a service which filters HTML files like this: http://www.a-blast.org/web-blast.html == http://www.a-blast.org/web-blast.plx?url=http://www.nsa.gov/programs/employ/ The user should enter a proxy in his

Re: Redirecting Users

2000-07-19 Thread darren chamberlain
Yann Ramin ([EMAIL PROTECTED]) said something to this effect: Hi. I'm trying to redirect users via. a Location header (internal redirect is not ideal - I need the browser to send the cookie to the page). The problem is specifying the header in a header_out doesn't cause it to be sent.

Re: Apache::AuthenDBI Intermittent problems

2000-07-19 Thread darren chamberlain
Mark Solomon ([EMAIL PROTECTED]) said something to this effect: I have been using AuthenDBI for a while and, while I cannot isolate a specific system change, apache gives a 500 error 1 out of 10 times with this in the error_log: I've tryed calling Apache::AuthenDBI from both the startup.pl

Re: Customized Module For Logging In Transfer Log

2000-07-20 Thread darren chamberlain
Saurabh Goyal ([EMAIL PROTECTED]) said something to this effect: Hi, I am new to apche and mod_perl. I am trying to write apache module to write some additional parameters to transfer log (access.log). Is anybody have an idea, how can we write additional stuff to access.log including the

Re: State Maintenance.

2000-07-20 Thread darren chamberlain
Simpson, John scott ([EMAIL PROTECTED]) said something to this effect: Is there a module for state maintenance using a database and cookies? Check out Apache::Session. Full featured session management, using whatever method you like. Many of the examples show the use of cookies, so you

Re: howto config apache to allow perl to filter php pages

2000-07-24 Thread darren chamberlain
Aaron Johnson ([EMAIL PROTECTED]) said something to this effect: I was thinking about the same thing awhile back. It was interesting to me that lots of neat applications are PHP based. I would like to be able to take the processed PHP page and include it inside of my mod_perl page. I was

VBScript parser a la Lingua::Romana::Perligata

2000-07-27 Thread darren chamberlain
[EMAIL PROTECTED] said something to this effect: On Mon, 24 Jul 2000 13:19:51 Joshua Chamas wrote: Until I write a VBScript to perl parser, yes you can only use perl under Apache::ASP. Ok, so are you actually going to write a VBScript to perl parser? Has anyone considered using an approach

Re: Overriding print in cgi scripts

2000-07-31 Thread darren chamberlain
Chetan Patil ([EMAIL PROTECTED]) said something to this effect: Hello, We have a large code base printing header, body and footers to the STDOUT from the cgi scripts. Since all these are print statements, we have to go to extreme measures to make sure we donot print the content more than

Re: Client filehandle?

2000-08-02 Thread darren chamberlain
Todd Caine ([EMAIL PROTECTED]) said something to this effect: I've got a Perl Module which has a function called RRDs::graph($args), that will only print to stdout. In my handler I write something similar to: STDOUT is where $r-print goes under mod_perl; you should be OK. Failing this, does

Re: Package Lexicals and PerlModule

2000-08-04 Thread darren chamberlain
mgraham ([EMAIL PROTECTED]) said something to this effect: With the above I expect to be able to call the following in some handler: Foo::load_var() ...and $PACKAGE_LEXICAL should still be 'wubba'. ...Except that by calling Foo:load_var() you are setting $PACKAGE_LEXICAL to undef (by

Re: Feature sets [was Re: Templating System]

2000-08-04 Thread darren chamberlain
Gunther Birznieks ([EMAIL PROTECTED]) said something to this effect: One book I would highly recommend on CVS is Open Source Development with CVS by Karl Franz Fogel. I found it to be not only highly informative but an incredibly fun read as well. Each of the semi-dry CVS chapters is

Re: logging out

2000-08-04 Thread darren chamberlain
Angel R. Rivera ([EMAIL PROTECTED]) said something to this effect: I authenticate against a database but need to carry more information than just their name so if I have read the readme at CPAN correctely, this just may do the trick. Thanks to all who have written me. -ar depending on how

Re: URI-Filename translation phase seems to be failing

2000-08-14 Thread darren chamberlain
Brady Richards ([EMAIL PROTECTED]) said something to this effect: hi all, this is probably a bone headed question, but two of us here have been beating our heads against it for a day and a half now, so i figure i might as well ask (since i couldn't find an answer in the docs or the

Re: new cgi mod_perl question

2000-08-17 Thread darren chamberlain
Alex Menendez ([EMAIL PROTECTED]) said something to this effect: does anyone know how to get the output of a standalone cgi script from a mod_perl module I have tried all the subrequest stuff but I can't get it to work. If all you are trying to do is get the raw output, use LWP and a

Re: logging out

2000-08-03 Thread darren chamberlain
Angel R. Rivera ([EMAIL PROTECTED]) said something to this effect: Ok folks, I am stumped. I am writing an authentication handler for our site and so far so good-it is coming on line. It makes sense. What does not make sense is how can I log myself off without having to exit the browser?

Re: [OT?] Cross domain cookie/ticket access

2000-09-08 Thread darren chamberlain
Joe Pearson ([EMAIL PROTECTED]) said something to this effect: I thought you could set a cookie for a different domain - you just can't read a different domain's cookie. So you could simply set 3 cookies when the user authenticates. You sure can -- otherwise Navigator wouldn't have the "Only

Re: I'm missing something in Apache::Cookie

2000-09-18 Thread darren chamberlain
Michael ([EMAIL PROTECTED]) said something to this effect: H. When I retrieve a cookie %cookies = Apache::Cookie-fetch; I get a hash that contains the name of the cookie as the key and a scalar reference as the value. Apache::Cookie=SCALAR(0xblah...) Can't seem to unravel

Re: Compilation recommendations.

2000-09-26 Thread darren chamberlain
Lord Vorp ([EMAIL PROTECTED]) said something to this effect: Is there an easier/cleaner way to do this??? Yes: # cat ~/build_mod_perl perl Makefile.PL APACHE_SRC=../apache-1.3.9/src \ DO_HTTPD=1 \ USE_APACI=1 \ EVERYTHING=1 \ APACI_ARGS='--prefix=/usr \ --with-layout=RedHat

Re: suggestions needed re. required files and persistent data

2000-09-28 Thread darren chamberlain
John Reid ([EMAIL PROTECTED]) said something to this effect: Hi Guys *snip* server start. I experimented with IPC::Shareable, but when I attempted to do anything with it in my startup.pl file it segfaulted the server and httpd would not start. Hi John, If IPC::Sharable is failing for you,

Re: NOT_FOUND from a PerlHandler causing problems with ErrorDocument

2000-09-28 Thread darren chamberlain
Bjørn Ola Smievoll ([EMAIL PROTECTED]) said something to this effect: [Sorry for being so verbose, hope somebody still have the time and patience to read it all]. I have a setup where a PerlTransHandler registers a PerlContentHandler based simply on whether $r-uri ends with '.html' or not.

Re: Adding parameters on an internal_redirect()

2000-10-06 Thread darren chamberlain
[EMAIL PROTECTED] ([EMAIL PROTECTED]) said something to this effect: What I'd like to do with a particular type of error is redirect with all the parameters passed to the error-inducing script plus one tacked on for good measure. So if /blah/foo.pl?bar=1 was the script that generates the

Strangeness with Carp under mod_perl

2000-10-10 Thread darren chamberlain
Hi All. This is a curiosity question, mostly. I have a simple method of sending debugging messages to the error log: use constant DEBUG = 1; # Set to 0 to turn off debugging throughout sub debug ($) { if (DEBUG) { return carp sprintf "[%s] [%s] %s", scalar caller, scalar localtime,

Re: Turning off a perl handler in a particular directory

2000-10-19 Thread darren chamberlain
Chris Brooks ([EMAIL PROTECTED]) said something to this effect: I tried setting the PerlHandler back to cgi-script (in the lower-level directory), but that did not turn the Wrapper handler off: Location /www/perl/htdocs/lower_level That should probably be Directory. As written, it

Re: Turning off a perl handler in a particular directory

2000-10-19 Thread darren chamberlain
Chris Brooks ([EMAIL PROTECTED]) said something to this effect: You're absolutely right, the mistake is mine. I have tried writing the config files a couple of ways: Location /store SetHandler cgi-script /Location and Directory /www/perl/htdocs/store SetHandler

Re: [ RFC ] New Module Apache::SessionManager

2000-10-27 Thread darren chamberlain
Greg Cope ([EMAIL PROTECTED]) said something to this effect: $r-header_out(Location = 'http://' . $r - server - server_hostname . $r-uri()); Seems easy - will add it in. It's not that simple, of course -- you need to maintain port numbers and all that. I recommend using Apache::URI --

Re: trying to isolate VirtualHosts running identical .pm's

2000-11-17 Thread darren chamberlain
Scott Dayberry ([EMAIL PROTECTED]) said something to this effect: I'm trying to configure a single box to host completely separate instances of development and test versions of the same code base (currently 49 modules). Right now I have 2 virtual hosts configured on the same IP and

Re: Apache::Registry + errors in a browser

2000-11-21 Thread darren chamberlain
Jacek Ostrowski ([EMAIL PROTECTED]) said something to this effect: hi, I have a litle suggestion to Apache::Registry - I tried to change it to allow script writers to see compile errors in a browser. I'am using mod_perl at my work ( its great - you know ) but there are few other

Re: Passing data

2000-11-21 Thread darren chamberlain
ASHISH MUKHERJEE ([EMAIL PROTECTED]) said something to this effect: Hey all, I am in need of some help. Can anyone pls. tell me how I can pass data from a Handler to a script ? Can any session data etc. withing a Handler be made accessible within a script ? Also, how can I pass data between

Re: Using MHonArc inside of mod_perl

2000-11-28 Thread darren chamberlain
Aaron Johnson ([EMAIL PROTECTED]) said something to this effect: I am trying to get the MHonArc package to work in conjunction with an in house module. When MHonArc (http://www.mhonarc.org) is run and told to process a single file instead of a directoy full of files, it sends the output to

Re: RFC: mod_perl advocacy project resurrection

2000-12-05 Thread darren chamberlain
kevin montuori ([EMAIL PROTECTED]) said something to this effect: David Hodgkinson writes: prebuilt solves the problem nicely for people running linux; however, that's not everybody. i'm sure there are sun shops out there without the sysadmin expertise to download and

Test -- Please Ignore

2000-12-08 Thread darren chamberlain
-- Half of all epigrams exaggerate, and this is one of them. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: File name conversion

2000-12-11 Thread darren chamberlain
Hi Aaron, Check out the section titled "Using a Translation Handler to Change the URI" in Chapter 7 of the Eagle book, at http://www.modperl.com/book/chapters/ch7.html#Using_a_Translation_Handler_to_C. Aaron Johnson ([EMAIL PROTECTED]) said something to this effect: Is there a module that

Re: Unset PerlAuthenHandler (I wish)

2000-12-19 Thread darren chamberlain
Jeff Sheffield ([EMAIL PROTECTED]) said something to this effect on 12/18/2000: here is a portion of my conf file. -- Location /websites/foo.net/htdocs/ AuthName "foo" AuthType Basic *snip* Are you sure you want a Location here? This looks

[RFC] New Apache Module, comments and name suggestions requested

2000-12-22 Thread darren chamberlain
I am looking for some feedback, and possibly an idea for a name for this module. In my experience, one of the problems with template modules like HTML::Template, TemplateToolkit, HTML::Mason, and the others, is that they are *toolkits* -- there is no fast way to go from Perl module to output.

Re: XMas printing benchmark

2000-12-29 Thread darren chamberlain
How about this: ### Code: (my $text ='foo') =~ s/^\s+://mg; :h1Hello, World!/h1 : pa href="http://foo.org/"I/a am an indented link./p : pSo am a href="http://bar.org/"I/a./p foo print $text; ### Output: h1Hello, World!/h1 pa

Re: problems with mod_perl

2000-12-29 Thread darren chamberlain
Yung Kwong Wing ([EMAIL PROTECTED]) said something to this effect on 12/29/2000: I have encountered the problems with carrying out: Here is your answer: configure:Error: No such rule named 'EXPAT' Checking for LWP::UserAgent..failed Checking for HTML::HeadParserfailed The

Re: how to secure backend server ?

2001-01-02 Thread darren chamberlain
Oleg Bartunov ([EMAIL PROTECTED]) said something to this effect on 01/02/2001: You can explicitly bind an apache server to localhost. This works only if frontend and backend are on the same physical server. But it will not works even in this situation if you have several proxies running

Re: Adding a mod_perl / handler gives odd SCRIPT_NAME and PATH_INFO...

2001-01-09 Thread darren chamberlain
Jacqui Caren ([EMAIL PROTECTED]) said something to this effect on 01/09/2001: Location /pgc SetHandler perl-script PerlHandler PGC:;Handler ^ /Location * snip * Location / SetHandler perl-script PerlHandler PGC:;Handler ^ /Location * snip

Re: Following fresh compile from new src...

2001-01-16 Thread darren chamberlain
andrewl ([EMAIL PROTECTED]) said something to this effect on 01/16/2001: Invalid command 'Order' on line 333 in httpd.conf. This will appear if you disabled mod_access via something like '--disable-module=access' in your APACI_ARGS Apache configure commands. (darren) -- In the fight between

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

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: Instance variable inheritance: is it just me or am I doing something dumb?

2001-01-29 Thread darren chamberlain
Christopher L. Everett ([EMAIL PROTECTED]) said something to this effect on 01/28/2001: package simian; use fields qw (name); sub new { my $type = shift; my class1 $self = fields::new(ref $type || $type); $self-{name} = 'Jane'; return $self-{name}; # error here } Why aren't

Re: Passing data among handlers

2001-01-30 Thread darren chamberlain
Paul J. Lucas ([EMAIL PROTECTED]) said something to this effect on 01/30/2001: Perhaps I've missed it, but is there a better way than the "notes" mechanism to pass data among handlers? The "notes" mechanism not only requires the notes to be scalars, but, apparantly,

Re: Logging to apache from perl

2001-01-30 Thread darren chamberlain
harilaos ([EMAIL PROTECTED]) said something to this effect on 01/30/2001: I want to create a username and password when a user enters my site, then pass these values to apache to authenticate. Then i could have the REMOTE_USER variable available throught the users stay at my site. You want

Re: Passing data among handlers

2001-01-31 Thread darren chamberlain
Drew Taylor ([EMAIL PROTECTED]) said something to this effect on 01/30/2001: I have a slightly different twist on this question. We run Registry scripts on our site for debugging purposes. I would love to have a module for saving variables/data structures on a per-request basis (like the

Re: object not being destroyed in a TemplateToolkit-based handler

2001-02-06 Thread darren chamberlain
Vivek Khera ([EMAIL PROTECTED]) said something to this effect on 02/06/2001: However, at the end of the template processing, the object is not destroyed; that is, the DESTROY() method is never called, and therefore the tied hash never gets untied and Apache::Session::MySQL doesn't get a

Re: Need alittle help with something

2001-02-08 Thread darren chamberlain
Kevin Dabson ([EMAIL PROTECTED]) said something to this effect on 02/08/2001: Date: Thu, 8 Feb 2001 11:04:35 + (GMT) From: Kevin Dabson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Need alittle help with something Hello, I am trying to integrate a whois type tool that allows

Re: trouble with path_info

2001-02-12 Thread darren chamberlain
Pierre Phaneuf ([EMAIL PROTECTED]) said something to this effect on 02/12/2001: I spent two days trying to make my "virtual document" PerlHandler work from various locations, which I had thought to be really easy, by simply looking at the path_info to determine what virtual document to bring

Re: Is it Apache or me?

2001-02-26 Thread darren chamberlain
Jamie Krasnoo ([EMAIL PROTECTED]) said something to this effect on 02/26/2001: I'm not quite sure how this works, and maybe I missed it in the Eagle book. I have a handler set in httpd.conf like this: Location / Set-Handler perl-script PerlHandler app::main /Location Now

[OT] Re: security!

2001-03-02 Thread darren chamberlain
Matt Sergeant ([EMAIL PROTECTED]) said something to this effect on 03/02/2001: ...now that I've developed applications that make rather extensive use of the Apache API, I would actually love to have an environment similar to CGI but providing the full Apache API, including logging,

Re: Can't find index.html

2001-03-08 Thread darren chamberlain
John Whitnack ([EMAIL PROTECTED]) said something to this effect on 03/08/2001: We are running Apache 1.3.17 and mod_perl 1.25 on Solaris 7. The problem I am having is that when I type: http://my.domain.name I get a error message: The document contained no data. Try again

Re: Passing Objects with PerlSetVar

2001-03-09 Thread darren chamberlain
Nikolaus Rath ([EMAIL PROTECTED]) said something to this effect on 03/09/2001: Location Bla Perl my $o = { "bar" = 1, "foo" = "com", "other" = 0 }; push @PerlSetVar, "Objekt, $o; /Perl PerlHandler Bla /Location And

Re: Passing Objects with PerlSetVar

2001-03-12 Thread darren chamberlain
Ken Williams ([EMAIL PROTECTED]) said something to this effect on 03/12/2001: [EMAIL PROTECTED] (darren chamberlain) wrote: I just found Apache::Storage URL:http://tangent.org/Apache-Storage/, which will let you store complex data structures from httpd.conf: I wonder why I've never heard

Re: %ENV

2001-03-15 Thread darren chamberlain
Gene Dascher ([EMAIL PROTECTED]) said something to this effect on 03/15/2001: Is the ENV hash sanitized and repopulated between the time the Perl*Auth handlers are run and the requested cgi is executed? I am setting an ENV key in one of my handlers that I'd like to use in a cgi that resides

Re: %ENV

2001-03-15 Thread darren chamberlain
Gene Dascher ([EMAIL PROTECTED]) said something to this effect on 03/15/2001: Well, with the subprocess_env(), I can see the key that I set in my cgi now, but the value that I set the key to is a Hash reference that I need to use in my cgi. Unfortunately, all I get now is ENV{'TEST_VAR'} =

Re: %ENV

2001-03-15 Thread darren chamberlain
Geoffrey Young ([EMAIL PROTECTED]) said something to this effect on 03/15/2001: Gene Dascher ([EMAIL PROTECTED]) said something to this effect on 03/15/2001: Well, with the subprocess_env(), I can see the key that I set in my cgi now, but the value that I set the key to is a Hash

Re: notes() from registry-php-registry

2001-03-20 Thread darren chamberlain
daniel ([EMAIL PROTECTED]) said something to this effect on 03/19/2001: hello all, i've got a registry script that issues a subrequest for a php page that issues a subrequest on another registry script. registry-php-registry the initial registry script sets: $r-notes("seen"=

  1   2   3   >