running 2 site on one apache - need help

Dave Peters gameslover987 at yahoo.com
Fri Dec 5 10:00:55 EST 2003


Hi all,
Thanks for the help! I still have trouble when I
browse the site:
I got the following error:
***************************
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /
on this server.</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an
ErrorDocument to handle the request.</p>
</body></html>
********************************
This is the http.conf

-------------------------------

NameVirtualHost 192.168.1.120

# Virtual hosts
#

# Virtual host Virtual Host 0
<VirtualHost test4567.com>
        DocumentRoot /var/www/www.test4567.com
        ServerAdmin root at localhost
        ServerName www.test4567.com
        ServerAlias test4567
        ServerAlias test4567.com
        ServerSignature off
        DirectoryIndex index.html
        <Directory "/var/www/www.test4567.com/">
               AllowOverride none
        </Directory>

</VirtualHost>

# Virtual host Virtual Host 1
<VirtualHost test56789.com>
        DocumentRoot /var/www/www.test56789.com
        ServerAdmin root at test56789.com           
        ServerName www.test56789.com
        ServerAlias test56789.com
        ServerAlias test56789
        ServerSignature email
        DirectoryIndex index.html
        <Directory "/var/www/www.test56789/">
                AllowOverride none
        </Directory>

</VirtualHost>
++++++++++++++++++++++++++

Apache 2.0.40 is installed on Redhat 9.0 - 2.4.20-20.9

Do I need comment on some default setup and any change
on /Direcotry on httpd.conf?

++++++++++++++++++++++++++++++
<Directory "/">
        Options FollowSymLinks
        AllowOverride None
</Directory>
<Directory "/var/www/html">
        Options Indexes Includes FollowSymLinks
        AllowOverride None
        Allow from from all
        Order allow,deny
</Directory>
<Directory "/var/www/icons">
        Options Indexes MultiViews
        AllowOverride None
        Allow from from all
        Order allow,deny
</Directory>
<Directory "/var/www/cgi-bin">
        Options ExecCGI
        AllowOverride None
        Allow from from all
        Order allow,deny
</Directory>
++++++++++++++++++++++
     
Thanks.

--
DP





__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/



More information about the Discuss mailing list