Jump to content

Cannot access http://localhost/index.php


nati

Recommended Posts

Hello everybody!

 

I have a problem with access to my index.php page.

 

If I put an index.html page into my localhost folder and call it from browser, it works fine. But when I put an index.php page into my localhost folder and call it from browser, I'm getting next error:

 

You are not authorized to view this page

HTTP Error 403 - Forbidden

 

I cannot find out what caused this problem. Anyone can help?

 

Tnx in advance!

Nati

 

Link to comment
Share on other sites

Hi,

 

Tnx a lot, it is better now, but there is still a small problem.

 

When I call http://localhost/index.php, I'm getting my php page correctly.

But when I call http://localhost, I'm just getting the content of my localhost folder including a link to index.php. As I know, I should get index.whatever page as a default page by calling http://localhost, right?

 

I suppose it is different problem now...  ???

 

 

Regards,

Nati

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.