Re: [mp1] Apache::CmdParms->server()

2003-10-10 Thread Thomas Nagel
Finally I found the solution: Can't locate object method "server" via package "Apache::CmdParms" at /usr/local/lib/perl/5.8.0/Apache/MIHConfig.pm line 35. You have to 'use Apache::ModuleConfig;' to make this work. -- [EMAIL PROTECTED] --plan-b.-GmbH--http://www.planb.de/-

Re: [mp1] Apache::CmdParms->server()

2003-10-10 Thread Thomas Nagel
Hi Geoffrey, that looks just fine to me. you shouldn't need it, but try to use Apache::CmdParms; at the top of your script, just in case. Unfortunately that does not work: Compilation works fine until I try to load the Module with PerlModule in httpd.conf: Can't locate Apache/CmdParms.pm in @

Re: [mp1] Apache::CmdParms->server()

2003-10-09 Thread Geoffrey Young
Thomas Nagel wrote: Hi list, I wrote an Apache Configuration Directive which works fine. Now it should also work with VirtualHosts so I try to use the following borrowed from 'Writing Apache Modules with Perl and C': sub PerlMIHConfig ($$$) { my($cfg, $parms, $file) = @_; my $scfg = A