Jump to content

You Don't have permission to access when calling .htm file on localhost (linux)


Recommended Posts

Hi there,

this might be a little problem , but i'm new linux so hope you understand.

 

the problem is that when i do localhost/login.htm for example it gives me this: You Don't have permission to access /login.htm on this server ...but when i do localhost/login.php for example the server is fine with it...

 

I placed all files in /var/www/html folder , OS is linux fedora 15

 

thanks

Link to comment
Share on other sites

Sorry, but it's not related to php at all. Your not even having issues with a php file.

 

I would check the permissions on the .htm file and make sure your server has permissions enough to read the file.

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.