From: Henry C. <hen...@ya...> - 2001-04-26 06:58:35
|
Ok so I created vhosts to allow for bc to run properly with allowances for the rest of my server to operate as normal using php. Now how do I get my binarycloud\user\db\schema directory to have read and write privileges unde= r php so that I can create the main db for bc? on 4/25/01 5:45 PM, Henry Cavillones at hen...@ya... wrote: > Where can I get info on getting bc to run just from a directory of a doma= in? > I have other directories in the same domain...but I cant seem to get thos= e > to work now. Ive tried the advise below but it doesn=B9t seem to be working= . >=20 > What im trying to do is this: > Say I have a domain called mydomain.com. Its docroot is "c:/program > files/apache group/apache/htdocs". I want to be able to run BC as well as > other application systems, like say, a BBS, from within the same docroot. > Essentially, I would like to run and operate the BC application under thi= s > domain if a user goes to "mydomain.com/BC/" but I would also like to run = a > BBS as well under the same domain but under the address "mydomain.com/bbs= /". > Is this possible? How should I adjust my httpd.conf and php.ini files to > allow for this. Any help or links to information for this would be greatl= y > appreciated. >=20 >=20 > on 4/25/01 3:11 PM, Alex Black at en...@tu... wrote: >=20 >>> 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 >>>=20 >>> I don't known if the following works. >>>=20 >>> 1 - remove auto_prepend from your php.ini >>> 2 - create a vhost for hhtpd >>>=20 >>> add at the end of your httpd.conf >>> ---/--- >>> NameVirtualHost 192.168.100.10 >>>=20 >>> <VirtualHost 192.168.100.10> >>> php_value auto_prepend_file _...._ >>> php_value auto_append_file _...._ >>>=20 >>> ServerAdmin web...@yo... >>> DocumentRoot __YOUT_NEW_DIR__ >>> ServerName www.yourdomain.com >>> ErrorLog logs/yourdormain-error_log >>> TransferLog logs/yourdomain-access_log >>> </VirtualHost> >>>=20 >>>=20 >>> 3 - of course add en entry in your dns for yourdomain.com >>=20 >>=20 >> This works fine, and this is _exactly_ how I run my installations. i lik= e to >> have binarycloud own one virtualhost, and be able to go about my >> normal-html-business in the normal htdocs. >>=20 >> I think a virtualhost is the best way to run binarycloud for development= . >>=20 >> (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.) >>=20 >>=20 >> _alex >>=20 >>=20 >> -- >> alex black, ceo >> en...@tu... >>=20 >> the turing studio, inc. >> http://www.turingstudio.com >>=20 >> vox+510.666.0074 >> fax+510.666.0093 >>=20 >>=20 >>=20 >> _______________________________________________ >> binarycloud-dev mailing list >> bin...@li... >> http://lists.sourceforge.net/lists/listinfo/binarycloud-dev >>=20 >=20 >=20 > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com >=20 >=20 > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev >=20 _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |