Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 1 of 1
  1. #1
    Member
    Join Date
    Mar 2003
    Posts
    863

    Default All kinds of inconsistencies in httpd.conf

    I have spent the latter part of 1hr correcting a whole bunch of errors in the httpd.conf left over by cPanel v6 scripts modifying my httpd.conf incorrectly.

    1) Yesterday i switched a site from a ip based site to a named based site. That left my http.conf spitting out the following errors all day.

    [Sat Mar 29 01:00:29 2003] [warn] NameVirtualHost 111.11.111.111:80 has no VirtualHosts
    [Sat Mar 29 01:00:29 2003] [warn] NameVirtualHost 222.22.222.22:80 has no VirtualHosts

    After i fixed that error and while looking through the rest of the virtuahosts i found many many virtual sites that look like this;

    <VirtualHost 111.11.111.111>
    BytesLog domlogs/lists.dgmetals.com-bytes_log
    User dgi
    Group dgi
    ServerName lists.dgi.com
    ServerAdmin wwwadmin@dgi.com
    DocumentRoot /home/dgi/public_html/lists
    CustomLog domlogs/lists.dgi.com combined
    ScriptAlias /cgi-bin/ /home/dgi/public_html/lists/cgi-bin/
    User dgi
    Group dgi
    </VirtualHost>

    See anything wrong with this? Duplicate User and groups!! This is definately a v6 problem. Some script is modifying httd.conf but this is not correct.

    Howabout this one?

    <VirtualHost 111.11.11.111>
    ServerAlias www.lapl.biz lapl.biz
    ServerAdmin webmaster@lapl.biz
    DocumentRoot /home/lapl/public_html
    BytesLog domlogs/lapl.biz-bytes_log
    User lapl
    Group lapl
    ServerName www.lapl.biz
    ScriptAlias /cgi-bin/ /home/lapl/public_html/cgi-bin/
    ScriptAlias /cgi-bin/ /home/lapl/public_html/cgi-bin/
    ScriptAlias /cgi-bin/ /home/lapl/public_html/cgi-bin/
    CustomLog domlogs/lapl.biz combined
    ScriptAlias /cgi-bin/ /home/lapl/public_html/cgi-bin/
    </VirtualHost>

    Many copies of ScriptAlias? I remember somebody posting about this back in v5 which is a result of a reseller upgrading/downgrading an account.

    Last edited by sexy_guy; 03-29-2003 at 12:01 PM.

Similar Threads & Tags
Similar threads

  1. Faulty httpd.conf - can't rebuild with rebuildhttpd.conf
    By movielad in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 03-21-2011, 12:43 PM
  2. Preserve amends to /etc/httpd/conf/httpd.conf ?
    By robocrop in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-14-2010, 02:08 AM
  3. httpd.conf sites/www.domain.com.conf Wildcard DNS
    By ttremain in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 12-16-2008, 11:19 AM
  4. Daily httpd restart changes AllowOverride None to All in httpd.conf
    By Lasers in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 02-26-2007, 12:17 PM
  5. All kinds of errors after fresh install
    By ozzi4648 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-27-2002, 03:21 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube