What is the difference between setting permissions with these two methods?
Posted
by Camran
on Server Fault
See other posts from Server Fault
or by Camran
Published on 2010-06-01T19:50:41Z
Indexed on
2010/06/01
19:55 UTC
Read the original article
Hit count: 165
Method 1: Via apache2.conf (or httpd.conf):
<Directory "/var/www/html">
Options Indexes FollowSymLinks -MultiViews
AllowOverrides None
Order allow,deny
Allow from all
</Directory>
Method 2: Chmod in the command-line.
Doesn't both these methods accomplish the same thing?
And another Q if you can answer it, what permissions is the var and www folder usually set to?
Thanks
© Server Fault or respective owner