hi
I just exported the client-side of my system to another computer. For the new client to be able to access my apache-server i altered the httpd.conf-file, and gave the server a new name => "name2". The old name, "name1", was the name of my computer. Here is where I started encountering problems... Suddenly my session variables disappeared. Then I noticed when using phpinfo(), that HTTP_HOST was name1 whilst SERVER_NAME was name2... Then I tried turning off UseCanonicalName in http.conf and things seemed to go back to normal. But then I noticed that it was only when I first accessed the server that name2 where in use. After the first redirection the netlocation was utterly changed to name1... Anybody got a solution to this. I really want to adress the server with name2 all the way...
Regards tores
Help with my server name..
Moderator: General Moderators