What I normally do is nest the <Directory> parts inside the <VirtualHost> parts, which is slightly more secure than doing it in the main part of httpd.conf.
For example, I might do something like this for a typical domain:
Code:
NameVirtualHost 12.34.56.78:80
<VirtualHost 12.34.56.78:80>
ServerName some.domain.com
DocumentRoot /home/someuser/public_html
User someuser
Group someuser
ErrorLog /home/someuser/logs/error_log
CustomLog /home/someuser/logs/access_log combined
<Directory "/home/someuser/public_html">
Options -Indexes ExecCGI
AllowOverride all
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Hope this helps.
