From: Alex B. <en...@tu...> - 2001-04-25 22:13:54
|
> 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= . ah yes, permissions. heh. > 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. You can add the files you want to run in a docroot controlled by binaryclou= d permissions to user/conf/file_permissions.conf that has worked fine for me. however, note that many of the redirect constants and other things assume that you are running the distro htdocs/ as docroot. Funnily enough, it's a real pain in the a** to make that all work because you have to constantly check an BC_DOCROOT or similar constant for 0 length before using it. I'm going to incorporate relative path support into r2, and while it can be added to r1b, some other code would need to be fixed which I (unfortunately= ) don't have the time to fix. If you look at file_permissions.conf, and core/lib/breadcrumbs you'll see how the permissions system deals with paths - in short, you'd have to add a constant to the front of every entry in the perms array, and change some code in breadcrumbs. A user sent in a set of patches for the changes, I patched the files and there were some bugs which I didn't have time to fix, so I removed the patches. _alex -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |