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!

Default directory for IP

Discussion in 'General Discussion' started by ryanjones, May 12, 2011.

  1. ryanjones

    ryanjones Registered

    May 12, 2011
    Likes Received:
    Trophy Points:
    Hi there,

    Just a quick question, it's never been something that I've come up against before, and I wondered if anyone else had any ideas?

    I'm running cPanel on a VPS, with one IP address for all the sites on the VPS. I'm using an external piece of hardware (a printer) that communicates with a web server and views (and subsequently prints) anything on a PHP page. HOWEVER, the printer can only view pages that are in a directory such as: or

    It cannot view:

    Don't ask me why, but the printer was custom built in China, so it likely has some flaws, but no matter.

    What I wondered was, how would I go about placing a PHP file in the default directory?

    It seems pretty obvious, but I really can't figure out where that would be. It's not just in the 'home' directory above the user accounts as I had suspected. I'm imagining something this simple will require a lot of configuration... but if anyone can help, I'm all ears!?

  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Oct 2, 2010
    Likes Received:
    Trophy Points:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Can you view the page that it cannot print, or you also get errors on the page in question?

    Also, I'm not entirely certain why online pages that are PHP are being printed by this device. Most time, online pages are meant to be viewed in a browser and only printed when requested by the user's system rather than systematically printed by some device.
    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