|
From: Henry C. <hen...@ya...> - 2001-04-25 21:45:21
|
Where can I get info on getting bc to run just from a directory of a domain=
?
I have other directories in the same domain...but I cant seem to get those
to work now. Ive tried the advise below but it doesn=B9t seem to be working.
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 this
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 greatly
appreciated.
on 4/25/01 3:11 PM, Alex Black at en...@tu... wrote:
>> 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 like=
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 u=
se
> 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
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
|