Jump to content

problem with permissions on apache


linxx

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]

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.