> On Mon, 2004-04-05 at 12:14 -0500, Will Trillich wrote:
> > okay. we're trying to use <perl> to configure virtual hosts
> > -- here's Data::Dumper showing the %VirtualHost hash:
%VirtualHost = (
'*:80' => [
{
#[snip]
'ServerName' => 'one',
#[snip]
},
{
#[snip]
'ServerName' => 'three',
#[snip]
}
]
)
> > when trying to use this config, apache2 belches
> >
> > NameVirtualHost *:80 has no VirtualHosts
> >
> > we'd love to know why. pointers are very welcome!
should the above <perl> config be different than the following,
in apache2.conf (ala debian)?
NameVirtualHost *:80
<VirtualHost *:80>
ServerName one
</VirtualHost>
<VirtualHost *:80>
ServerName three
</VirtualHost>
if so, what's the proper way to do it in perl? if not, what's
the workaround?
--
will trillich
http://www.serensoft.com/
http://www.midwestRepo.com/
http://www.skylineAuto.net/
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html