Proper way to set permissions with django and apache2? -


i'm using django wsgi on apache2

i trying acess css file in site/static/css folder , since permission 644, css file not accessed apache2.

so chmod 645 on site/static/css folder , fine. however, worried granting execution rights in css folder cause security problems. correct way tackle problem, perhaps way grant permissions using httpd.conf file?

thanks!

you can use chown cause files owned same group apache (www-data?) , set permission on group instead everyone.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -