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.

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:
    1
    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:
    16
    i think you have to make a batch script to do automatic copy an index.html file to each /home/<user>/public_html/ directory
     
  3. Dodi300

    Dodi300 Member

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

Share This Page