You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Nico Erfurth <ma...@computerman.de> on 2001/11/23 03:30:58 UTC
VirtualHosts-Config inside of modules
Hi,
i made a small script to configure an Apache-Webserver via LDAP-entries.
First i put everything in a <Perl></Perl>-Section, it worked.
Now i want to put it inside a module, and everything works, EXCEPT, that
i can't add VirtualHosts.
in the <Perl>-Version i used use vars(%VirtualHost,@NameVirtualHost),
but in the module it doens't work, do i need to import something ?
do i need a TOTALY different way to access the VirtualHost-Hash ?
or is it impossible to change virtualHost/namewirtualhost insode of a
module ???
ciao