I do something similar thing with Apache and mod_rewrite. Although, building mod_rewrite into mathopd may defeat the purpose.
Tim ----- Original Message ----- From: "Attila Nagy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 18, 2002 4:26 AM Subject: Automatic vhosts, based on directories > Hello, > > Would it be hard to implement a simple mass vhost feature in mathopd? > I would like to use that instead of another tiny httpd, but I don't know > how could be this done. > > I am thinking of: > > /var/www/www.domain1.com/ > /var/www/www.domain2.com/ > [...] > > Which could be handled by the daemon automagically, so I would have to set > only /var/www to do mass vhosts from that directory. > > It would be great to have such a feature. > > Thanks, > --------[ Free Software ISOs - ftp://ftp.fsn.hu/pub/CDROM-Images/ ]------- > Attila Nagy e-mail: [EMAIL PROTECTED] > Free Software Network (FSN.HU) phone @work: +361 210 1415 (194) > cell.: +3630 306 6758 > >
