The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Manually edit httpd.conf without changes overwritten

Discussion in 'Data Protection' started by Clappy, Oct 5, 2004.

  1. Clappy

    Clappy Registered

    Joined:
    Jul 18, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hello everyone, how's it going?

    I have a somewhat newbie question, I am trying to install Frontpage for a client's addon domain, they are literally not interested in learning how to connect to a subweb (long story).

    Anyway, during my manual installation from /usr/local/frontpage/version5.0/bin/fpsrvadm.exe , it gave me the following error:

    Error: Unable to create a web for the URL "/" because its root directory, "/home/$user/public_html/$addon_domain/", falls below the root of another web in the directory "/home/$user/public_html"

    Basically, I want to change the addon domain's virtualhost document root to /home/$user/$addon_domain instead of being inside the current web. I searched through the WHM, the enduser control panel, documentation on cpanel.net and finally google, and I couldn't find an answer to the question,
    "Can I manually edit the raw apache config file, and make changes that will not be overwritten by the WHM?"

    Does anyone know the answer? Thanks in advance :D
     
  2. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    I make modifications to that page quite a bit. About the only time it might get modified is if you ever have to use something that will rewrite it, like /scripts/rebuildhttpdconf. Normal account creation does not alter current content.
     
  3. anup123

    anup123 Well-Known Member

    Joined:
    Mar 29, 2004
    Messages:
    897
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    This Planet
    Even /scripts/rebuildhttpdconf does not undo the changes done manually. Only thing is that any modules would have to be rebuilt after an apache update. Normally i do the whole apache directory backup beofre updates just in case it may be needed ... not so far though

    Anup
     
  4. Clappy

    Clappy Registered

    Joined:
    Jul 18, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hey,

    Thanks for your responses. I was under the impression it was much like the Virtuozzo platform which rewrites config files from a central database any time a change is made.

    Useful in some respects but for the most part annoying, it takes longer to fix something that way.

    Anyway, thanks again!
     
Loading...

Share This Page