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.

htaccess invalid code ignored

Discussion in 'General Discussion' started by vacancy, Aug 22, 2016.

  1. vacancy

    vacancy Member

    Joined:
    Sep 20, 2012
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello there

    php_value and other functions in .htaccess or similar code used in the site gives an error 500 internal server error. (invalid command error)

    We provide the apache how to ignore these codes. Keep the codes are still dysfunctional and site not error.

    For example, this feature has the LiteSpeed, .htaccess is also used such codes are being ignored.
     
    #1 vacancy, Aug 22, 2016
    Last edited: Aug 22, 2016
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you let us know the specific output to /usr/local/apache/logs/error_log when you see this error code in your browser? Also, please post the output from the following command to let us know which PHP handler is enabled:

    Code:
    /usr/local/cpanel/bin/rebuild_phpconf --current
    Thank you.
     
Loading...

Share This Page