It will not work in the way you did.
In your file you did
Code:
<Directory "/home/webuser/www/html">
Options +Indexes FollowSymLinks +ExecCGI
AllowOverride AuthConfig FileInfo
Order allow,deny
Allow from all
</Directory>
Instead you need to define following section of httpd.conf
Code:
#<VirtualHost *:80>
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>
and not the one which you edited as follows
Code:
<VirtualHost *:80>
ServerName what ever your server name is
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot /home/webuser/www/html
<Directory "/home/webuser/www/html">
Options +Indexes FollowSymLinks +ExecCGI
AllowOverride AuthConfig FileInfo
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/site_log
CustomLog /var/log/site_access_log common
</VirtualHost>
Apache will respond to ServerName i.e. what ever you put in front of server name how are you accessing your site locally or on some server on LAN or internet and
http://(what do you type here) to access your site?
If you are having permissions problem post the output of this script
Code:
webfile="/home/webuser/www/html"
ls -l "$webfile"
while [ "$webfile" != "/" ]
do
webfile=`dirname "$webfile"`
ls -ld "$webfile"
done
Do you have an index.html in /home/webuser/www/html because you have used Option +Indexes and this wont work until you have an index.html in /home/webuser/www/html