Hi,
I have two Apache servers. Both are protected using basic authentication. the username and passwords to get into both servers are the same. I want to login to the first server and be presented with a page that links me to the other server. I dont want to enter the username and passwrd again when i link to the second server. Can you Help !!?
I wrote a basic PHP script which provides the logon to the first server. When I logon to the first server I am (on successful login) presented with a page generated by PHP. this page has a link to the second server (not PHP enabled). On this page I first set the header to
header("Authorization: Basic Akjgaoirgaegj==");
so the user will send this information in the header to the second server. Except this is not the case. It doesn't seem to be setting the header.
Is there another way of doing this. I dont want to resort to using:
http://use:pass@mysite.com/location
Please can you help...
Regards,
-Ken.