Jump to content

Website requires you to login


maraudir

Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.