简体   繁体   中英

can not access the folders created in cpanel

why for the directories i creat getting rwx---rwx and rw----r-- permisions for the files i create? I cant access a folder by externally via url which have rwx---rwx permition but can access the file which have rw----r-- permision.

Even I change permision to rwxrwxrwx i can not access the folder. eg: http://www.example.com/folder/ Gives me 403 Forbidden

403 forbidden on a folder url usually means that your server has folder browsing disabled, and there's no default document (index.html, index.php, etc...) in the directory. Since there's no default content to server, and the configuration doesn't allow for browsing, you get the forbidden error.

That's probably a pre-caution of your webserver, that denies to offer files that have the executable bit ( x ) set.

Check your servers documentation about the features it offers and which file permissions are needed to be set to make them work with your webserver.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM