[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] include.conf questions (httpd.conf)



> My include.conf looks like this:
> 
> <VirtualHost  213.**.**.**>
> ServerName domain1.com
> ServerAdmin admin
> DocumentRoot /home/sites/site1/web/domain1/
> AddType application/x-httpd-php .php4
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php .html
> AddType application/x-httpd-php .htm
> AddType application/x-httpd-php .php3
> AddHandler cgi-wrapper .cgi
> AddHandler cgi-wrapper .pl
> AddHandler server-parsed .shtml
> AddType text/html .shtml
> </VirtualHost>
> 
> <VirtualHost  213.**.**.**>
> ServerName domain2.com
> ServerAdmin admin
> DocumentRoot /home/sites/site1/web/domain2/
> AddType application/x-httpd-php .php4
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php .html
> AddType application/x-httpd-php .htm
> AddType application/x-httpd-php .php3
> AddHandler cgi-wrapper .cgi
> AddHandler cgi-wrapper .pl
> AddHandler server-parsed .shtml
> AddType text/html .shtml
> </VirtualHost>
> 
> With this, both www.domain1.com AND www.domain2.com point to 
> /home/sites/site1/web/domain1/
> 
> Most frustrating, is there anything wrong you can see there?
> 

I don't see anything wrong there. Is there anything in httpd.conf that
looks strange? I assume there's at least one site in httpd.conf using
that IP also.
-- 
Dan Kriwitsky