Re: [OT] About XML and Petal (was Re: templating system opinions (axkit?))

2003-07-30 Thread Eric Cholet
he 'html' filter in TT. I wrote a subclass of Template which does this automatically for me, and as with Petal I can also not encode by using a specific method. -- Eric Cholet

Re: Few Important Questions

2003-06-19 Thread Eric Cholet
iling lists and web sites. Donations help fund these infrastructure expenses. Thanks! -- Eric Cholet

Re: How practical is that Practical mod_perl?

2003-06-16 Thread Eric Cholet
Stas Bekman wrote: [...] BTW, Eric is working on creating a new site for http://modperlbook.org/ which will include the source code, errata and other useful information. We will let you know when this work has been completed. I've just put it online. Enjoy, -- Eric Cholet

Re: evil scripts kill the server...

2002-10-17 Thread Eric Cholet
ue? Yes, please explain how careless programming practice can make root access available to the world. Apache by default runs under the unpriviliged user 'nobody', seems to me that giving root access to the world would require running Apache as root, not something which can be achieved only by careless programming. Am I missing something? -- Eric Cholet

Re: top for apache? [OT]

2002-09-23 Thread Eric Cholet
t(1), and df(1) utilities. It has a visual alerting capabilities and configurable automatic refresh mode. All the sections can be shown/hidden dynamically through the web interface." -- Eric Cholet

Re: [OT] Which is the fastest XML/XSL engine?

2002-08-30 Thread Eric Cholet
pi I'm aware of is > XML::XSLT which is not particularly fast. I'd like to do transforms in > realtime for a high traffic site. Try XML::LibXSLT, in conjunction with XML::LibXML, these modules use the Gnome project's LibXML and LibXSLT which are quite fast. -- Eric Cholet

Re: Three tier computing: suggestion needed for DBI connection.

2002-08-26 Thread Eric Cholet
x27;) to include >> in my 'dbname' the host name i.e. 'dbname=mydb@Ultra1' being Ultra1 a >> fully qualified alias into my hosts table, >> - Providing the above is possible, I imagine that leaving PG installed >> at the front end it could only be useful for 'psql -h Ultra1 mydb' but >> not necessarily used for DBI? >> >> Any suggestions are much appreciated. >> >> Fabian. > -- Eric Cholet

Re: [Newbie Q] Cleanest way to implement one logon per user?

2002-08-02 Thread Eric Cholet
system, and it's possibly that it has flaws that surely this list readers will be quick to point out, and I'll be grateful for that. -- Eric Cholet

Re: duplicate output with Registry.pm

2002-07-16 Thread Eric Cholet
Run > PerlSendHeader On > Options +ExecCGI > > > > http://www.kwinternet.com/eric > (250) 655 - 9513 (PST Time Zone) > > "Inquiry is fatal to certainty." -- Will Durant > > > -- Eric Cholet

Re: [ANNOUNCE] Cache::Cache 1.0

2002-04-13 Thread Eric Cholet
> may always return the same hash, no matter what the key.) I'm seeing this problem when using Apache::SOAP, using Cache::Cache 0.99 or 1.0. Downgrading to Digest::MD5 2.12 indeed solves it. -- Eric Cholet

Re: [slightly OT] Re: Be carefull with apache 1.3.24

2002-04-01 Thread Eric Cholet
--On lundi 1 avril 2002 16:44 -0500 Larry Leszczynski <[EMAIL PROTECTED]> wrote: > On Mon, 1 Apr 2002, Eric Cholet wrote: > >> The Set-Cookie issue has been fixed in apache CVS, but the chunked >> response issue hasn't yet. Forward any ideas/patches to the >>

Re: Be carefull with apache 1.3.24

2002-04-01 Thread Eric Cholet
; >> Anyway, now that I have patched, working versions, what's the status on >> apache.org fixing this bug in the real distribution? >> >> -John >> > > -- > Pedro Melo Cunha - <[EMAIL PROTECTED]> > Novis Telecom, S.A. - Dir. Rede - ISP <http://www.novis.pt/> > Edifício Novis - Estrada da Outurela, 118 - 2795-606 Carnaxide > tel: +351 21 0104340 - fax: +351 21 0104301 -- Eric Cholet Logilune

Re: Be carefull with apache 1.3.24

2002-04-01 Thread Eric Cholet
ed response issue hasn't yet. Forward any ideas/patches to the [EMAIL PROTECTED] or to mod_proxy's maintainer, minfrin at sharp dot fm. -- Eric Cholet

Re: mod_perl, mod_gzip, incredible suckage

2002-02-19 Thread Eric Cholet
can you translate that little paragraph about FreeBSD? -- Eric Cholet

Re: What phase am I in?

2001-12-28 Thread Eric Cholet
e/modperl/liphortwa/Pine.LNX.4.10.99092112175 >> 10.5 [EMAIL PROTECTED] >> >> It's called current_callback(). > > Grr, its not documented when I do 'perldoc Apache'. It is now. -- Eric Cholet

Re: Any good WebMail programs?

2001-12-13 Thread Eric Cholet
> I can use a primer on researching WebMail programs with the following http://www.astray.com/acmemail/ -- Eric Cholet

RE: Auth Handlers

2001-12-12 Thread Eric Cholet
ed the user to enter his name and > password." > > Has anybody got an idea how to let a handler decide, if autthen. is > required? You could use a PerlAccessHandler, if you figure authentication isn't required you run $r->set_handlers(PerlAuthenHandler => [\&OK]); -- Eric Cholet

Re: Defeating mod_perl Persistence

2001-12-11 Thread Eric Cholet
t to be sure it gets called. And you should do it as soon as possible to close the connection and free the socket. The mail is being sent to server, but is not processed by the server till the sender object is closed! -- Eric Cholet

Re: [modperl site design challenge] please vote]]

2001-12-04 Thread Eric Cholet
ad Sorry about that, this constraint has been removed, please try again. -- Eric Cholet

Re: Using Apache::Reload in development environment?

2001-07-30 Thread Eric Cholet
ime, so you might want to reload only your own modules, in which case you set it to Off, and add a directive to reload only your tree, such as PerlSetVar ReloadModules "Foo::* Bar::*" -- Eric Cholet 145C FF7F 7920 04B0 7BA3 48D8 5591 E2C0 6664 C078

Re: BOF?

2001-07-16 Thread Eric Cholet
th these people will be there ;) -- Eric Cholet B995 E519 1594 10D0 4271 1EA5 8DF3 8004

Re: perl 5.6 + mod_perl in production environment

2001-07-12 Thread Eric Cholet
--On 11/07/01 07:57 -0700 Eric Kolve wrote: > I was wondering if anyone is currently using perl 5.6 + mod_perl in a > prod environment. > > What kinds of problems, if any are people seeing with this? I've been using 5.6.1 in production for a while, no problems. -- Eric Chol

mod_perl/IPC feedback needed

2001-04-30 Thread Eric Cholet
;m interested in any experience with IPC, good or bad. Please reply privately. If there is interest I'll post a digest of the replies. Thanks, -- Eric Cholet

Re: Unset PerlAuthenHandler (I wish)

2000-12-19 Thread Eric Cholet
> > Essentially I want to do this. > > Unset PerlAuthenHandler > > Try: > > > PerlInitHandler "sub {$_[0]->set_handlers(PerlAuthenHandler=>undef);}" > I think this should be: ... set_handlers(PerlAuthenHandler => [\&OK]); -- Eric

Re: ANNOUNCEMENT: NEW VERSION: HTML::Template 2.1

2000-12-17 Thread Eric Cholet
> ANNOUNCEMENT: NEW VERSION: HTML::Template 2.1 > > HTML::Template - a Perl module to use HTML Templates > Does it support ELSIF yet? -- Eric

Re: Way it is so copmplicated

2000-10-02 Thread Eric Cholet
> I am developing computer software for more than 30 years. > Yet not able to install even the minimal support for ASP using APACHE > on WIN95 platform (which is no doubt, the most popular in the world). Well we've all had problems when installing things for the first time, that's what this list

Re: Question

2000-09-11 Thread Eric Cholet
> GWH> HI Stas, > GWH> On Mon, 11 Sep 2000, Stas Bekman wrote: > > >> Will you also ask why Stas is learning French? > > GWH> Chercher la femme? > > Most likely because the people in Paris demand you speak to them in > perfect French. High school level French is not accepted ;-| well then we'

Re: PerlAuthenHandler -- doesn't get there...?

2000-08-18 Thread Eric Cholet
> i canna get the PerlAuthenHandler to do ANYTHING. first > line of code after $r = shift is $r->warn() but nothing > shows up in the log. aaugh! > > i copied the sample code from 'illustrated security scenarios' > at http://perl.apache.org/guide/security.html nearly verbatim, > (cut & paste + m

