Skip to main content

Alter documentRoot public_html to public_html/public

Comments

5 comments

  • cPanelMichael
    My problem is that from time to time he takes the documentoroot and concatenate with the public, making a folder loop: [% DocumentRoot%]/public/public/public .......

    Hello, Could you provide some more information on how you want the document root value configured? Also, could you verify if this happens after cPanel updates? You can test this by forcing an update of cPanel via:
    /scripts/upcp --force
    Also, could you let us know if running "/scripts/rebuildhttpdconf" after the update fixes the problem? Thank you.
    0
  • Thiago Moreira
    Hello, Could you provide some more information on how you want the document root value configured? Also, could you verify if this happens after cPanel updates? You can test this by forcing an update of cPanel via:
    /scripts/upcp --force
    Also, could you let us know if running "/scripts/rebuildhttpdconf" after the update fixes the problem? Thank you.

    Hello. Thanks for the answer. I need to always create a new account, the default Apache way to my client is public_hml/public and not only public_html I have clients who use several framework and it is necessary that within the public_html folder public is the default. Can you help me?
    0
  • cPanelMichael
    Could you verify if this happens after cPanel updates? You can test this by making the changes, and forcing an update of cPanel via:
    /scripts/upcp --force
    Also, could you let us know if running "/scripts/rebuildhttpdconf" after the update fixes the problem? Thank you.
    0
  • Thiago Moreira
    Michael, okay? Did you understood my question? I need to change the default apache folder that is currently public_html to public_html / public Every new account created that that within the public_html folder to be the default public folder apache. Understood?
    0
  • cPanelMichael
    Would you mind opening a support ticket using the link in my signature so we can take a closer look and determine why your custom changes are not working as intended? You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0

Please sign in to leave a comment.