Re: Perl Sections and Virtual Host

2000-04-20 Thread Doug MacEachern
i've only skimmed this thread, but haven't seen any mention of chapter 8 online at http://modperl.com/ which covers Perl sections in detail.

Re: Perl Sections and Virtual Host

2000-04-19 Thread Pierre-Yves BONNETAIN
my $realname = 'http://www.main.org'; my %vnames = ( 'sec.ondary.com' = 'second', 'third.dom.com' = 'third' ); ^^^ foreach (keys %vnames) { ^^^ $VirtualHost{'192.168.1.2:80'} = { ServerName = $_, RedirectPermanent = ( ['/',

Perl Sections and Virtual Host

2000-04-18 Thread Pierre-Yves BONNETAIN
Hello modperlers, I'm currently banging my head on the walls trying to use Perl sections, in the httpd.conf file, to configure virtual hosts. The idea is to redirect lots of 'secondary' domains to URLs on our 'main' website. Let's say the main website is www.main.org, and secondary