Re: Win32 compiling problem - unresolved external symbol

2000-08-17 Thread Eric Cholet
> Hello, > > I am attempting to compile Perl/Apache/mod_perl on Windows 2000 using > MSVC6. > Perl and Apache compiled fine however mod_perl returns the following error; > > Configuration: ApacheModulePerl - Win32 > Release > Linking... >Creating libr

Re: my transhandler runs only once in each child ?!?

2000-08-14 Thread Eric Cholet
> Dear All > > I've a bug somewhere that I cannot appear to spot.. > > I have writen parts of a transhandler to handle session's. It works in > once in each child and then does not appear to be executed again. > > I've looked through The Guide and could not see anything there, nor in > the 'Ap

Re: ignore header_only()?

2000-08-05 Thread Eric Cholet
> Ken Fox wrote: > > I was using $request->sent_header and found out that it's > > not terribly useful if PerlSendHeader is off -- sent_header > > always returns 1. I changed mod_perl_sent_header so that > > it returns 0, 1 or 2: > > > > 0 - headers have not been sent (PerlSendHeader on) > >

Re: does anyone have a fix for this?

2000-08-03 Thread Eric Cholet
> Hello all, > > I'm new to the list and I'm hoping that someone could help me and explain > what I'm doing wrong or how to fix this > > > I recently compiled mod_perl-1.24 and it can run modules that I program. > However I get a segmentation fault (11) when I use a :: to describe where > the m

Re: Feature sets [was Re: Templating System]

2000-08-02 Thread Eric Cholet
> Hi there, > > I have a pure perl implementation of a simple templating system which is > (what I consider to be) relatively lightweight - it copes well in both > cgi-bin and mod_perl environments, at least for me. I've looked at various > other modules, and do believe mine brings an alternative

Re: Problem with proxys & Auth...

2000-07-31 Thread Eric Cholet
> This is a strange one for which I hope there's a simple answer & solution. > > I've put a Front-side Proxy on a webserver (as it was struggling under the load > from lots of hits over slow links - more RAM than CPU issue), and it's helped > performance wonderfully! > > However, my IP-based res

Re: mixed httpd.conf => mixed results

2000-07-25 Thread Eric Cholet
> > At the end of an httpd.conf that contains both perl and apache traditional config >material, > I tried to list the resulting configuration (here only Locations and VirtualHosts). > Only the material belonging to the perl section was listed. That puzzles me. mod_perl only parses its own dire

Re: PerlSetupEnv is evil

2000-07-24 Thread Eric Cholet
> > -Original Message- > > From: Roger Espel Llima [mailto:[EMAIL PROTECTED]] > > Sent: Friday, July 07, 2000 5:19 PM > > To: [EMAIL PROTECTED] > > Cc: [EMAIL PROTECTED] > > Subject: PerlSetupEnv is evil > > > > > [snip] > > > > It also turns out that specifying "PerlSetupEnv Off" outsi

Re: can't get unbuffered output to work

2000-07-13 Thread Eric Cholet
> Steve van der Burg writes: > > >Hi, unbuffered output in a handler just doesn't work for me: > > [ details of setup and handler snipped ] > > > > > >If I 'GET /unbuffered' in Netscape nothing is printed until I stop the > > >server. Setting $|++ does not help. Something is still buffering.

Re: How to get User abc

2000-07-11 Thread Eric Cholet
> I have a PerlTransHandler and I have a bunch of virtual hosts. Each virtual > host looks like this > > > User abc > Group abcs > > > (How) can I access the User and Group definitions in the VirtualHost (which > are intended for suexec)? Is this feature missing in mod_perl 1.24? The > eagle b

Re: Using handler for index

2000-07-10 Thread Eric Cholet
> > > > SetHandler perl-script > > PerlHandler ModuleName > > > Well, seems like I tried that, and then it ALWAYS used that handler. I > also have other handlers, and I _think_ the setup above overrode the > others. I'll give it a try again now. OK, I just tried it, and it > overrode every

Re: PerlAddVar bug

2000-07-06 Thread Eric Cholet
> On Thu, 6 Jul 2000, Geoffrey Young wrote: > > > Sorry to bring up PerlAddVar again, but this time I have a legitimate bug. > > It stems from what I reported last time about items in Apache::Table not > > being visible outside a directives: > > See the section on DIR_MERGE in the Eagle book. I

