Jump to content

Recommended Posts

hi all

i 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 4

thanks
Link to comment
https://forums.phpfreaks.com/topic/13539-problem-with-permissions-on-apache/
Share on other sites

yeah like wildteen88 suggested, i don't thinks its a chmod issue since your chmod is 0755

it 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]
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.