PHP file permissions -


i launched ec2 server , put php code on server , need change permissions user cant go site http:example.com/admin , see list of php files....do need change permissions on entire folder or each file or there recursive -r command work ...i think 777 ...which bad

assuming want disable listing of files, , not access files themselves, you'll want disable indexes option in apache folder. in apache config best.

<directory /www/somefolder>     options -indexes     allowoverride none </directory> 

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -