Jump to content

Archived

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

linxx

problem with permissions on apache

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
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]

Share this post


Link to post
Share on other sites

×

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.