Search results

  1. M

    LSWS 3.3.2 won't auto download

    Just copy over the updateagent binary from a installation package earlier than 3.3 release under lsws/autoupdate/ folder. auto upate will work again.
  2. M

    How to make a file-download? Code help needed

    Use "ForceType" in .htaccess for that folder.
  3. M

    How to make a file-download? Code help needed

    Adding "Content-Type" header would not work, you need to either override the MIME with "AddType ..." in .htaccess under the directory holding those files, or create a static "Context" with MIME override in LSWS console for the directory holding the files.
  4. M

    How to make a file-download? Code help needed

    You may need to override the MIME type for jpg file to something like application/octect-stream under your downloads folder.
  5. M

    How to make a file-download? Code help needed

    try adding a "Content-disposition" header.
  6. M

    Graceful Restarts not working

    Just change your current root password is fine. Just PM me from this forum. 3.3 release uses Unix domain socket to communicate between the web server and web console instead of TCP socket, maybe some thing special on your system prevent the unix domain socket from working properly.
  7. M

    error with php compiling

    If it is a new server without PHP installed before, you can copy the default php.ini from lsws/phpbuild/php-5.2.5 directory.
  8. M

    error with php compiling

    copy php.ini from /usr/local/lib
  9. M

    error with php compiling

    You need to change the script handler configuration for "php" from lsphp4 to lsphp5.
  10. M

    security.bsd.see_other_uids

    It probably because lsphp checks if the parent process still exists, if not, it will quit. Please add Environment variable LSAPI_PPID_NO_CHECK=1 to the lsphp external application configuration. See if it helps.
  11. M

    security.bsd.see_other_uids

    Maybe it is too restrictive to run PHP suEXEC.
  12. M

    specify an alternate conf directory

    With the nfs client implementation on linux. I am not sure if freebsd will do better or not, I think most nfs client does not implement non-blocking I/O. You can give it a try. If you would like to try out 4-CPU or 8-CPU license, just let us know.
  13. M

    error with php compiling

    install curl then, do yum install curl
  14. M

    memcached timeout

    The total PHP processes are PHP_LSAPI_CHILDREN * N-CPU license. You can check the number of lsphp processes in use during your peak hour. You can reduce PHP_LSAPI_CHILDREN a little bit.
  15. M

    LiteSpeed Web Server 3.3.2 and PHP LSAPI 4.3 has been released

    LiteSpeed Web Server 3.3.2 has been released. Download LSWS: http://www.litespeedtech.com/product...rver/download/ Changelog for LiteSpeed Web Server 3.3.2: The internal process manager has been improved, 503 errors has been addressed. "Content-Disposition" response header pass-through has...
  16. M

    specify an alternate conf directory

    The location of each individual Vhost template and vhost configuration file are configurable, you don't have to put it under lsws/conf, you can put them anyway. The list is stored in lsws/conf/httpd_config.xml, cannot be moved. There are performance issue with serving files from a nfs partition...
  17. M

    Compile PHP Feature

    You need to modify the php.ini to load those extensions.
  18. M

    specify an alternate conf directory

    It is not possible with the command line parameter. You can try with a symbolic link to the "conf" directory.
  19. M

    Client Side Certificates Again

    You need to bind the listener to only one process due the SSL session cache. You need to set either 'CA Certificate Path' or 'CA Certificate File' to make the CA used to signed the client certificate available. "Client Verification" should be set to "required" "Verify Depth" to 1 or higher.
  20. M

    ignore_user_abort doesn't work?

    ignore_user_abort works well when PHP has been started in self-managed mode, that way, LSWS only start one parent process, that parent process will start children process to serve requests. When a request abort, the children process that handles the request will continue till the request has...
Top