Re: User pressed stop?

2000-07-04 Thread Eric Cholet
> Every so often I get: > > Broken pipe: client stopped connection before rflush completed > > In my error log. Is that the "user pressed stop" condition? AxKit just > sends raw files (unless in no_cache mode), i.e. it sets $r->filename() and > then returns DECLINED. Do I need to handle this, or

Re: $r->path_info question

2000-06-27 Thread Eric Cholet
> Hi all, > > I am using $r->path_info in an Apache handler. The handler is set via a > Location directive: > > # Overcoming Legacy code :-) > SetHandler perl-script > PerlHandler eLogix::Images::Detail > > > And is called like "/cgi-bin/detail.pl/A1234567.jpg". My question is > this: Since t

Re: set_handlers() bug?

2000-06-26 Thread Eric Cholet
> I've found some odd behavior that I've narrowed to a set_handlers call. I've > written an authz cache. On requests with cache misses, the system functions > as one would expect. Once there's a cache hit, the values of DirectoryIndex > are somehow flushed or ignored. Here's the important snippet

Re: Problem

2000-06-22 Thread Eric Cholet
> When running "make" for mod_perl, I'm getting the following error: > > mod_perl.c: In function `perl_startup`: > mod_perl.c:738: 'ap_configtestonly' undeclared (first use in this function) > mod_perl.c:738: (Each undeclared identifier is reported only once > mod_perl.c:738: for each function i

Re: garbled redirections

2000-06-20 Thread Eric Cholet
> Hello, all. > > First, the problem: > > [Tue Jun 20 09:06:55 2000] [error] [client 90.17.209.65] Invalid error > redirection directive: üØ@ > > > üØ@? Let me assure you, "üØ@" isn't in my code anywhere. =o) > > I a

Re: PerlChildInitHandler

2000-06-20 Thread Eric Cholet
> Hi! > > > > Is it possible to pass variables defined with PerlSetVar to a > > > PerlChildInitHandler ? > > > If not, is there any other way to define variables in such a handler than > > > hardcoding values into the .pm? > > > > You can use Apache->server->dir_config() to access per-server conf

Re: PerlChildInitHandler

2000-06-20 Thread Eric Cholet
> Hi! > > Is it possible to pass variables defined with PerlSetVar to a > PerlChildInitHandler ? > If not, is there any other way to define variables in such a handler than > hardcoding values into the .pm? You can use Apache->server->dir_config() to access per-server config variables. -- Eric

Re: Segfault Apache1.3.12/mod_perl1.24/Solaris2.6

2000-06-19 Thread Eric Cholet
> Hi all, > > Sorry, this is a bit long. [snip] > [Fri Jun 16 17:20:21 2000] [notice] \ > child pid 22310 exit signal Segmentation Fault (11) [snip] > There is no core dump and the same thing happens with the -X switch. please see the instructions in SUPPORT on how to provide a backtrace. --

Re: proxy requests via mod_proxy

