linxx Posted July 3, 2006 Share Posted July 3, 2006 hi alli am having this problem with the permissions when creating folders using a ftp connection on any of the 3-4 domains i am hosting i put some images or files eg file.html in the folder and the permission are chmod to 755, but when i go to example.com/folder_name it say forbbiden you dont have the permissions to access this folder where it should show a list of files in the directory.But i can view the images though by example.com/folder_name/image.gif just wont let view the content of the folder. THis is on fedora 4thanks Quote Link to comment https://forums.phpfreaks.com/topic/13539-problem-with-permissions-on-apache/ Share on other sites More sharing options...
wildteen88 Posted July 3, 2006 Share Posted July 3, 2006 I dont think this is to do with CHMOD permisions, but most probably something wrong with your servers configuration not allowing you to see the file index of the folder you want to view Quote Link to comment https://forums.phpfreaks.com/topic/13539-problem-with-permissions-on-apache/#findComment-52436 Share on other sites More sharing options...
Koobi Posted July 8, 2006 Share Posted July 8, 2006 yeah like wildteen88 suggested, i don't thinks its a chmod issue since your chmod is 0755it might be to do with apache. you might have DirectoryListing disabled. so i'm guessing you already have an .htaccess file (if you're on *nix, you can confirm its existence by typing "ls -a" without the quotes in CLI)edit this .htaccess and add this to it:[code]Options +Indexes[/code] Quote Link to comment https://forums.phpfreaks.com/topic/13539-problem-with-permissions-on-apache/#findComment-54875 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.