Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Mar 2004
    Posts
    815

    Default Running PDFs from cPanel, is this possible?

    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. #2
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,514

    Default

    The mime type will be added in 33774+
    -Nick
    cPanel Inc.

    Need support? Submit a request here. These forums are not an official support channel.

  3. #3
    Member
    Join Date
    Mar 2004
    Posts
    815

    Default

    Quote Originally Posted by cpanelnick View Post
    The mime type will be added in 33774+
    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. #4
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,514

    Default

    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.
    -Nick
    cPanel Inc.

    Need support? Submit a request here. These forums are not an official support channel.

  5. #5
    Member
    Join Date
    Mar 2004
    Posts
    815

    Default

    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. #6
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,514

    Default

    Quote Originally Posted by jols View Post
    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?
    We should have an estimate on the EDGE build by midnight.
    -Nick
    cPanel Inc.

    Need support? Submit a request here. These forums are not an official support channel.

  7. #7
    Member
    Join Date
    Mar 2004
    Posts
    815

    Default

    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.

Similar Threads & Tags
Similar threads

  1. Images, and PDFs etc uploaded via cPanel are not showing...
    By Welshy in forum New User Questions
    Replies: 1
    Last Post: 04-22-2011, 09:39 AM
  2. How to get AWSTATS to produce PDFs
    By mtindor in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-30-2009, 04:43 PM
  3. Sever load goes way up when FrontPage publishing PDFs.
    By jols in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-21-2006, 08:05 PM
  4. PHP, PDFs, and pdflib
    By MZmuda in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-19-2006, 05:10 PM
  5. Running cpanel
    By Aven in forum New User Questions
    Replies: 2
    Last Post: 12-02-2005, 07:57 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube