1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Where can I change the apache DocumentRoot Variable?

Discussion in 'Plesk for Linux - 8.x and Older' started by DReffects, Feb 24, 2007.

  1. DReffects

    DReffects Basic Pleskian

    26
    40%
    Joined:
    Feb 8, 2005
    Messages:
    76
    Likes Received:
    0
    Hey Folks,

    I am trying to switch the DocumentRoot variable to a directory from a domain i've created in plesk so that every request to anygivensub.domain.com is being answered by the domain i've created in plesk.

    i've tried to change the DocumentRoot in zz010_psa_httpd.conf but it has no effect.

    would be great if someone could point me in the right direction :)

    thanks,
    daniel
     
  2. Mirco@

    Mirco@ Basic Pleskian

    24
    53%
    Joined:
    Aug 1, 2001
    Messages:
    43
    Likes Received:
    0
    Hello,

    Don't edit zz010_psa_httpd.conf
    since changes will get overwritten by PSA.

    You will need to create a vhost.conf
    in the domain's /conf dir and add
    a wildcard alias to it.

    It's explained in FAQ #955
     
  3. bonesadams

    bonesadams Guest

    0
     
Loading...