Okay, two problems one more simple then the other.
1: I just installed apache on a server that was running ISS, on the server I can see everything fine, on the other machines accessing the server, I get permission denied, how do I fix that.
2: I have a loggin script, which is common in all the pages as the user authentication. I can log in fine, but if I log off and try to log back in, it just doesnt log. Doesnt give me an error message that I had set up if the user was not authenticated, doesnt give me any php errors, it just simply does not log me in and acts like I never tried, I have different scripts for the login form, the error login form, and the logged in form, but I always get the login form no matter what. And it usually takes a few hours until I can log back in. And I thought it was the cookie, but the cookie is only set for an hour, plus I delete the cookie and unset the session when I log out. :
session_unset();
setcookie("cookiename");
unset($uservar);
unset($passvar);