htaccess Issues

Discussion in 'General' started by DanEZPZ, Dec 17, 2013.

  1. DanEZPZ

    DanEZPZ Well-Known Member

    Has anyone else had issues with Litespeed failing to read .htaccess files randomly?

    On one server, at random intervals, we see this in the error_logs:

    [ERROR] [HTAccess] Failed to open [/home/username/public_html/forum/.htaccess]: Permission denied

    We also see things like:

    [alert] [client x.x.x.x] /home/user/public_html/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration

    However this normally works just fine and happens completely randomly.

    Litespeed themselves were not able to find the problem, however I have a feeling they didn't bother looking too far despite paying for the support.

    The issue is causing things like Wordpress SEO URLs and other mod_rewrite rules to fail and it takes clients websites offline until Litespeed is restarted.

    Any ideas on this?
     
  2. NiteWave

    NiteWave Administrator

    not sure if it's related to
    "Fixed bug: Server crash when an .htaccess file has been updated while it is still referenced by a long running request."
    in lsws 4.2.6 release log
    (http://www.litespeedtech.com/products/litespeed-web-server/release-log)

    can you search the error_logs, if such message only appear in 4.2.6 or already there long ago before ?
     

Share This Page