with httpd.conf directives, these virtualhosts work just fine.
but trying to use perl to make them more universally
configurable, we get the "no virtualhosts error":

%VirtualHost = (
  '*:80' => [
    {
[snip]
      'ServerName' => 'one',
[snip]
    },
    {
[snip]
      'ServerName' => 'three',
[snip]
    }
  ]
)

should this be different, via mod_perl, than the following, in
apache2.conf (ala debian)?

NameVirtualHost *:80
<VirtualHost *:80>
        ServerName one
</VirtualHost>
<VirtualHost *:80>
        ServerName three
</VirtualHost>

we also tried it with _default_:80 instead of *:80. same result:

here (debian sarge, apache 2.0) it's fine as httpd.conf
directives, but as perl-configured code, it belches "no
virtualhosts". why?


Server: Apache/2.0.48 (Debian GNU/Linux) mod_perl/1.99_12 Perl/v5.8.3 mod_ssl/2.0.48 
OpenSSL/0.9.7c


-- 
will trillich
mayhugh services
812 423 6314 voice
812 423 6303 fax

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


----- End forwarded message -----

-- 
will trillich
mayhugh services
812 423 6314 voice
812 423 6303 fax

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

Reply via email to