BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: {bb} BBmap purple on submaps



Since you can acces the link using your user and password,
and you can access the link without it, both from your PC,
the three next idea that I have are the following :

1) check if from the web-server itself, if you can really
access to the web page. For instance, you can have
a dns problem (not defined) in your web server
(bb.test.org). To do that, log in with the "bb4" system account,
launch if you can netscape or mozilla and go through
the web address again. You can also try a ping from
the server to itself (using the base web address).
Both as the bb4 user so that you really can check
if it resolves correctly the web address.
If not, then you've got it : fix the dns setting on your bb4 server
or something related.

2) Possibly a bug in PHP 4.1 (as you use php-4.1.2-2.1.8).
Try to upgrade a more recent version (for instance for
RH AS3, the current version is 4.3.2-14 as in
ftp://updates.redhat.com/enterprise/3AS/en/os/SRPMS/php-4.3.2-14.ent.src.rpm)
I look at RH AS2.1, it seems it is no more updated (as usual with RH when
a new release goes out, all previous versions are out of updating process).
You can perhaps go from source tarball.

I found somewhere that PHP accept SSL (HTTPS) from 4.3.0
and of course if compiled with openssl support.

3) Do you have openssl installed on your RedHat server,
and is PHP compiled with this support ?
You can take a look on a phpinfo.php (generally
given with a standard distribution of PHP)
which shows the status of PHP and its compiled module.

So, to resume, first check if from the server itself
you can correctly resolve the https://adress,
second check the PHP configuration itself,
first on the ssl part, second considering upgrading
PHP.

I hope this can bring you to the keys !
Frederic


----- Original Message ----- From: "Bill Richardson" <ng1p@yahoo.com>
To: <bb@bb4.com>
Sent: Friday, October 22, 2004 6:34 AM
Subject: Re: {bb} BBmap purple on submaps



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 > php-4.1.2-2.1.8 > > 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.



--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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