2000-06-14 Thread Eric Cholet
> In the startup.pl of the app server: > > sub My::ProxyRemoteAddr ($) { >my $r = shift; you'll want to insert this here: # we'll only look at the X-Forwarded-For header if the requests # comes from our proxy at localhost return OK unless ($r->connection->remote_ip eq

Re: Apache children hanging

2000-06-13 Thread Eric Cholet
> Is there any equivalent procedure for debugging core > dumps? I've tried this and it doesn't work because > the process is not running. When I process dies it > would be nice to know where it was in the Perl stack. % gdb httpd core > > -P > > -Original Message- > From: Doug MacEach

Re: [performance/benchmark] printing techniques

2000-06-07 Thread Eric Cholet
> > These > > things add up, so don't you think that whatever can be optimized, should ? > > Wrong question, IMHO: it's what you optimize for that counts. Several things > come to mind that are often more important than performance and often mean not > optimizing for performance (these are interr

Re: [performance/benchmark] printing techniques

2000-06-07 Thread Eric Cholet
>From: "Eric Strovink" <[EMAIL PROTECTED]> > > Of course the slowest stuff should be optimized first... > > Right. Which means the Guide, if it is not already so doing, ought to > rank-order the optimizations in their order of importance, or better, their > relative importance. This one, it appe

Re: [performance/benchmark] printing techniques

2000-06-07 Thread Eric Cholet
> > So if you want a better performance, you know what technique to use. > > I think this last line is misleading. The reality is that you're doing > 500,000 iterations here. Even for the worst case scenario of multi_print > with no buffering you're managing nearly 22,000 outputs a second. Now > g

Re: Data structure question

2000-06-06 Thread Eric Cholet
> Using tied hashes, you could conceivably make your own ordered hash class > and use that as the data structure you return. You'd still basically have > two data structures (for performance) but the fact that it is two data > structures would be hidden behind the tied hash which would be programm

Re: [RFC: performance] Initializing DBI.pm

2000-06-05 Thread Eric Cholet
> > > I've not done much of either this last year, however, I'm hoping to get > > > a new beta DBI release out this week. Maybe... > > > > Tim I hope you plan to integrate Doug's patch which makes it possible to use > > DBI with Perl 5.6 -Dusethreads. Thanks! > > Of course. And I'll trust you'll a

Re: [RFC: performance] Initializing DBI.pm

2000-06-04 Thread Eric Cholet
s to you :) > > I've not done much of either this last year, however, I'm hoping to get > a new beta DBI release out this week. Maybe... Tim I hope you plan to integrate Doug's patch which makes it possible to use DBI with Perl 5.6 -Dusethreads. Thanks! > > Tim. > -- Eric Cholet

Re: Apache children hanging

2000-06-03 Thread Eric Cholet
gt; > -- > Dave Hodgkinson, http://www.hodgkinson.org > Editor-in-chief, The Highway Star http://www.deep-purple.com > Apache, mod_perl, MySQL, Sybase hired gun for, well, hire > - > -- Eric Cholet

Re: Jez 'n' Di?

2000-05-31 Thread Eric Cholet
> I got a very strange response from [EMAIL PROTECTED] in > response to a previous posting to this board. "jez" responded with an > "anti spamming notice"! > > It said the message was tossed into /dev/null, and that it was either > because I sent a "ms-tnef" attachment (I sent no attachment at a

Re: Wierd problem with redirect

2000-05-30 Thread Eric Cholet
On Tue, May 30, 2000 at 02:30:36PM -0700, ___cliff rayman___ wrote: > actually \n\r\ is really how it is supposed to be. > i am sure you will find it in the RFC's. > most browsers seem to be okay with \n's only. Actually it's \r\n, unless you're on a Mac :-) -- Eric Cholet

Re: Apache::RegistryBB patch for 'use strict'

2000-05-29 Thread Eric Cholet
> Apache::RegistryBB from mod_perl-1.24.tar.gz needs a small patch for > 'use strict'. > > diff Apache/RegistryBB.pm.orig Apache/RegistryBB.pm > 5c5 > < use Apache::Constants qw(NOT_FOUND FORBIDDEN OK); > --- > > use Apache::Constants qw(NOT_FOUND FORBIDDEN OK DECLINED); > Committed, thanks f

Re: Win32 mod_perl 1.24 compile error.

2000-05-18 Thread Eric Cholet
>Sitting here trying to get 1.24 to compile with VC6, >but keep getting stuck with the following linking error; > > >the symbol responsible for the error is in a condition at mod_perl.c line 738. > >-- mod_perl.c --- >735:perl_tai

RE: Apache::DBI->connect_on_init in BEGIN?

2000-05-15 Thread Eric Cholet
> hi all, > > what i'd like to do is "pre-initialize" my DBI connections from whithin > my PerlHandler's BEGIN block. > > something like this: > BEGIN { > if ( Apache->dir_config('CONNECT_ON_INIT') { > Apache::DBI->connect_on_init(Apache->dir_config('DBI_INFO'); > } >

RE: [OT?] Problems making Net::Daemon on Solaris 2.6

2000-05-05 Thread Eric Cholet
> I've tried emailing the author but haven't recieved a response. > I'm hoping someone will have seen this problem before, or at least be able > to point me in the right direction. > > Solaris 2.7 > Perl 5.6.0 > > I get this when I run make test.: This is totally offtopic. This problem with _PA

RE: how do I use perl sections

2000-05-04 Thread Eric Cholet
> -Message d'origine- > De: Benedict Lofstedt [SMTP:[EMAIL PROTECTED]] > Date: jeudi 4 mai 2000 15:38 > À:Eric Cholet > Cc: [EMAIL PROTECTED] > Objet:RE: how do I use perl sections > > Eric, > > > push @ScriptAlias, [ "/cgi-$_&

RE: how do I use perl sections

2000-05-03 Thread Eric Cholet
> I would like to make a list of ScriptAliases like this > > ScriptAlias "/cgi-xx" "/users/xx/cgi-bin/" > ScriptAlias "/cgi-yy" "/users/yy/cgi-bin/" > > and did this: > > > my $cgi_users = qw(xx yy); > for ($cgi_users) { > push @ScriptAlias, "/cgi-$_", "/users/$_/cgi-bin"; > } > > > but it

RE: Proxy front end behind 64k

2000-05-02 Thread Eric Cholet
> OK, I can't figure this out.. help me out here. I want to deal with my > virtual hosts on the heavyweight server. The frontend server should just > be a simple thing that I never have to touch. Matt, you might want to check out this patch to mod_proxy posted to new-httpd by Sam Tregar: "ProxyR

RE: sample modperl script pls

2000-04-28 Thread Eric Cholet
> Hi, > > I want to learn writing modperl scripts. > > Im not referring to any perl scripts that are executed by > Apache::Registry, but rather a perl script that is invoked > by the Apache itself - same level like Apache::Registry. You're talking about handlers. The best resource is the Eagle

RE: schwartzian

2000-04-27 Thread Eric Cholet
> where would an intrepid innocent turn for details on what methods > and/or fields are available to the PerlLogHandler in the passed > arglist @_ array (okay, $_[0] or shift) ? > > apparently > ->last and > ->request_time and > ->status > ..and $_[0]->last has submethods including > get_r

RE: mod_perl 2.x/perl 5.6.x ?

2000-04-22 Thread Eric Cholet
> > This is for using Apache 2.0's pthread MPM, of course you can build perl > > 5.6 non threaded and use apache 2.0's prefork model but then it's not > > as exciting :-) > > Does apache 2.0 let you run a prefork model under NT? NT has it's own MPM which is threaded prefork ... Multi Pr

RE: mod_perl 2.x/perl 5.6.x ?

2000-04-22 Thread Eric Cholet
> I'm more of a perl end user and plead ignorance in actually understanding > what goes on behind the scenes. In the process of considering upgrading to > perl 5.6 and according to a recent message I see its going to be required > for mod_perl 2.x anyways so I guess its a good time to start migrat

Re: apache 2.0 port?

2000-04-19 Thread Eric Cholet
lse is working on this I'm willing to take a crack at it. > > Brian Doug is busy writing mod_perl 2.0 which works with perl 5.6 and Apache 2.0. It's available from CVS at http://perl.apache.org/from-cvs/modperl-2.0/ You can't do much with it yet but Doug is moving pretty fast. -- Eric Cholet

RE: Proxy hijackers?

2000-04-19 Thread Eric Cholet
> (Off topic again, but lots of people here are using reverse > proxy). > > For a while I had 'ProxyRequests On' in my httpd.conf mistakenly > thinking that it was necessary to make ProxyPass and mod_rewrite > proxying work. Then I noticed entries in my logfile where > remote sites were sending

RE: front end proxy and virtual hosts

2000-04-13 Thread Eric Cholet
> This leads me to believe that the Rewrite engine is ignored when an > Alias kicks in, otherwise the *.shtml files would be bounced back to > the back-end server where they get properly expanded. Normally, this > is ok for me since everything else in the aliased directory is an > image which I w

RE: front end proxy and virtual hosts

2000-04-10 Thread Eric Cholet
> EC> do you setup virtual hosts on the backend server? Different IPs, or > EC> different ports? Or just a flat url space, using mod_rewrite on the > EC> front-end to translate the urls? > > I think I posted this example earlier. This is just a snippet of the > relevant portions of the front/bac

RE: Apache::URI port() problem

2000-04-10 Thread Eric Cholet
> Hello, > > It seems the method unparse() of Apache::URI does not take the port > value into the result string. For example, I have: > > my $uri = Apache::URI->parse($r, $r->uri); > $uri->scheme('http'); > $uri->hostname($r->get_server_name); > $uri->port(8080); > $uri->query(scalar $r->ar

front end proxy and virtual hosts

2000-04-10 Thread Eric Cholet
Hi, The front-end light server, serving static requests and proxying dynamic requests to a back-end modperl server, is well documented, except in the case of virtual hosts. How do you do it? Specifically, do you setup virtual hosts on the backend server? Different IPs, or different ports? Or just

RE: internal_redirect

2000-04-10 Thread Eric Cholet
> Hi All > > I have a module that displays a selection of FORMs for the user to pick > from. The FORMs have TARGET='_BLANK'. The submitted form data is sent to a > different module which parses the data and uses 'open' to call an external > perl script to generate a file and returns the full disk

Re: HTML glitch on perl.apache.org

2000-04-09 Thread Eric Cholet
On Sun, Apr 09, 2000 at 02:32:37PM -0400, Dan McCormick wrote: > FYI, there's a > missing from the perl.apache.org main page at the line: > >Latest stable release is 1.22, get it from this > site or from href="http://www.cpan.org/ CPAN <-- HERE > > > > It causes the page to read >

Re: best way to call traceroute

2000-04-07 Thread Eric Cholet
omewhat clunky traceroute CGI script > > to mod_perl, mostly to avoid the horrid 'nph-' construction. If you'd like > > I can make the source available. > > That would be great! Any idea when it will be ready? > > Sam > -- Eric Cholet

RE: PerlTransHandler and sort of mapping

2000-04-07 Thread Eric Cholet
> hi, > > I was wondering how to map PerlTransHandler only for certain type of files. > ( I'm doing URI rewriting not URI->filename translation ?!!) > > Something like : > > >PerlTransHandler Apache::MyHandler > > > > Yes I know this is wrong...can this be done in some other way ? Y

RE: [OT][General Programming] Key Generator sub

2000-04-07 Thread Eric Cholet
> ok, what I'm looking for is a poor man's crypt(). And a simple one, > because whatever logic I use, I must reproduce in a limited proprietary > language (Macromedia Director's "Lingo"). Lingo won't allow me to do bit > math, 'xor' nor any sophisticated scheme. Plain math stuff and string > m

RE: authenticated user

2000-04-04 Thread Eric Cholet
> How do I get the username someone entered in a http authentication prompt? > > I got authDBI working, but I can't figure out hot to access the user name which > was passed so that I can use it in further sql-dml statements. > $r->connection->user(), or $ENV{REMOTE_USER} if you're in CGI emula

RE: retrieving LogLevel?

2000-03-28 Thread Eric Cholet
> hi all... > > I've hunted around and can't find a method that retrieves the > LogLevel directive setting. Is there one? If not, is there a record > somewhere that can make this available, maybe through Apache::Server? It's not there currently but could easily be. Try this patch: Index

RE: .makepl_args.mod_perl

2000-02-04 Thread Eric Cholet
>A newbie question. Though I have successfully built mod_perl from command >line parameters I decided to try the .makepl_args.mod_perl file method from >the Eagle book. I had EVERYTHING=1 as the first line in this file but when I >run I get... It's makepl_args.mod_perl, not .makepl_args.mod_perl

RE: Undefined of PL_siggv in mod_perl.c

2000-02-03 Thread Eric Cholet
> Hi, > > My environment is apache.1.3.9, mod_perl-1.21, perl5.005_63. > > When I do make to compile mod_perl-1.21, from src directory, I have the > undefine of identifier PL_siggv in the mod_perl.c modul. > > Is anyone working with the development version of perl5, the perl5.005_63 ? > Doesn't

RE: perl.apache.org AWOL?

2000-02-02 Thread Eric Cholet
> ObModPerl: I don't seem to have a route to perl.apache.org. Isn't this > just a virtual host on www.apache.org? Used to be, but has changed recently. perl.apache.org is now hosted on locus.apache.org. You must have experienced a network glitch, I can access perl.apache.org fine as of this writ

RE: JOB OPENINGS -- INDIANAPOLIS

2000-02-01 Thread Eric Cholet
Mark, modperl job offers have always been welcome on the modperl list. Please search the archives and you'll find this fact. Cheers, -- Eric > hi, > > i'm not a recruiter, im hiring directly for the company i work for, which, by > the way, has put a lot of time and support into helping with

RE: Problems with custom config directives in user written modules

2000-02-01 Thread Eric Cholet
> I cannot seem to get custom configuration directives to work in > apache (1.3.11) modperl (1.21). I would presume the examples in the > book do not work either. I found someone having similar problems > in the list archives, to which Doug provided a workaround which also > does not work. > > A

RE: Cryptic errors -simple Apache::Registry script ??? (newbie)

2000-01-10 Thread Eric Cholet
> > Syntax error on line 941 of /usr/local/apache/conf/httpd.conf: > cannot occur within section > ../src/support/apachectl start: httpd could not be started > > Here is the (only) difference between the failing config and the one > currently on the live server. This is in a section: > > 94

RE: Trouble installing mod_perl

2000-01-10 Thread Eric Cholet
> Hi there, > > On Sun, 9 Jan 2000, gnielson wrote: > > > I am encountering some errors when trying to get an existing Apache > > server to support mod_perl. > > > > I am running Server version Apache/1.2.4 and perl, version > > 5.004_01. Is the fact that I have not yet ungraded to 5.004_04 > >

RE: Cryptic errors -simple Apache::Registry script ??? (newbie)

2000-01-10 Thread Eric Cholet
> > Hi there, > > On Sun, 9 Jan 2000, John Walker wrote: > > > This is in a virtual host section, could that be a problem? > > Apache 1.3.9 (with mod_perl 1.21/perl5.005_03) doesn't let me use a > section in a section. Really? That's quite odd. What is the error message? -- Eric

RE: Logging cookie authentified user as regular authentified users

2000-01-10 Thread Eric Cholet
can have my "user" value passed as > > > if it was transmitted to Apache as an HTTP authentification? > > > > Yes: $r->connection->user($user); > > > > > > > > -- > > > Nicolas MONNET, Technical Director, IT-Xchange > > > > -- > > Eric Cholet > > -- > If all the world is a stage, where is the audience sitting? -- Eric CHOLET

RE: Caching with $r->no_cache(1)

2000-01-07 Thread Eric Cholet
Doug has made the following modification to modperl (in the CVS tree): $r->no_cache(1) will now set the r->headers_out "Pragma" and "Cache-control" to "no-cache" This should work even with buggy browsers. -- Eric > I notice that the Guide omits the mention of Netscape's ignorance of > Exp

Re: KeepAlive and mod_perl

1999-12-18 Thread Eric Cholet
irrelevant for mod_perl server (all but static object requests)? That's not what I'm seeing, KeepAlives work the way I configure them. Maybe this is true when accessing a mod_perl server through a front-end proxy, but not when accessing a mod_perl server directly. -- Eric Cholet

Re: [Re: again - more then one PerlTransHandler]

1999-12-16 Thread Eric Cholet
17 00:44:22 1999] [warn] Bar translating / So yes it's possible to have several TransHandlers. -- Eric Cholet

Re: Problems building

1999-12-15 Thread Eric Cholet
On Wed, 15 Dec 1999, you wrote: > Hi all, > > On 14 Dec 1999, Greg Stark wrote: > > > I think the interdependence with the apache tree and the mod_perl > > tree just makes things too complicated. I'm not unfamiliar with > > complicated building software -- even fairly complex software, but > > m

RE: perl-script breaks cgi?

1999-12-15 Thread Eric Cholet
> I just ran into a problem I don't understand: > > I was testing a PerlAccessHandler on a cgi (not modperl) > directory like this: > > >SetHandler perl-script >PerlAccessHandler My::Access > Don't use SetHandler for a PerlAccessHandler, it's only for PerlHandlers. > when I tried t

RE: Trouble in proxyland

1999-12-10 Thread Eric Cholet
Dave Hayes wrote: > On Fri, 6 Aug 1999, Vivek Khera wrote: > > Running Apache/1.3.7-dev (Unix) mod_perl/1.19_01-dev, it seems that > > PerlPostReadRequestHandler is virtual-host bound. > > Yep, and I really have to ask why this is implemented in this fashion? Because mod_perl lacks a per-server

RE: Problem with compiling mod_perl

1999-12-08 Thread Eric Cholet
> I must have now installed mod_perl a dozen times on a dozen machines and this is the first time I've come across this problem and I can't seem to solve it...nor have I had any luck through FAQs, DejaNews or even newsgroup postings :( > > I have an RH Linux 6.1 box. I currently have Apache 1.

RE: HTTP_REFERER is gone under Mod_Perl and EmbPerl!

1999-12-06 Thread Eric Cholet
> I have Apache 1.3.9 and Mod_Perl 1.2.1 and EmbPerl 1.2.0. > > The environment variable HTTP_REFERER is not in my scripts' CGI > environment. > > I tried both regular Perl and Mod_Perl and it doesn't show up > anywhere. I've searched the Net for any mention of this and found > none. > >

  1   2   >