Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Auto index page

Discussion in 'General Discussion' started by Dodi300, Jul 8, 2009.

  1. Dodi300

    Dodi300 Member

    Joined:
    Jul 1, 2009
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    51
    Hello. Is there a way to have an auto index page when one doesnt exist in the users /public_html directory.

    For example if the user when to domain.com, however there wasnt a index page, it would automatically show another page.

    I've tried using the cpanel3-skel directory, but that only works for new accounts made.

    Any idea how to do this?
    Thanks! :)
     
  2. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    166
    i think you have to make a batch script to do automatic copy an index.html file to each /home/<user>/public_html/ directory
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Dodi300

    Dodi300 Member

    Joined:
    Jul 1, 2009
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    51
    Can you tell me how to do that? :)
    Thanks.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice