You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
(57) |
May
(287) |
Jun
(166) |
Jul
(286) |
Aug
(273) |
Sep
(254) |
Oct
(144) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Alex B. <en...@tu...> - 2001-04-27 05:08:06
|
> I'm using mysql..and meant to say that it connected to my mysql server but > to no particular dbase and the command in the process list of the server was > "sleep". Her is my configuration array from bc_global_inc : > > function init_db(){ > global $bc_global_db_arguments; > global $metabase_interfaces; > global $metabase_databases; > > if (RUN_MODE == "dev") { > $bc_global_db_arguments = > array("Type"=>"mysql", > "Host"=>"mymysqlserver", and, here we have the DNS issue. are you running this mysql server on your local machine, or on another machine? I'm guessing you're running mysql on your local machine, in which case this setting should be "localhost" _alex > "User"=>"dba", > "Password"=>"dba", > "IncludePath"=>BASE."db/", > "Persistent"=>TRUE > ); > } > -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Henry C. <hen...@ya...> - 2001-04-27 03:34:45
|
I'm using mysql..and meant to say that it connected to my mysql server but to no particular dbase and the command in the process list of the server was "sleep". Her is my configuration array from bc_global_inc : function init_db(){ global $bc_global_db_arguments; global $metabase_interfaces; global $metabase_databases; if (RUN_MODE == "dev") { $bc_global_db_arguments = array("Type"=>"mysql", "Host"=>"mymysqlserver", "User"=>"dba", "Password"=>"dba", "IncludePath"=>BASE."db/", "Persistent"=>TRUE ); } on 4/26/01 11:11 PM, Alex Black at en...@tu... wrote: >> Actually, the binarycloud launches but when I get to the link >> "create_db.schema" and click it, it pauses for a few seconds, as if its >> trying to connect to my mysql dbase, then it gives me the aforemw=entioned >> error..."Page cannot be displayed" Cannot find server or dns error"..Ive >> even skipped grant tables in my dbase to allow all connections...but >> nothing...In mysqladmin, I can see that there is a connection made to my >> dbase but I get this error..what the!? >> > > That's interesting... > > what database, can you send me the configuration array from > bc_global_db.inc, and have you checked to see if the database exists. > (though that shouldn't cause the problem, metabase returns saying " that > exists ") > > hrm.. > > _a > > > > -- > alex black, ceo > en...@tu... > > the turing studio, inc. > http://www.turingstudio.com > > vox+510.666.0074 > fax+510.666.0093 > > > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
From: Alex B. <en...@tu...> - 2001-04-27 03:12:04
|
> Actually, the binarycloud launches but when I get to the link > "create_db.schema" and click it, it pauses for a few seconds, as if its > trying to connect to my mysql dbase, then it gives me the aforemw=entioned > error..."Page cannot be displayed" Cannot find server or dns error"..Ive > even skipped grant tables in my dbase to allow all connections...but > nothing...In mysqladmin, I can see that there is a connection made to my > dbase but I get this error..what the!? > That's interesting... what database, can you send me the configuration array from bc_global_db.inc, and have you checked to see if the database exists. (though that shouldn't cause the problem, metabase returns saying " that exists ") hrm.. _a -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Henry C. <hen...@ya...> - 2001-04-27 01:29:57
|
Actually, the binarycloud launches but when I get to the link "create_db.schema" and click it, it pauses for a few seconds, as if its trying to connect to my mysql dbase, then it gives me the aforemw=entioned error..."Page cannot be displayed" Cannot find server or dns error"..Ive even skipped grant tables in my dbase to allow all connections...but nothing...In mysqladmin, I can see that there is a connection made to my dbase but I get this error..what the!? on 4/26/01 8:43 PM, Alex Black at en...@tu... wrote: >> I fixed the installation and repaired all path references...but still...I >> get " Page cannot be displayed" and at the bottom of the page it tells me >> "Cannot find server or DNS error"....maybe I should give up?! > > Use: > > http://127.0.0.1:<<your port>> > > not > > http://localhost > > windows doesn't deal well with them. > > also, make sure that if you have a hostname, that apache is not forcing it - > you can look in httpd.conf. > > it's funny - 90% of this stuff is apache/php setup. > > _a > > > -- > alex black, ceo > en...@tu... > > the turing studio, inc. > http://www.turingstudio.com > > vox+510.666.0074 > fax+510.666.0093 > > > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
From: Alex B. <en...@tu...> - 2001-04-27 00:44:04
|
> I fixed the installation and repaired all path references...but still...I > get " Page cannot be displayed" and at the bottom of the page it tells me > "Cannot find server or DNS error"....maybe I should give up?! Use: http://127.0.0.1:<<your port>> not http://localhost windows doesn't deal well with them. also, make sure that if you have a hostname, that apache is not forcing it - you can look in httpd.conf. it's funny - 90% of this stuff is apache/php setup. _a -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Henry C. <hen...@ya...> - 2001-04-27 00:36:12
|
I fixed the installation and repaired all path references...but still...I get " Page cannot be displayed" and at the bottom of the page it tells me "Cannot find server or DNS error"....maybe I should give up?! on 4/26/01 7:07 PM, Alex Black at en...@tu... wrote: >> Im running them in my apache's htdocs directory... "c:/program files/apache >> group/apache/htdocs/htdocs" > > yep, there's your problem. > > the contents of the binarycloud distro htdocs should be at apache docroot, > which in your case is: > > > > c:/program files/apache group/apache/htdocs/ > > not > > c:/program files/apache group/apache/htdocs/htdocs/ > > this is also why you have likely had so many problems with the install. > > > _alex > > >> on 4/26/01 5:47 PM, Alex Black at en...@tu... wrote: >> >>>> I did just that and got a page not found error >>> >>> Where are you running the binarycloud distro htdocs? >>> >>> It sounds like you're running it somewhere weird. >>> >>> _alex >>> >>> >>> >>> -- >>> alex black, ceo >>> en...@tu... >>> >>> the turing studio, inc. >>> http://www.turingstudio.com >>> >>> vox+510.666.0074 >>> fax+510.666.0093 >>> >>> >>> >>> _______________________________________________ >>> binarycloud-dev mailing list >>> bin...@li... >>> http://lists.sourceforge.net/lists/listinfo/binarycloud-dev >>> >> >> >> _________________________________________________________ >> Do You Yahoo!? >> Get your free @yahoo.com address at http://mail.yahoo.com >> >> >> _______________________________________________ >> binarycloud-dev mailing list >> bin...@li... >> http://lists.sourceforge.net/lists/listinfo/binarycloud-dev >> > > > -- > alex black, ceo > en...@tu... > > the turing studio, inc. > http://www.turingstudio.com > > vox+510.666.0074 > fax+510.666.0093 > > > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
From: Henry C. <hen...@ya...> - 2001-04-26 23:57:14
|
Doh! on 4/26/01 7:07 PM, Alex Black at en...@tu... wrote: >> Im running them in my apache's htdocs directory... "c:/program files/apache >> group/apache/htdocs/htdocs" > > yep, there's your problem. > > the contents of the binarycloud distro htdocs should be at apache docroot, > which in your case is: > > > > c:/program files/apache group/apache/htdocs/ > > not > > c:/program files/apache group/apache/htdocs/htdocs/ > > this is also why you have likely had so many problems with the install. > > > _alex > > >> on 4/26/01 5:47 PM, Alex Black at en...@tu... wrote: >> >>>> I did just that and got a page not found error >>> >>> Where are you running the binarycloud distro htdocs? >>> >>> It sounds like you're running it somewhere weird. >>> >>> _alex >>> >>> >>> >>> -- >>> alex black, ceo >>> en...@tu... >>> >>> the turing studio, inc. >>> http://www.turingstudio.com >>> >>> vox+510.666.0074 >>> fax+510.666.0093 >>> >>> >>> >>> _______________________________________________ >>> binarycloud-dev mailing list >>> bin...@li... >>> http://lists.sourceforge.net/lists/listinfo/binarycloud-dev >>> >> >> >> _________________________________________________________ >> Do You Yahoo!? >> Get your free @yahoo.com address at http://mail.yahoo.com >> >> >> _______________________________________________ >> binarycloud-dev mailing list >> bin...@li... >> http://lists.sourceforge.net/lists/listinfo/binarycloud-dev >> > > > -- > alex black, ceo > en...@tu... > > the turing studio, inc. > http://www.turingstudio.com > > vox+510.666.0074 > fax+510.666.0093 > > > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
From: Alex B. <en...@tu...> - 2001-04-26 23:08:16
|
> Im running them in my apache's htdocs directory... "c:/program files/apache > group/apache/htdocs/htdocs" yep, there's your problem. the contents of the binarycloud distro htdocs should be at apache docroot, which in your case is: c:/program files/apache group/apache/htdocs/ not c:/program files/apache group/apache/htdocs/htdocs/ this is also why you have likely had so many problems with the install. _alex > on 4/26/01 5:47 PM, Alex Black at en...@tu... wrote: > >>> I did just that and got a page not found error >> >> Where are you running the binarycloud distro htdocs? >> >> It sounds like you're running it somewhere weird. >> >> _alex >> >> >> >> -- >> alex black, ceo >> en...@tu... >> >> the turing studio, inc. >> http://www.turingstudio.com >> >> vox+510.666.0074 >> fax+510.666.0093 >> >> >> >> _______________________________________________ >> binarycloud-dev mailing list >> bin...@li... >> http://lists.sourceforge.net/lists/listinfo/binarycloud-dev >> > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev > -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Henry C. <hen...@ya...> - 2001-04-26 22:52:36
|
Im running them in my apache's htdocs directory... "c:/program files/apache group/apache/htdocs/htdocs" on 4/26/01 5:47 PM, Alex Black at en...@tu... wrote: >> I did just that and got a page not found error > > Where are you running the binarycloud distro htdocs? > > It sounds like you're running it somewhere weird. > > _alex > > > > -- > alex black, ceo > en...@tu... > > the turing studio, inc. > http://www.turingstudio.com > > vox+510.666.0074 > fax+510.666.0093 > > > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
From: Alex B. <en...@tu...> - 2001-04-26 22:11:11
|
> I did just that and got a page not found error Where are you running the binarycloud distro htdocs? It sounds like you're running it somewhere weird. _alex -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Henry C. <hen...@ya...> - 2001-04-26 20:56:02
|
I did just that and got a page not found error on 4/26/01 2:48 PM, Alex Black at en...@tu... wrote: >> 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 under >> php so that I can create the main db for bc? > > actually everything on windows is writable (that's security for you!) - so > you don't have to deal with that. > > just go to storm, db admin, update database tables, and click > "create_db.schema" in the list. > > _alex > > > -- > alex black, ceo > en...@tu... > > the turing studio, inc. > http://www.turingstudio.com > > vox+510.666.0074 > fax+510.666.0093 > > > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
From: Alex B. <en...@tu...> - 2001-04-26 18:56:11
|
> But I have errors: > > 1.) I had to comment out all the mcrypt stuff, I'll look these errors later > as they are not as important just yet. Actually they were just warnings and > probably not a big deal but I just want to be on the safe side. yeah, if you don't have mcrypt compiled in php bitches at you :) > 2.) these errors (warnings) are being reported on the main page in the > errors section: > > PHP Warning OCIStmtExecute: ORA-00942: table or view does not exist file: > /raidb4/iPlanet/server/binarycloud/core/base/db/metabase_oci.php line 200 > > I suspect the above to be normal as I haven't installed the database for > binarycloud yet? yes, though I want to make sure you're using oracle. can you give me a fairly detailed description of your environment? paths to "htdocs" binarycloud base, what db you're using, etc. > PHP Warning The length of the needle must not be 0 file: > /raidb4/iPlanet/server/binarycloud/core/lib/bread_crumbs_and_tabs.lib line > 40 > > I have no idea what this message means. This has popped up in a couple places, I believe you have the "old" breadcrumbs. I need to dig up the fix and post it for you. Don't worry about this one, it's peripheral. > 3.) several problems relating to path's and such. > > For example all the links on the left like storm , docs and such all are not > appending the index.php, the links all look like this: > > http://someserver.msfc.nasa.gov:2500/storm/?PHPSESSID=eafa264269e5cb3f0d9581 > 37dc988845 > <http://someserver.msfc.nasa.gov:2500/storm/?PHPSESSID=eafa264269e5cb3f0d958 > 137dc988845> 1) you should be able to set the "directoryIndex" in iPlanet, which is essentially "if a directory is requested, try this list of filenames by default" 2) you're running php in cgi mode, which come to think of it, may be the only way you can on the iPlanet server (which is why you're getting the PHPSESSID appended to the url.) that could be a problem, we'll see. > I believe this to be simple mis-configuration but I can't find where to fix > it. All edits to defined_constants.conf have failed and I've even tried > changes to the web server configuration but that hasn't helped either, in > some cases it's actually caused more problems. > 4.) I can get to the update databases page in storm if I do it manually by > adding index.php to the URL above but when I try to actually update the > database I get this error when clicking on create_db.schema link: > > <<Error: Could not parse database schema file: Could not parse data: syntax > error Line 1 Column 14 Byte index 14 whoa! there's a new one. which file did you use, create_db.schema? -alex > Your help will be greatly appreciated. > > > Thanks > Mark -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Alex B. <en...@tu...> - 2001-04-26 18:56:00
|
> I was wondering if anybody can explain how to add the php.ini directives to > the url host within the iPlanet Web Server configuration like you do with > the Apache module. I don't even know if this could be done. Does anybody > know? I think it's safest to assume that you can't, as they seem to be quite specific to Apache. Out of interest, are you using the iPlanet "platform" stuff as well? (all the expensive java :) _alex -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Alex B. <en...@tu...> - 2001-04-26 18:50:07
|
> 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 under > php so that I can create the main db for bc? actually everything on windows is writable (that's security for you!) - so you don't have to deal with that. just go to storm, db admin, update database tables, and click "create_db.schema" in the list. _alex -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Alex B. <en...@tu...> - 2001-04-26 18:40:37
|
hi nick, I'm posting this to the list because it's relevant. > "Init > The Init layer is prepended to every file served by a > binarycloud-controlled apache installation tree. Init > is composed of four subsystems:" > > I was wondering how this affected the portability of > applications written with binary cloud. Portability > is definitely a concern for most developers these > days. Init basically loads up all the system stuff for binarycloud: permissions, authentication, the constants, etc. So if you write a bunch of modules that use our code, they will depend on our code. Like any other major change, moving a bunch of code _out_ of binarycloud and fixing all of the dependencies would be a major task, because binarycloud has a _great_deal_ of code to support your applications, i.e. you write less coded to begin with, because bc has it already. I'm not quite sure what you mean by portability - I've assumed you mean "framework" portability. As far as platforms go, binarycloud r2 will really be targeted at unix/linux, not windows - because windows does not offer many of the tools necessary to support makefiles, etc. - but you can move the code around without a problem because it's php. _alex > ===== > Nick Pavlica > CTO - Pavlica.com, LLC > http://www.pavlica.com > -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Faine, M. <Mar...@ms...> - 2001-04-26 18:17:10
|
I was wondering if anybody can explain how to add the php.ini directives to the url host within the iPlanet Web Server configuration like you do with the Apache module. I don't even know if this could be done. Does anybody know? -Mark |
From: Faine, M. <Mar...@ms...> - 2001-04-26 14:07:37
|
Ok I have the main binary cloud page up and running. But I have errors: 1.) I had to comment out all the mcrypt stuff, I'll look these errors later as they are not as important just yet. Actually they were just warnings and probably not a big deal but I just want to be on the safe side. 2.) these errors (warnings) are being reported on the main page in the errors section: PHP Warning OCIStmtExecute: ORA-00942: table or view does not exist file: /raidb4/iPlanet/server/binarycloud/core/base/db/metabase_oci.php line 200 I suspect the above to be normal as I haven't installed the database for binarycloud yet? PHP Warning The length of the needle must not be 0 file: /raidb4/iPlanet/server/binarycloud/core/lib/bread_crumbs_and_tabs.lib line 40 I have no idea what this message means. 3.) several problems relating to path's and such. For example all the links on the left like storm , docs and such all are not appending the index.php, the links all look like this: http://someserver.msfc.nasa.gov:2500/storm/?PHPSESSID=eafa264269e5cb3f0d9581 37dc988845 <http://someserver.msfc.nasa.gov:2500/storm/?PHPSESSID=eafa264269e5cb3f0d958 137dc988845> I believe this to be simple mis-configuration but I can't find where to fix it. All edits to defined_constants.conf have failed and I've even tried changes to the web server configuration but that hasn't helped either, in some cases it's actually caused more problems. 4.) I can get to the update databases page in storm if I do it manually by adding index.php to the URL above but when I try to actually update the database I get this error when clicking on create_db.schema link: <<Error: Could not parse database schema file: Could not parse data: syntax error Line 1 Column 14 Byte index 14 Your help will be greatly appreciated. Thanks Mark _____________________________________ Mark Faine Computer Programmer III/MTRS Administration Lesco/MSFC 256-961-1295 |
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 |
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 |
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 |
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 |
From: Henry C. <hen...@ya...> - 2001-04-25 19:00:33
|
Actually, I have other directories under the same domain that I need public access to. Currently if I try to go to that webserver directory I get a 404...seems that BC or my httpd.conf needs some cleanup. I can no longer access other applications in my webroot. For example: http://mydomain.com brings me to the index of my webroot, but http://mydomain.com/app_directory/ gives me a 404, and I know that the directory is in there...just have to figure out a way to get to it without all those query strings being thrown along for the ride in the URL. on 4/25/01 2:06 PM, Alex Black at en...@tu... wrote: >> Thank you so much...=) >> >> Its up and running... >> >> BTW ....now I have to read apache docs to figure out how I can create >> aliases for other directories on my server that have nothing to do with >> BC...and have their own specific rwx privileges...Again Thanks a lot all of >> you for your help! > > best to run a virtualhost, it's clean and simple. > > :) > > _alex > > > -- > alex black, ceo > en...@tu... > > the turing studio, inc. > http://www.turingstudio.com > > vox+510.666.0074 > fax+510.666.0093 > > > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
From: abidal <ab...@ip...> - 2001-04-25 18:54:57
|
> Thank you so much...=) > > Its up and running... > > BTW ....now I have to read apache docs to figure out how I can create > aliases for other directories on my server that have nothing to do with > BC...and have their own specific rwx privileges... 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 bye -- IPSIGHT NETWORKS - www.ipsight.com Abidal Serge ab...@ip... Phone (+33) 1 45 40 91 51 - Fax (+33) 1 45 40 85 45 |
From: Alex B. <en...@tu...> - 2001-04-25 18:08:08
|
> Thank you so much...=) > > Its up and running... > > BTW ....now I have to read apache docs to figure out how I can create > aliases for other directories on my server that have nothing to do with > BC...and have their own specific rwx privileges...Again Thanks a lot all of > you for your help! best to run a virtualhost, it's clean and simple. :) _alex -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Henry C. <hen...@ya...> - 2001-04-25 17:48:46
|
Thank you so much...=) Its up and running... BTW ....now I have to read apache docs to figure out how I can create aliases for other directories on my server that have nothing to do with BC...and have their own specific rwx privileges...Again Thanks a lot all of you for your help! on 4/25/01 12:44 PM, abidal at ab...@ip... wrote: >>> This problem are not realy relate to win. >>>> .. >>> // be shure to remove space at the end of the following page. >> Do you mean a space in their title or within the page itself? >>> core/base/permissions.php >>> core/lib/bread_crumbs_and_tabs.lib >>> user/conf/defined_constants.conf >>> user/conf/file_permissions.conf >>> user/conf/predend.inc >>> > > You should remove space char inside the file, just after the latest php > close tag. > <? > > php code > > > ?>__NO_SPACE_HERE__ > > > > > > >> I cant seem to find this string you speak of...could it have been >> removed >> with the new r1b version >>> //in user/conf/defined_constants.conf change >>> $_PHP_SELF = str_replace .... ; >>> with $_PHP_SELF = $PHP_SELF; > > Sorry look in core/lib/bread_crumbs_and_tabs.lib > > > >>> // be shure that php is configure to work with mysql or you will get >> a >>> blank page too >> I know it is because currently I am running a webforum that uses mysql >> to >> store the forums data >>> > > Ok, now you should change the user/password for mysql in > user/db/objects/bc_global_db.inc > > >> BTW.. After checking all of this Im still getting a blank page...Do I >> have >> to make the BC "htdocs" directory a virtual directory in httpd.conf? >>> > > You don't have, you simply have to change DocumentRoot in httpd.conf. > > Reload httpd, all should be ok now. > > > > > -- > IPSIGHT NETWORKS - www.ipsight.com > Abidal Serge ab...@ip... > Phone (+33) 1 45 40 91 51 - Fax (+33) 1 45 40 85 45 > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |