From: Alex B. <en...@tu...> - 2001-04-25 19:11:57
|
> It seems that BC is not design to support multiple vhost. > because auto_prepend will prepend bc stuff when loading *.php, your > will be directed to bc/htdocs/index.php > > I don't known if the following works. > > 1 - remove auto_prepend from your php.ini > 2 - create a vhost for hhtpd > > add at the end of your httpd.conf > ---/--- > NameVirtualHost 192.168.100.10 > > <VirtualHost 192.168.100.10> > php_value auto_prepend_file _...._ > php_value auto_append_file _...._ > > ServerAdmin web...@yo... > DocumentRoot __YOUT_NEW_DIR__ > ServerName www.yourdomain.com > ErrorLog logs/yourdormain-error_log > TransferLog logs/yourdomain-access_log > </VirtualHost> > > > 3 - of course add en entry in your dns for yourdomain.com This works fine, and this is _exactly_ how I run my installations. i like to have binarycloud own one virtualhost, and be able to go about my normal-html-business in the normal htdocs. I think a virtualhost is the best way to run binarycloud for development. (on my company's devserver, there are ~20 virtualhosts, and most of them are separate binarycloud installations - works _very_ well becuase they all use the same binarycloud core CVS.) _alex -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |