public_html as webfolder

Discussion in 'Installation/Configuration' started by Nielsterp, Jan 21, 2011.

  1. Nielsterp

    Nielsterp New Member

    Hi there,

    I need to set up a site that excactly mimics another site - and this other site has public_html as its web folder. Is that possible in ISP Config 3 ?

    Hope some of you can help me with this...

    Niels Terp
  2. falko

    falko Super Moderator ISPConfig Developer

    Is public_html hardcoded anywhere in the site? If not, it shouldn't matter how the document root is called.
  3. Nielsterp

    Nielsterp New Member

    Well, both yes and no. This other site is on a SuSE linux machine using public_html. The site I'm setting up is for practising for a new webmaster, who is realy "green".

    I have therefore promised him to make the site as close a copy as possible.

    When he is uploading his files to the server he has to upload to public_html. However he also has (in the same process) to upload files wich is placed in ../public_html for security reasons. I would therefore like to maintain the same directory structure on the ISPConfig site.

    To be more specific, can I change the document root in a ISPConfig3-site from "web" to "public_html" ? I guess I wil have to set the document root in the apache conf-file. But wich one ? And do I need to change anything else ?

    Best regards

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    No. But you can make a symlink public_html to web:

    ln -s web public_html

Share This Page