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.

Running PDFs from cPanel, is this possible?

Discussion in 'General Discussion' started by jols, Jan 30, 2009.

  1. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    We are in the process of figuring out how to set up a new cPanel plugin that will basically put a new icon in cPanel, which links to a series of instructional PDFs. However, when clicking on a PDF link from within cPanel we just get scrambled code, i.e. cPanel does not recognize the PDF file type.

    Question - How can we add the PDF file type to the cPanel system, NOT so that PDFs will load from regular web sites, that's no problem, but actually from within cPanel itself? I hope this is possible, we've put a lot of planning into this, and are currently stuck on the cPanel/filetype issue.

    Thanks very much.
     
  2. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    The mime type will be added in 33774+
     
  3. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    We're currently useing:
    cPanel 11.24.4-R33609 - WHM 11.24.2 - X 3.9


    Thanks Nick, but we are currently in a jam with this, trying to roll out a very expensive promotion (that is approximately two weeks late already), and we are very much depending on PDFs running from cPanel now. Is there no way we can do this now, on our own? Should I make out a trouble ticket with cPanel.net?
     
  4. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    There isn't any way to change this as the secure file list is hard coded.

    There will probably be an EDGE and BETA build (and maybe CURRENT) published with this change in the next 24-72 hours.
     
  5. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    Rats! And by the way, we also tried .htacces, to insert the PDF filetype there, and this was a no-go.

    So when (approximately) will 33774+ be out?
     
  6. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    We should have an estimate on the EDGE build by midnight.
     
  7. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    Thanks.

    I think we are going to bridge the gap by coming up with some kind of auto-login system, i.e. so PDFs can be easily downloaded via link/button that connects to a PDF on a regular Apache but htaccess protected directory. But this of course is for another thread.

    Thanks for your responses.
     
Loading...

Share This Page