Re: perl.apache.org problem

2003-08-28 Thread Cees Hek
Quoting Stas Bekman [EMAIL PROTECTED]: Cees Hek wrote: It looks like something has gone awry with the perl.apache.org website. It is currently pointing to the Apache Portable Runtime website. You can bypass it by going directly to: http://perl.apache.org/index2.html

Re: Ticket/cookie based authentication for mod_perl and static frontend

2003-08-27 Thread Cees Hek
Quoting Michael [EMAIL PROTECTED]: On Tue, Aug 26, 2003 at 21:06:05, Charlie Garrison said... The second one, Cookie Authentication with MySQL, looks like a very good option, except for two issues. Fist, it doesn't support the 'require group...' directive. And second, it doesn't appear

perl.apache.org problem

2003-08-27 Thread Cees Hek
of every *.apache.org website. Perhaps someone can notify the powers that be to fix the problem. Cheers, Cees Hek -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

Re: mp2: architectural question re authentication handlers

2003-07-11 Thread Cees Hek
Quoting Carl Brewer [EMAIL PROTECTED]: Forgive me for asking yet another fundamentally basic question. I'm cutting a web app over from PHP to mod_perl 2, and am wondering how 'best' (for which there are many flavours ...) to handle authentication. At present I've knocked up a site that

Re: mod_perl slower than expected?

2003-06-12 Thread Cees Hek
Quoting Trevor Phillips [EMAIL PROTECTED]: However, when I used the revised modules with the Apache Module, I'm only getting a marginal performance increase! Since the bulk of the work is being done by modules common to the Apache and FastCGI front-ends, I am at a loss as to explain why

Re: mod_perl caching form data?

2003-05-30 Thread Cees Hek
Quoting David Ressman [EMAIL PROTECTED]: something's caching previously entered form data and displaying it back to me as the default values in those same forms. As an example, this form has a text field that asks for IP addresses, and the text input will occasionally be filled out with the

Re: mod_perl caching form data?

2003-05-30 Thread Cees Hek
Quoting David Ressman [EMAIL PROTECTED]: It is possible that you are creating your form fields with CGI.pm, which will use the currently POSTed parameters to prefill the form, or This sounds like the most likely culprit, even though I haven't explicitly turned anything on. It's possible

Re: [error] Insecure dependency in unlink while running with -T switch at /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/File.pm line 106

2003-02-27 Thread Cees Hek
Quoting Martin Moss [EMAIL PROTECTED]: All, Can Anybody see what I'm doing wrong here? I have the following error :- [error] Insecure dependency in unlink while running with -T switch at /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/File.pm line 106. The problem is not with

Re: Apache::UploadMeter configuration problem

2003-02-13 Thread Cees Hek
Quoting Konstantin Yotov [EMAIL PROTECTED]: Hello! :) I install Apache::UploadMeter, but when I when I add this in startup.pl use Apache::UploadMeter; $Apache::UploadMeter::UploadForm='/form.html'; $Apache::UploadMeter::UploadScript='/perl/upload';

Re: mysql password encryption

2003-01-22 Thread Cees Hek
Quoting Martin Moss [EMAIL PROTECTED]: All, I wish to let a user use the same password for them to authenticate to a multitude of mysql Databases AND to authenticate themselves on my modperl site. the problem I have is that I store the password in the database as a Password field. However

Re: mod_perl mod_php

2002-08-30 Thread Cees Hek
Quoting Jesse Erlbaum [EMAIL PROTECTED]: I have a general question for the list: Do people often use BOTH of these environments at the same time? It seems to me that there would be little benefit to using both. Am I mistaken? We have some old apps that are written in PHP, but are

Re: PerlChildInitHandler doesn't work inside VirtualHost?

2002-08-08 Thread Cees Hek
Quoting Jason W May [EMAIL PROTECTED]: Running mod_perl 1.26 on Apache 1.3.24. I've found that if I place my PerlChildInitHandler inside a VirtualHost block, it is never called. It doesn't really make sense to put a PerlChildInitHandler inside a VirtualHost directive. It is only called

Re: when to mod_perl?

2002-06-24 Thread Cees Hek
Quoting md [EMAIL PROTECTED]: Hello, I'm working on a dynamic site that I originally thought I would do with mod_perl. Now after reviewing the requirements and available hardware, I wonder if mod_perl will be my best solution. The machine will not be a huge box (though I wasn't

Re: DBI error_log Logging

2002-05-30 Thread Cees Hek
iD8DBQE89q8CoTgdT9hhlCIRAjoEAJwKsO9LYavsWMQGwUsD11E1Gr9HiACgl1yR mvvJRsub4he4A4PaPoA8PEI= =E5ID -END PGP SIGNATURE- -- Cees Hek SiteSuite Corporation

Re: Apache::DBI or What ?

2002-03-24 Thread Cees Hek
On Fri, 2002-03-22 at 11:42, Andrew Ho wrote: Hello, EFI will have many different users, users as in database users. So am I EFjust screwed and won't be able to keep connections open? Do you mean users as in actual RDBMS level users? In other words, when you say database users you mean

Re: Cookies and IE in mod_perl

2002-03-23 Thread Cees Hek
Some browsers don't accept cookies sent allong with a redirect header. A simple workaround is to leave your cookie in the header, but move the redirect to a META HTTP-EQUIV tag in a blank HTML document. I'm not sure if IE 6.0 suffers from this but I suspect that this is your problem. So

Re: file globbing question

2002-02-19 Thread Cees Hek
On Wed, 2002-02-20 at 13:27, John Stauffacher wrote: All, I am a bit confused as to what httpd.conf directives need to be used in order to get apache to execute a PerlHandler when it encounters a certain file type. What I want to do: Execute a handler whenever a *.qw file is

Re: Is 'PerlHandler Apache::Registry MySimplePerlModule' possible?

2002-02-06 Thread Cees Hek
On Thu, 2002-02-07 at 05:31, Zsolt Czinkos wrote: Hello Is it possible to insert my Set-Cookie headers after a modperl script? for exapmle: httpd.conf ... PerlFreshRestart On PerlModule SetMyCookies PerlFixupHandler SetMyCookies PerlSetVar SessionDataPath /tmp/apache_session

Re: Silly Newbie Question: cookies and such

2001-11-12 Thread Cees Hek
On Tue, 13 Nov 2001 04:28, you wrote: I need to make an Apache module (not a Registry script) which will: 1. Check for a cookie, and if not there, pushhandler to a module for logging in (keeping the original request at hand for use after they succeed in logging in). 2. Extract data from the

Re: CGI.pm problem

2001-10-30 Thread Cees Hek
On Wed, 31 Oct 2001 02:31, you wrote: Hello, When I try to make a CGI object in my Apache/mod_perl handler a la $q = CGI-new(); The server just don't reply. Actually it works just fine until I try to submit a form, then it just hangs and Apache doesn't send anything back. If I remove this

Re: ANNOUNCE: Apache::OpenIndex

2001-10-01 Thread Cees Hek
On Fri, 28 Sep 2001 07:36, George Sanderson wrote: Apache::OpenIndex (OpenIndex-1.00.tar.gz) was uploaded to CPAN on 14Sep2001 and is currently released. This was my first module. I enjoyed journey. Looks really good. I think the mod_perl community can use a lot more applications like this

Re: Another way to perhaps do this......

2001-10-01 Thread Cees Hek
On Fri, 28 Sep 2001 16:40, Steven Boger wrote: I've been netsearching for hours. It's time to beg for help... My apache has a hacked mod_include that has a new directive, OAS: !--OAS SETUP=www.realmedia.com/Samples/lx.shtml@TopLeft,TopRight,BottomLeft, BottomRight-- !--OAS

Re: Converting Perl section variables into plain text directives

2001-08-25 Thread Cees Hek
to handle the general cases instead of just writing it to meet my... er, my friend's... specific needs. Thanks -- Eric Hammond [EMAIL PROTECTED] -- Cees Hek SiteSuite Corporation [EMAIL PROTECTED]

Re: Using CGI.pm in handlers

2001-08-20 Thread Cees Hek
On Sat, 18 Aug 2001, Joachim Zobel wrote: I have a handler that needs to use CGI.pm to set a cookie. It seems to work correctly, but it fills my error log with (offline mode: enter name=value pairs on standard input) messages. I am doing If you are only using CGI.pm to set a cookie, you

Re: module to hit back at default.ida atack ?

2001-08-06 Thread Cees Hek
On Mon, 6 Aug 2001, Mark Maunder wrote: I have a test system up and running. Anyone want to write a mod_perl handler to redirect to a warning page if the clients IP is in the list? I'm not really sure which phase would be the least intrusive into existing applications. telnet

Re: CGI::Cookie vs Apache::Cookie -- help?

2001-06-17 Thread Cees Hek
On Sun, 17 Jun 2001, will trillich wrote: $r-log_error( qq(...id=$ID, sending cookie) ); my $cookie = Apache::Cookie-new( $r, -name = $cookie_name, -value = $ID , -domain = $r-hostname,

Re: Is this feasible in Perl??

2001-06-12 Thread Cees Hek
appreciate if someone could help. Thanks I.S __ Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/ -- Cees Hek SiteSuite Corporation [EMAIL

Re: Real Widgets and Template Languages

2001-05-31 Thread Cees Hek
an array of valid RFC1766-style language tags. Sorry if it sound like I'm rambling, but I'm just throwing down thoughts as they pop into my head :) -- Cees Hek SiteSuite Corporation [EMAIL PROTECTED]

Re: Real Widgets and Template Languages

2001-05-22 Thread Cees Hek
On Tue, 22 May 2001, Gunther Birznieks wrote: What I am really looking for is a library that abstracts and allows widgets to be developed that are tied to an application not to a set of HTML necessarily. I guess I will start by providing an example of what I want based on what we

Re: Apache::Session not storing changes to hashref

2001-05-22 Thread Cees Hek
' }, you'll see that term is now empty. I've watched the db, and reading it's cryptic scrawl, I never see any entries for term. HELP! -- Cees Hek SiteSuite Corporation [EMAIL PROTECTED]

Re: Real Widgets and Template Languages

2001-05-22 Thread Cees Hek
On Wed, 23 May 2001, Gunther Birznieks wrote: Hmmm. I had not thought of this because we do not provide this capability now in the Java widget library that we have and we don't really miss it. For color, most UI widgets do not have color. For font and height, I think that most designers

Re: That annoying DB guy again... ;-)

2001-05-21 Thread Cees Hek
On Tue, 22 May 2001, Jonathan M. Hollin wrote: I know you all want me to go away, so I apologise for the noise. Anyway, at http://perl.apache.org/guide/databases.html#Why_Relational_SQL_Databases there is a reference to an Apache::DBI module. I DON'T have this module installed - is this

Re: Insecure dependency errors

2001-05-03 Thread Cees Hek
On Thu, 3 May 2001, Barry Veinotte wrote: [Thu May 3 15:06:57 2001] [error] Insecure dependency in open while running with -T switch at /usr/local/www/vhosts/ad-eagle.com/cgi-bin/ad-eagle/lib/AdEagle.pm line 472. The scripts using the .pm are running under Apache::Registry and have been

Re: an unusual [job request] + taking mod_perl to the commercialworld

2001-04-29 Thread Cees Hek
give these tools away to our compeditors, then we loose our advantage in the marketplace. Perhaps once our position is more stable in the market we will be able to contribute back to the community with the work we have done... -- Cees Hek SiteSuite Corporation [EMAIL PROTECTED]

[OT] Re: Fast DB access

2001-04-19 Thread Cees Hek
On Thu, 19 Apr 2001, Murali V wrote: Hi, If you read the code more deeply, you'll find that the timeit is only wrapped around select and not around insert. We've written the insert code so that in the first round you can populate the database. You comment out the insert code after the

Re: Fast DB access

2001-04-19 Thread Cees Hek
On Thu, 19 Apr 2001, Differentiated Software Solutions Pvt. Ltd., wrote: I get a feeling that the point we were trying to make is going to be missed. MLDBM is not a bad alternative to databases under specific conditions !! That point was definately not missed by me, and I have learned

[OT] Re: Fast DB access

2001-04-18 Thread Cees Hek
se the sql properly!} i do have 7.1 installed and it is very sweet ill report back when i rerun under postgresql at the very least -- Cees Hek SiteSuite Corporation [EMAIL PROTECTED]

Re: from the quick hacks department... x-bit controls mod_cgi

2001-04-17 Thread Cees Hek
when using mod_perl? - Cees Hek

Apache::Request problem (possible bug)

2001-04-05 Thread Cees Hek
ODY /HTML EOM return OK; } 1; -- Cees Hek SiteSuite Corporation [EMAIL PROTECTED]

Re: Long waits on SQL Stored Procs. Should I use chained contenthandlers?

2001-04-02 Thread Cees Hek
HTML page that we use to generate some reports that take up to 30 seconds to display Cees Hek html head meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" META HTTP-EQUIV="REFRESH" CONTENT="0; URL=reports.cgi?sessionid=?" /hea

Re: Apache::Session::Postgres Segmentation Fault Addendum

2001-03-29 Thread Cees Hek
lso means that $test will be blank if it is accessed after the untie). But I don't think that this should cause a segfault in the first place. It sounds like there is a problem in Apache::Session::Postgres but I haven't had time to search for it... Cees Hek

Re: perl session management

2001-03-27 Thread Cees Hek
On 27 Mar 2001, tom joseph wrote: Hello there.. Could u suggest a way to update a session variable. At present it is not possible for me to update a session variable from any other page. I thought it would be automatically updated when i do a new insertion into the session variable which

Re: The right way to do authentication with mod_perl

2001-03-18 Thread Cees Hek
D623 A57B 7F37 D902 8C84 7675 E0FA 561B -- Cees Hek SiteSuite Corporation [EMAIL PROTECTED]

Re: Authentication handlers

2001-03-07 Thread Cees Hek
rd message to the list ;) -- Cees Hek SiteSuite Corporation [EMAIL PROTECTED]

Re: Authentication handlers

2001-03-04 Thread Cees Hek
On Sat, 3 Mar 2001, Kiran Kumar.M wrote: hi , i'm using mod_perl authentication handler, where the user's credentials are checked against a database and in the database i have a flag which tells the login status (y|n), but aftr the user logs out the status is changed to n , my problem is

Re: Authentication handlers

2001-03-04 Thread Cees Hek
On Sun, 4 Mar 2001, Pierre Phaneuf wrote: Good one! The only bad thing I see is that the realm is visible in the dialog box the user see, isn't it? Seeing a random string might be a bit unsettling for the user, but there is no technical reason for it not to work. Well, since the only

Re: mkdir function syntax

2001-02-27 Thread Cees Hek
net/docs"; 13 14 MKDIR ($makeDirectoryDocs$ProjectNumber); The problem is with the way you are trying to join 2 strings together. One of the following should work for you: mkdir ("$makeDirectoryDocs$ProjectNumber"); mkdir ($makeDirectoryDocs.$ProjectNumber); mkdir (join '', $makeDi