jmahdi Posted July 13, 2011 Share Posted July 13, 2011 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 Quote Link to comment https://forums.phpfreaks.com/topic/241889-you-dont-have-permission-to-access-when-calling-htm-file-on-localhost-linux/ Share on other sites More sharing options...
trq Posted July 13, 2011 Share Posted July 13, 2011 What does accessing a htm file have to do with the installation or configuration of php? Quote Link to comment https://forums.phpfreaks.com/topic/241889-you-dont-have-permission-to-access-when-calling-htm-file-on-localhost-linux/#findComment-1242184 Share on other sites More sharing options...
jmahdi Posted July 13, 2011 Author Share Posted July 13, 2011 What does accessing a htm file have to do with the installation or configuration of php? its php related i suppose, and thought it might be related to php.ini file issues or something!? Quote Link to comment https://forums.phpfreaks.com/topic/241889-you-dont-have-permission-to-access-when-calling-htm-file-on-localhost-linux/#findComment-1242248 Share on other sites More sharing options...
trq Posted July 14, 2011 Share Posted July 14, 2011 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. Quote Link to comment https://forums.phpfreaks.com/topic/241889-you-dont-have-permission-to-access-when-calling-htm-file-on-localhost-linux/#findComment-1242537 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.