Search results

  1. M

    mod_rewrite

    Please download 2.1.15 package again, htaccess support has not been turned on for vhost configured through httpd.conf. The bug has been fixed.
  2. M

    mod_rewrite

    Is the rewrite rule in httpd.conf or .htaccess, if it is .htaccess, you need to turn on "allow override" at server level. If you don't mind, you can send your httpd.conf to bug (at) litespeedtech.com , we will give it a try.
  3. M

    mod_rewrite

    Looking for "Allow Override" option and "Rewrite" tab under vhost configuration.
  4. M

    trying to get lsapi into the gentoo-ebuilds

    I had contact php developer list, got reply from Rasmus as following If more users request this on php list, it will be included into the php core sooner. :)
  5. M

    Autostart error -OSX 10.4 (Intel)

    Please use the attached script to replace lsws/admin/misc/rc-inst.sh and run it again. Oops, Problem with attaching file, trying to fix it now. All right, gave up, insert the following code in to rc-inst.sh, below 'INIT_DIR="" ' line if [ "x`uname -s`" = "xDarwin" ]; then...
  6. M

    Disable Virtual Host

    One simple solution is just take out the listener to vhost mapping for that vhost and add it back later when you want to enable it.
  7. M

    Control panel support

    It depends what Apache directives being used by those control panel. Current LSWS support the most commonly used Apache directives, and the supported directives will grow as time goes by. Based on my knowledge of Rails configuration in Apache, it may not be supported completely, directives...
  8. M

    spawning multiple php-instances listening on tcp/ip ?

    Yeah, it depends on how it was used. Pretty handy for FastCGI that can spawn children process, but is not good for on demand dynamic spawning that LSWS is capable of .
  9. M

    spawning multiple php-instances listening on tcp/ip ?

    Thanks for the information. It may not work well when you need to start multiple instances binding to the same address, may got address is already in use error. :)
  10. M

    limiting users' and virtualhosts' bandwidth usage

    Configuration for CPanel compatible bandwidth log will be available in 2.1.15
  11. M

    Keepalive Settings and SSL and IE - Puzzling

    What you observed probably does not related to keepalive, just for some reason the upload stalled and the connection timed out. It is "connection timeout", not the "keepalive timeout". You can send chunk of your error log to bug [at] litespeed . com . Anyway, we have to be able to reliably...
  12. M

    Keepalive Settings and SSL and IE - Puzzling

    Thank you for the bug report. To turn off keepalive, you should set "Max keepalive requests" to 0 or 1, either at server level or at vhost level. changing keepalive timeout will not work. The setenvif trick in apache does not work with LSWS. And,we don't find any real problem with using...
  13. M

    spawning multiple php-instances listening on tcp/ip ?

    Only other standalone fcgi-spawner I know of is the "cgi-fcgi" from FCGI SDK. ;-) May not be anything better than fcgi-spawner. Maybe I can add an option to let LSWS start FCGI at server startup. :-)
  14. M

    spawning multiple php-instances listening on tcp/ip ?

    You can let fcgi application started by LSWS using tcp instead of unix socket. but LSWS only start them on demand, so it may not be a good choice for pure fcgi spawner. :-) Actually, php-fcgi itself has an option "-b" to bind to an address. It hasnot be implemented in earlier release, but...
  15. M

    Ruby Setup - LSAPI

    Yes, the extra code for LSAPI is pretty simple. You need to define a LSAPI application for each LSAPI ruby script, then mount the application via a context or script handler.
  16. M

    Ruby Setup - LSAPI

    testcgi.rb itself is using LSAPI interface, it is for testing the ruby "cgi" extension under LSAPI. Itself is a LSAPI application, It will not work under the lsruby_runner.
  17. M

    Ruby Setup - LSAPI

    I am not exactly sure what is the problem, maybe support for your ruby script is poor. You can try the following hello.rb, if it works, please send us your testing script, we will figure out the problem. #!/usr/local/bin/ruby print "HTTP/1.0 200 OK\r\nContent-type: text/html\r\n\r\nHello...
  18. M

    installing zend

    Please check lsws/logs/stderr.log and zend optimizer related directives in lsws/conf/php.ini.
  19. M

    can i install 2 litespeed on different port ?

    You can only install one instance of LSWS on one server. However, you can have LSWS listen on multiple ports.
  20. M

    Setup for Rails via Litespeed Ruby LSAPI

    Sorry for lacking a step by step tutorial, we will add one later. I think the step you missing is to configure a mount point of the LSAPI dispatcher. You can do that by either To add a LSAPI context with URI: /dispatch.lsapi, using the LSAPI as handler. Or To add a script handler...
Top