What is the difference between setting permissions with these two methods?
- by Camran
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