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
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
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
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
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::
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
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
> ---
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
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
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
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
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
12 matches
Mail list logo