maraudir Posted August 11, 2009 Share Posted August 11, 2009 I have to assume that this goes here. Not sure if it is the php side or IIS. Ok, I am able to view my index.php from the server itself and another computer offsite. However when I attemp to view it on another PC in the domain I receive a message stating, "HTTP 403 Forbidden Most likely causes: This website requires you to log in." I have checked that the documents are pointing to index.php and like I said it works on other computers. I have cleared cache and cookies on the offending PC. Any suggestion? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/169837-website-requires-you-to-login/ Share on other sites More sharing options...
MadTechie Posted August 11, 2009 Share Posted August 11, 2009 When you say another PC on the domain, I assume you mean you have 2 PC's on the same network and your attempting to connect to the server via its domain FQDN domain name for example PC #1 IP = 192.168.1.10 PC #2 IP = 192.168.1.20 PC #1 is the WebServer that had the domain PublicDomain.com pointing to it (redirected via a router) and on PC#2 your typing in http://PublicDomain.com If the above is true then your going to have problems with the router.. try http://192.168.1.10 (change to correct IP) instead. another option is you find a online proxy and connect to the domain via that.. basically the router is taking control of the internal IP connecting out hope that makes sense Quote Link to comment https://forums.phpfreaks.com/topic/169837-website-requires-you-to-login/#findComment-896012 Share on other sites More sharing options...
maraudir Posted August 12, 2009 Author Share Posted August 12, 2009 Thank you for the quick response. Yes that scenario is correct. I have however tried the FQDN and it's associated IP address. Both have the issue. The DNS server used on the problem PC is the server that is hosting the PHP website and resolving to the correct IP. I still have the issue either way. Also as a side note. The folder being directing in IIS is a virtual folder on that same PC. The folder is nested under the default IIS wwwroot and they both have permissions for the IUSR as well as admin. Let me know if you need any other information. Quote Link to comment https://forums.phpfreaks.com/topic/169837-website-requires-you-to-login/#findComment-896073 Share on other sites More sharing options...
MadTechie Posted August 12, 2009 Share Posted August 12, 2009 for testing I would also give "Everyone" access to the folder see if it is a permissions problem! For nested folders on root i think you need to do ~/ instead of just / I don't use IIS much anymore Quote Link to comment https://forums.phpfreaks.com/topic/169837-website-requires-you-to-login/#findComment-896082 Share on other sites More sharing options...
maraudir Posted August 12, 2009 Author Share Posted August 12, 2009 I tried the everyone route as well to no avail. Quote Link to comment https://forums.phpfreaks.com/topic/169837-website-requires-you-to-login/#findComment-896083 Share on other sites More sharing options...
maraudir Posted August 12, 2009 Author Share Posted August 12, 2009 Ok, so there is a new development. Apparently after waiting long enough, several hours, I was able to access the php page. I then logged in, made a post, and then logged out. When I try to go back to it, I get the website requires you to login again. Any suggestions? Quote Link to comment https://forums.phpfreaks.com/topic/169837-website-requires-you-to-login/#findComment-896247 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.