BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: {bb} BBmap purple on submaps
Frederic,
Here is a little more info:
Today I loaded Whitebox Linux "Same as Redhat AS 3.0"
but free and setup bb1.9c and bbgen and then loaded
bbmap.
1.) At first I setup apache for just http and tried
bbmap and all worked great "no problems"
2.) Next I setup apache for just https. I then changed
the right scripts from http to https and again all
worked fine. "no problems"
3.) Then I turned on basic auth and setup a htaccess
file in the root of the web server. This made the top
map go purple as expected. After adding "userpasswd =
user:password" to the globalmap.cfg all worked fine
"no prolems"
I setup the Whitebox system identical to the Redhat
AS 2.1 system. With that in mind I copied all bbmap
files from the Whitebox Linux to the Redhat AS 2.1
just incase I made a typo on the install of the Redhat
AS 2.1 install.
After copying a known good install of bbmap over to
the Redhat AS 2.1 things still didnt work? All
permissions of all files and directories are the same
as on the Whitebox Linux system.
The big difference is with the version of Apache and
PHP.
The Redhat AS 2.1 uses:
php-4.1.2-2.1.8
apache-1.3.27-8.ent
The Whitebox Linux uses:
php-4.3.2-14.ent
apache-2.0.46-40.ent.WB1
I wonder if php-4.1.2-2.1.8 on the Redhat AS 2.1
install is cousing the problem? Does this make any
sense at all? Does bbmap need php-4.3 or higher for
the submap feature to work?
Thanks for your help
--- Bill Richardson <ng1p@yahoo.com> wrote:
> Frederic,
>
> Still no luck...
> I made the https change to initiatesubmap.php and
> added the "userpasswd = user:password" to the
> globalmap.cfg and all the *.map that link to a
> submap
> and still get the same outcome.
>
> Next I logged in as the user that I set as
> "userpasswd" and ran:
>
"https://bb.test.org/bb/bbmap/statussubmap.php?submap=test2"
> And it worked fine.
>
> Finally I removed all .htaccess files from my BB
> server and all the user/password VARs from *.map
> files
> and left just "userpasswd =" in the globalmap.cfg.
> Now
> even with no basic auth I still get the same
> problem.
> It doesnt seem to be a login problem. I also set the
> permissions on the *.map files to 777 just to make
> sure and still no luck?
>
> I reloaded everything step by step on another Redhat
> AS 2.1 box and I get the same problem.
>
> This sure is a strange one? Any more thoughts?
> Thanks
> again for your help.
>
> Bill
>
>
> --- Brégier Frédéric <frederic.bregier@noos.fr>
> wrote:
>
> > First, if you use "https", you should change both
> in
> > initiate.php and initiatesubmap.php the line where
> > it looks
> > at the submap :
> > $listmap = file( "http://" . $access .
> > $_SERVER['SERVER_NAME'] . "/" . $bbwebmap
> > . "/statussubmap.php?submap=$submapname" );
> >
> > changing http:// in https://
> >
> > Second, if there is a user/password, then you need
> > to put it $acess variable
> > (To do that, change it in the userpasswd variable
> in
> > globalmap.cfg or
> > specifically in your config file.map for your
> > current map view,
> > or through the web interface in the ).
> > I had another user who uses https and his problem
> > was the user/password to
> > access to the page.
> > Since you access it through your IE, I suppose you
> > already have enter your
> > user/password in a previous
> > page before, so the web server doesn't ask you
> > again.
> > Try to put in your configuration file *.map the
> > variable "userpasswd" set to
> > "user:password".
> > A good idea would be to make one user/password
> > allowed to see all bbmaps but you
> > keep it of course
> > secret (since it is PHP noone will see it except
> > those who can read php files on
> > the server directly).
> > You can limit this access to the bbmap directories
> > (and subdirectories).
> >
> > Hoping this will solve your problem.
> >
> > Frederic
> >
> >
> >
> > ----- Original Message -----
> > From: "Bill Richardson" <ng1p@yahoo.com>
> > To: <bb@bb4.com>
> > Sent: Thursday, October 21, 2004 5:27 PM
> > Subject: {bb} BBmap purple on submaps
> >
> >
> > >I have installed bbmap 2.4 on a Redhat AS 2.1
> with
> > the
> > > following installed:
> > > apache-1.3.27-8.ent
> > > bb1.9c
> > > bbgen 3.2
> > >
> > >
> > > All is working fine but the submap feature. All
> I
> > get
> > > is purple on the top page even when the subpage
> is
> > > green or any color.
> > >
> > > Doing the debuging in PHP I find that since I'm
> > > running "https" I needed to change http to https
> > in
> > > the initiate.php. That took care of all warnings
> > but
> > > the following:
> > >
> > > //cut
> > > Warning:
> > >
> >
>
file("https://bb.test.org/bb/bbmap/statussubmap.php?submap=test2")
> > > - No such file or directory in
> > > /bb19c/www/bbmap-2.4/initiate.php on line 190
> > > //cut
> > >
> > > When I try the above link in IE 6.0 I see:
> > > //cut
> > > router.test.org
> > > 6
> > >
> > >
> > >
> > >
> > >
> > > router.test.org
> > > //cut
> > > The "statussubmap.php?submap=" seems to work
> fine.
> > Any
> > > ideas???
> > >
> > > Thanks for your help and a great tool!
> > > Bill Richardson
> > >
> > > "Linux is very user friendly, It's just very
> > > particular about who it makes friends with"
> > >
> > >
> > >
> > >
> > >
> > > _______________________________
> > > Do you Yahoo!?
> > > Declare Yourself - Register online to vote
> today!
> > > http://vote.yahoo.com
> > > --
> > >
> >
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
> > > To unsubscribe from this list, or to subscribe
> to
> > the bb-digest list
> > > send e-mail to mailto:majordomo@bb4.com with
> > unsubscribe bb -and/or-
> > > subscribe bb-digest in the BODY of the message.
> > >
> > >
> >
> >
> > --
> >
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
> > To unsubscribe from this list, or to subscribe to
> > the bb-digest list
> > send e-mail to mailto:majordomo@bb4.com with
> > unsubscribe bb -and/or-
> > subscribe bb-digest in the BODY of the message.
> >
>
>
>
>
> _______________________________
> Do you Yahoo!?
> Declare Yourself - Register online to vote today!
> http://vote.yahoo.com
> --
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
> To unsubscribe from this list, or to subscribe to
> the bb-digest list
> send e-mail to mailto:majordomo@bb4.com with
> unsubscribe bb -and/or-
> subscribe bb-digest in the BODY of the message.
>
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
Home |
Main Index |
Thread Index