Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Feb 2004
    Posts
    3

    Default Default vhost entry in httpd.conf

    Not sure if this is the right place to post this or not, but I wanted to know if there is a way to modify / remove the default vhost entry in the httpd.conf file. This is under ea3 so any manual changes I make always get overwritten.

    Is this possible to do with the current system?

    Thank you in advance.

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,892
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    Have you had a look at the docs on this?

    http://www.cpanel.net/support/docs/e...irectives.html

  3. #3
    Registered User
    Join Date
    Feb 2004
    Posts
    3

    Default

    Yes, I have read that. Unfortunately it doesn't cover the default vhost entry.

    Incidentally, I'm talking about the catch-all default vhost entry -- the one that is geared for unbound IPs... Specifically, this entry:

    Code:
    <VirtualHost *>
        ServerName domain.com
        DocumentRoot /usr/local/apache/htdocs
        ServerAdmin admin@domain.com
        UserDir disable
    </VirtualHost>
    I want to either remove or modify the DocumentRoot for this entry. Changing it manually and then running [ /usr/local/cpanel/bin/apache_conf_distiller --update --main ] and [ /usr/local/cpanel/bin/build_apache_conf ] erases the changes I made.

Similar Threads & Tags
Similar threads

  1. httpd.conf vhost templates
    By mserver in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 05-28-2008, 02:25 PM
  2. httpd.conf virtualhost entry
    By useradmin in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-27-2008, 09:47 AM
  3. BytesLog entry missing in httpd.conf
    By Adz in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-03-2006, 05:18 AM
  4. What should the httpd.conf entry be for webdav to work?
    By AbeFroman in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-04-2004, 10:55 PM
  5. Problem with webdav and httpd.conf entry
    By AbeFroman in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-22-2004, 07:14 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube