RE: Problem with PerlTransHandler

2003-06-27 Thread csebe
Have you tried to comment out the 2 DBI lines like this: #my $dbh = DBI->connect('dbi:mysql:db', 'user', 'pswd'); #$dbh->disconnect; and is still not working? You really need the database connection? Lian > -Original Message- > From: Sergey V. Stashinskas [mailto:[EMAIL PROTECTED] > Se

RE: CGI files in apache

2003-07-18 Thread csebe
Start by looking in Apache's error log to see what's reporting. HTH, Lian Sebe, M.Sc. Freelance Analyst-Programmer www.programEz.net > -Original Message- > From: AROSO Jose Antonio [mailto:[EMAIL PROTECTED] > Sent: Friday, July 18, 2003 12:36 PM > To: '[EMAIL PROTECTED]' > Subject: CGI

RE: templating system opinions (axkit?)

2003-07-22 Thread csebe
Hi Jesse, > -Original Message- > From: Jesse Erlbaum [mailto:[EMAIL PROTECTED] > Sent: Monday, July 21, 2003 8:50 PM > To: 'Patrick Galbraith' > Cc: [EMAIL PROTECTED] > Subject: RE: templating system opinions (axkit?) > > > Hi Patrick -- > > > I like the idea of XSLT/XML, though I find mys

PerlModule options?

2003-08-05 Thread csebe
Hi list, One questions for the braves ;-) As I understand, the directive PerlModule Foo::Bar loads the module but doesn't import the symbols since it is equivalent to the use Foo::Bar (). Therefore I should use "use Foo::Bar" in each program only to make the import. Is there other way to load

ModPerl - CGI in the same request phase

2003-08-06 Thread csebe
Hi again everybody, I have the following interesting (I hope ;-) requirement. Sorry for this rather long posting. (mod_perl 1, Apache 1.3.27) I have a custom authentication & authorization handler of mine which is the king in a protected directory (and its subdirectories): PerlModule MyModules::

RE: help on setting up a PerlFixupHandler

2003-08-06 Thread csebe
Hi, It seems to me that $r->content-type is for what your server sends to the client, which is probably undef in the Fixup stage, where you test it. You probaly meant to test for the $ct = $r->header_in("Content-type") if you wanted to see whats requested from the client. Anyway, as Christopher

RE: PerlModule options?

2003-08-07 Thread csebe
Hi Perrin, I see your point. However I'm speaking about one simple templating module exporting 2 functions that are used to generate HTML in every other module on the server. So it'll be pollution but bearable ;-) Thank you, Lian Sebe, M.Sc. Freelance Analyst-Programmer www.programEz.net > ---

RE: help on setting up a PerlFixupHandler

2003-08-08 Thread csebe
Hi Geoffrey & Xavier, I don't argue on the fact the Content-type is an entity header available in both situations. However I'm talking about how to get/set in mod_perl the Content-type in those 2 situations, which according to the mod_perl 1.0 API docs and as I understand it, are different animals

RE: help on setting up a PerlFixupHandler

2003-08-09 Thread csebe
Well, thank you very much for the references. I guess I'll have to skip next few pints and finally get that book I've heard so much about ;-) Lian Sebe, M.Sc. Freelance Analyst-Programmer www.programEz.net > -Original Message- > From: Geoffrey Young [mailto:[EMAIL PROTECTED] > Sent: Thur

RE: PerlModule options?

2003-08-14 Thread csebe
Hi again Stas & Perrin, So, its a no-can-do then. I'll keep putting the "use" in every module to import the symbols in the proper namespace. Alternatively I guess I could probably use the functions with fully qualfied name Apache::ReadConfig::myFunction(), however this would add extra typing and

RE: ModPerl - CGI in the same request phase

2003-08-14 Thread csebe
Hi, I'm in the happy position of finding myself a solution to my problem. Here it is for anyone interested ... PerlModule MyModules::Module1 SetHandler perl-script PerlHandler MyModules::Module1 PerlSendHeader Off PerlModule Apache::PerlRun SetHandler perl-script PerlHandl

RE: PerlModule options?

2003-08-14 Thread csebe
Hello Mike, Thanks for your answer, this should do it indeed. Super! Somehow I didn't think about perl sections... Thanks again, Lian Sebe, M.Sc. Freelance Analyst-Programmer www.programEz.net > -Original Message- > From: Mike P. Mikhailov [mailto:[EMAIL PROTECTED] > Sent: Tuesday, Augu