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!

Suspend page - alter file extention

Discussion in 'General Discussion' started by kimsteinhaug, May 5, 2004.

  1. kimsteinhaug

    kimsteinhaug Registered

    Mar 11, 2004
    Likes Received:
    Trophy Points:
    Im searching the server for this file but I cant seem to find it. I know I can edit the file from WebhostManager, but the file is a HTML file which doesnt give me much room for alterations.

    I would like to alter the to be a php file instead of a html file, I could also live with a .shtml file. I want to include som scripting so that if the suspend page is accessed directly from the main server host ( I can forward directly to the main website, and so that I can include som personalized information on each suspend page so that they are not all alike.


    1. Is it possible to alter this page from HTML to PHP
    2. Where on the server do I find this page? If it isnt possible to do this (alter HTML to something else), I will have to include some javascripting and do it from here.

    Thanks in advance
    Kim Steinhaug
  2. sumith

    sumith Well-Known Member

    May 9, 2005
    Likes Received:
    Trophy Points:
    suspend page


    Yes, it is possible to do it. Go under /usr/local/apache/htdocs/ and put the php file there. Also, just create a .htaccess file under the folder so that the php file will call first. It should be like this:

    DirectoryIndex filename.php

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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