Jump to content

No permission when trying to call htm file on local host


jmahdi

Recommended Posts

this should be related to an "mysterious" configuration in apache or something please help (or direct to another post that might).....

 

I get this: You don't have permission to access /filename.htm when i try to run http://localhost/filename.htm  !!

 

while i have no problem when running: http://localhost/filename.php

 

i run this on linux fedora (if this helps or makes a difference)...the files are called from the /var/www/html directory..

 

thanks in advance

Link to comment
Share on other sites

No, you do however need to read up on managing access and permissions in linux. using 777 is a very bad option so dont go using that all of the time. It is basically granting all read and write permissions for that file, and as you can guess can lead to security problems.

 

http://www.linuxforums.org/forum/linux-tutorials-howtos-reference-material/10862-linux-file-permissions.html

 

a starting point

 

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.