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

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

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.