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.

Default directory for IP

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

  1. ryanjones

    ryanjones Registered

    Joined:
    May 12, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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:

    http://255.255.255.255/foo.php or http://255.255.255.255/foo/bar/foo.php

    It cannot view:

    http://255.255.255.255/~foo/bar.php

    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 http://255.255.255.255/ 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!?

    Thanks
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    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.
     
Loading...

Share This Page