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!

How do i add a custom default page?

Discussion in 'General Discussion' started by spyro2005, Jul 5, 2005.

  1. spyro2005

    spyro2005 Member

    Joined:
    May 17, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    151
    How do i add a custom default page? like for example "main.php"

    thanx in advance
     
  2. kekays

    kekays Active Member

    Joined:
    Nov 2, 2004
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Kochin
    cPanel Access Level:
    DataCenter Provider
    vi /usr/local/apache/conf/httpd.conf
    DirectoryIndex main.php
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. brentp

    brentp Well-Known Member

    Joined:
    Mar 11, 2004
    Messages:
    324
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Ayr, North Queensland, Australia
    You could try in a .htaccess.

    Regards,
    Brent
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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