Search results

  1. M

    Does lsws has multiviews function?

    You can try some thing like: RewriteCond <your_doc_root_path>/$1.php -f RewriteRule ^/(.*)$ /$1.php
  2. M

    Does lsws has multiviews function?

    No, LSWS does not have explicit multiview support, but you can use simple rewrite rules to implement some simple multiview functions.
  3. M

    .htaccess in 2.1RC3

    Thank you for the bug report. We found the bug and fixed it. Please download RC3 package again. :-)
  4. M

    new install, virtual host directory not allowed?

    Please check lsws/logs/error.log, the missing file should be logged. Make sure the directory index file has been configured properly.
  5. M

    new install, virtual host directory not allowed?

    You need to test permissions with the command I recommended, if it does not report permission denied, then it is fine, at least for serving files. To the minimum, user "nobody" needs read permission to the target directory. So, usually permissions for /home/user1 can be set to "0755", which...
  6. M

    AWstats are not secured by password

    Please download RC3 package again, Should be fixed. :-)
  7. M

    new install, virtual host directory not allowed?

    It might be a bug in the web admin interface. You can modify the configuration file directly, restart lsws, see if it works. Have you tried to access files under the document root, with command like sudo -u nobody ls /home/testing/html If you don't mind, PM me the login to admin interface...
  8. M

    new install, virtual host directory not allowed?

    There should be no problem to host files outside the LSWS' root directory. I thought it is a permission problem, but you said that you had tried changing ownership and permissions on the vhost root directory. I wonder if you are using the chroot feature? If yes, you have to place the root...
  9. M

    strange error.. & 503 service Unavailable

    Please download 2.1RC3 package again, there are small bug fixes, and one new feature for debuging. Debug logging can be dynamically turned on and off through web admin interface. So, when 503 error happened, please remove current error.log, turn on debug logging for a little while before...
  10. M

    strange error.. & 503 service Unavailable

    You can try current value + 10M. CGI Daemon Socket can be set at will, default is set to $SERVER_ROOT/admin/conf/cgid.sock. Will make it optional.
  11. M

    strange error.. & 503 service Unavailable

    Maybe the memory limit for PHP process is too low, you can increase the limit under "Server"->"Security"->"CGI Resource Control". It controls the memory limit for FCGI and LSAPI app as well. Usually PHP store session data on disk, restart lshttpd will not affect PHP sessions.
  12. M

    strange error.. & 503 service Unavailable

    Another not so good temp solution, restart lsws automatically from a corn job once for a while. This way no service interruption at all. Have you tried LSAPI again? We certainly need more information about your server, maybe the login to the admin interface, if you don't mind. :-)
  13. M

    Bug in install script

    Yes, our Enterprise edition can take advantage of SMP server by lshttpd itself. Enterprise edition actually is licensed by number of worker processes, not by number of cpu sockets. So LSWS with any number of CPU license can be used on your server, unused CPU will be available to PHP and DB...
  14. M

    Bug in install script

    Thank you for the bug report and the fix. We will update RC3 package. George Wang
  15. M

    strange error.. & 503 service Unavailable

    What is the output of real time statistic report when that happened? That's strange, there is no major changes in FastCGI support between 2.1RC2 and 2.1RC3. Is there any change in PHP and MySQL setup? like moving MySQL to a standalone server? Please keep an eye on the memory usage of...
  16. M

    FastCGI > LSAPI ?

    Thank you for your feedback. We are surprised by the result as well, can you please send us your LSAPI PHP and FCGI PHP configuration, output of phpinfo(). LSAPI's advantage over FCGI, is the communication cost between LSWS and PHP process, the pure execution speed of PHP script should be...
  17. M

    https connection errors/chained certificates issue

    Find the problem. :-) The chained certificates has been loaded as a non-chained certificate, only the first certificate in the file has been loaded, so it will not be trusted by browsers. With the updated RC3 release, chained certificates should have the same effect as server certificate +...
  18. M

    https connection errors/chained certificates issue

    Looks like the IE waits for the CA certificate, but the server did not send one, please double check that the chained certificate is being used, and chained certificate is set to "Yes". If it is, then switch to the standalone server certificate and configure the CA Certifcate File just like...
  19. M

    strange error.. & 503 service Unavailable

    You are welcome. :-) You should change LSAPI configuration to something like below, if you want to try it. :-) Name LSAPI Address uds://tmp/lshttpd/lsphp.sock Max Connections 50 Retry Timeout (secs) 0 or anything <10 Back Log 100 Instances 50 Priority 0 You need to...
  20. M

    strange error.. & 503 service Unavailable

    Sorry about that. Looks like the high load is caused by memory leak and the server swap a lot. We had a beta user using LSAPI + PHP 5.0.4 + eAccelerator on his high volume web site, and there is no problem at all. What is your lsapi PHP and fcgi PHP configurations? usually, the "Max...
Top