Search results

  1. M

    Bug with File Uploads in 2.1.7

    If you are using LSAPI PHP, please download the latest litespeed php patch from http://www.litespeedtech.com/lsapi/ and rebuild your lsphp binary.
  2. M

    $_POST problem with phpLsapi

    Thank you for the testing tool and script. The bug is fixed, please download http://www.litespeedtech.com/lsapi/litespeed-1.7.tgz and rebuild your own lsphp binary.
  3. M

    PHP Set UID Mode

    Thanks! It is possible to run PHP in suexec CGI mode, there is no dedicated configuration for this but it can be done with some simple rewrite rules to simulate Apache's "Hanlder" directive. I will post the rewrite rule later. Anyway, running PHP as CGI does not give the best performance...
  4. M

    $_POST problem with phpLsapi

    Can you please create a testing script for us to reproduce the bug in our lab. Thanks! :-)
  5. M

    only 1 out of 3 servers displaying the webpage

    Does the working server access files on nfs or on its local disk? For the not-working servers, you can turn on debug logging see if you can find any clue in the error.log.
  6. M

    ``advanced'' suexec?

    Please take a look at http://www.litespeedtech.com/docs/VirtualHosts_Help.html#vhCGISetUidMode Using "Doc Root UID" is the best choice for mass hosting environment I think. This configuration is acctually effective for CGI, FCGI as well as LSAPI application. Running PHP as CGI is not...
  7. M

    ``advanced'' suexec?

    Thank you for your inquiry. It is hard to do what you described in fcgi, as the fcgi process is persistent, and it cannot switch to a different user id when a script belong to another user dispatched to this fcgi process. That's why you need to configure a dedicate fcgi PHP handler for each...
  8. M

    Multiviews support

    There is a typo in the rule I posted, %(DOCUMENT_ROOT} should be %{DOCUMENT_ROOT} , otherwise, that rule will be ignored. :-)
  9. M

    HTTP Auth causes PHP errors

    Clear browser cache should fix it. :-)
  10. M

    security: possible to hide that the server is litespeed?

    We only allow hiding the version number now.
  11. M

    Random 404s

    Matt, Thank you for your assistance, finally, I figured out this nasty bug, a wrong variable has been used while building our htaccess cache. :oops: Please download 2.1.9 package again. I am pretty confident that the bug has been fixed. :-) I guess I can sleep well tonight. ;-)...
  12. M

    Random 404s

    Noticed that you already changed the URL format. Can you please send me the full error.log of 2.1.9 for analysis, if you have one. Thanks!
  13. M

    Random 404s

    Matt, I forgot to tell that you can turn off rewrite logging if you don't need them, so the log file will not grow very fast. The log messages that I am interested in is the log messages with tag "HTAccess". You can email me a chunk of the error log when there is no 404, then 404 errors...
  14. M

    Random 404s

    Just change "ent" to "std" to download the new release. If you are using the standard edition, then I think it is more likely caused by per process file descriptor limit. You can try following if you can not reboot the server after then system wide configuration change, as root # ulimit...
  15. M

    Random 404s

    Hi Matt, Please download and install http://www.litespeedtech.com/packages/2.1/lsws-2.1.9-ent-i386-linux.tar.gz, I had added some log messages to help identify the source of the problem. I think the problem is that, for some reason, lshttpd failed to open the .htaccess file, either run out of...
  16. M

    Random 404s

    Another quick question, is there a .htacess file under "support/" folder? If yes, what is the content and does it change frequently?
  17. M

    Random 404s

    Is that possible that there is some process keep recreating the .htaccess, even thoug the content of .htaccess does not change? Maybe not that specific file, but other .htaccess file along the path. As lshttpd cache the .htaccess for 10 seconds, then check for changes, reload it if the...
  18. M

    Install error with chroot

    Thank you for the bug report. :-) You can safely ignore that error message, as lshttpd has been checked as well. We will change the installation script to check the existance of 'php' .
  19. M

    Random 404s

    Yes, please. I will try to reproduce it in our lab tomorrow, is there any special context defined for that vhost? It will be great if you can send us the xml configuration for that vhost, and the .htaccess . I also wonder if it has anything to do with the traffic volume?
  20. M

    Random 404s

    Have you tried ealier release or just 2.1.8?
Top