Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

You don't have permission to access on this server

Status
Not open for further replies.

milo3169

Programmer
May 2, 2007
42
Hello,
I installed Apache, PHP5, and MySql on my new computer and It seems like the installation was ok. The problem I have I would try to access some files and I would get this error.

Forbidden
You don't have permission to access /grahamlive/login/< on this server.

Apache/2.0.61 (Win32) PHP/5.2.5 Server at localhost Port 80

Does anybody know what this means and how I can fix this? I've never experienced this before.
 
You are pointing to a page outside of apache's webspace. Create a <Directory> container for the directory if it is not a sub-directory of the DocumentRoot.

 
Sorry, I'm kind of new to this. I'm not sure what you mean about "pointing to a page outside of the Apache webspace". All of my documents that I'm trying to access are in the HTDOCs folder. Shouldn't that work? It seems to come up with that message when I try to login to a application that requires a user and password in a particular application that I have created.
 
Is this a typo?
/grahamlive/login/[!]<[/!]

I'm not sure what this means?
when I try to login to a application that requires a user and password in a particular application that I have created

Is this some sort of php application that you've created? If it is and the [!]<[/!] above is correct, then I'd suspect that something is wrong with your php application; especially if you can serve static html pages correctly from these directories.
 
I can display dynamic and static pages from these directories. Are you saying that there might be a setting in the php.ini file that needs to be set differently? I did upgrade to PHP5. Would that be the cause? I didn't have problems from the old version.
 
Now we're getting somewhere. Are you saying that the exact same php code worked correctly prior to updating to php5? Has apache been restarted since the upgrade to php5? This sounds like a php problem which would be better handled in forum434.
 
Yes, the same exact PHP code worked prior to the upgrade. I will go to the php forum and ask the question. I will also try to resart Apache too. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top