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!

AcceptPathInfo

Discussion in 'General Discussion' started by alexandz, Nov 25, 2011.

  1. alexandz

    alexandz Well-Known Member

    Joined:
    Oct 28, 2011
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    66
    Location:
    Chile
    cPanel Access Level:
    Root Administrator
    Where I can turn AcceptPathInfo?
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    If you are going to turn it on or off globally, you can do that in /usr/local/apache/conf/includes/pre_main_global.conf file.

    If you set it in that file, you'd then want to restart Apache:

    Code:
    /etc/init.d/httpd restart
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. alexandz

    alexandz Well-Known Member

    Joined:
    Oct 28, 2011
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    66
    Location:
    Chile
    cPanel Access Level:
    Root Administrator
    Adding AcceptPathInfo in cPanel?
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    You cannot do it in cPanel as far as I'm aware. If there were another way to do it that I knew besides command line to edit the file, I would have gladly suggested that option.

    If this is a feature request to have that in WHM > Apache Configuration > Global Configuration area, I would be happy to move this thread to the correct location for feature requests. Please clarify exactly what you are wanting done.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. alexandz

    alexandz Well-Known Member

    Joined:
    Oct 28, 2011
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    66
    Location:
    Chile
    cPanel Access Level:
    Root Administrator
    It happens that I have a website which delivers a report excel and pdf file to this the packages were installed to generate the files, including but not funiona htmldoc I can not see any reports.
     
  6. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Do you have actual root SSH access to edit the file I mentioned initially in my first reply to either turn on or off AcceptPathInfo? Provided that is indeed what is causing the issue you are having anyway.

    If you do not, then I suggest contacting your hosting provider who can access the backend of the machine to edit files in command line.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. alexandz

    alexandz Well-Known Member

    Joined:
    Oct 28, 2011
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    66
    Location:
    Chile
    cPanel Access Level:
    Root Administrator
    errors after installing htmldoc

    Install htmldoc since I have a website that requires a pdf file and other excel but I can not get these files.

    Reviewing the logs got the following:
    [Tue November 29 18:29:19 2011] [error] [client 190.121.92.154] HTMLDOC (29113) INFO: HTMLDOC 1.8.27 starting in CGI mode., Referer: http://xxxxx.cl/index.php? id = 360 & no_cache = 1 & view = 1 & uidsolicitud = 19321 & uidver = 12
    [Tue November 29 18:29:19 2011] [error] [client 190.121.92.154] HTMLDOC (29113) INFO: TMPDIR is "(null)", referer: http://xxxxx.cl/index.php?id = 360 & no_cache = 1 & view = 1 & uidsolicitud = 19321 & uidver = 12
    [Tue November 29 18:29:19 2011] [error] [client 190.121.92.154] HTMLDOC (29113) ERR005: PATH_INFO is not set in the environment!, Referer: http://xxxxx.cl/index.php?id = 360 & no_cache = 1 & view = 1 & uidsolicitud = 19321 & uidver = 12
    [Tue November 29 18:29:19 2011] [error] [client 190.121.92.154] Can not open display:, referer: http://xxxxx.cl/index.php?id=360&no_cache=1&ver=1&uidsolicitud=19321&uidver = 12

    If someone could help me, please.
     
  8. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    I've merged this post into the thread already started about the issue. I suggest asking these questions and researching them at htmldoc forum location. I found this discussion there:

    Htmldoc PATH_INFO Issue

    Their forum will know how to troubleshoot their errors.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. alexandz

    alexandz Well-Known Member

    Joined:
    Oct 28, 2011
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    66
    Location:
    Chile
    cPanel Access Level:
    Root Administrator
    ok, thank you
     

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