On Thu, Apr 18, 2002 at 11:15:15PM -0500, Salvador Ortiz Garcia babbled thus:
> Subject: Re: Problem with <Perl> sections in httpd.conf, mod_perl 1.26
> From: Salvador Ortiz Garcia <[EMAIL PROTECTED]>
> To: PinkFreud <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> X-Mailer: Ximian Evolution 1.0.3
> Date: 18 Apr 2002 23:15:15 -0500
>
> On Mon, 2002-04-15 at 23:17, PinkFreud wrote:
> > I have a rather odd problem, one which I can only assume is a bug
> > somewhere, due to how bizarre it is.
> >
> > I am attmempting to generate virtual host configs via mod_perl, using
> > <Perl> sections in httpd.conf. Not all hosts will be using a /perl
> > Alias, though, so I'm reading in an external config, which looks like
> > the following:
> >
> [ Deleted ]
>
> Plese try changing your Alias array ref to a simple scalar:
>
> ...
> 'Alias' => '"/perl/" "/home/vhosts/linuxhelp.mirkwood.net/perl/"',
> ...
>
> That should work.
Nope. Still can't find it.
What gets me is the syntax I use for Alias works just fine when the
code is in httpd.conf. It only fails to work when I read it in via a
require'd file. This same behavior occurs when I use your syntax in
the require'd file as well.
/me scratches his head, perplexed.
>
> And yes, I think its an old bug in perl_handle_command_av.
>
> Salvador Ortiz.
>
--
Mike Edwards
Brainbench certified Master Linux Administrator
http://www.brainbench.com/transcript.jsp?pid=158188
-----------------------------------
Unsolicited advertisments to this address are not welcome.