Search results

  1. A

    4.1.12 stops replying to requests

    I made the mistake of trying to upgrade to 4.1.x from the awesome, perfect 4.0.20 release, and after a while the server stopped responding to request, at 0% CPU usage. strace -tt -T -p 31579: 10:51:58.847925 epoll_wait(6, {}, 10, 100) = 0 <0.096000> 10:51:58.943970...
  2. A

    can not reset SSL Private Key & Certificate for Virtual Host

    *value must be set
  3. A

    SNI: multiple certs for same vhost?

    Hi, is it possible to use different certificates for the domains of one VHost? The certificates seem to be tied to the VHost, not to the domain-vhost mapping (which would make more sense, IMO). Thanks Andreas
  4. A

    [Solved] 4.1: SNI does not work

    I have created a listener with a certificate for a.com, and assigned it a virtual host with a certificate for b.com. However, when I visit the virtual host b.com I still get the message that the certificate is for a.com.
  5. A

    [Solved] 4.1rc5 keeps crashing

    At [10/Apr/2011:12:30:02 +0200], web server with pid=23728 received unexpected signal=6, a core file is created. A new instance of web server will be started automatically! Please forward the following debug information to bug@litespeedtech.com. Environment: Server: LiteSpeed/4.1RC5...
  6. A

    Problem with latest RailsRunner.rb and old Rails version

    Since updating to LSWS 4.0.13 I get the following error from an old Rails app: /opt/lsws/fcgi-bin/RailsRunner.rb:11: uninitialized constant Rails::VERSION (NameError) I worked around the problem by adding "rescue '2.0.0'" after the offending line.
  7. A

    Proxying lsws 4.0.3 -> lsws 4.0.5: wrong gzip header

    I am proxying lsws A (4.0.3) to another lsws B (4.0.5). gzip is enabled on B and A. A returns responses without gzip encoding, but with a content-encoding: gzip header.
  8. A

    Error 503 on Opensolaris

    Hi, I have built PHP 5.2.9 on LSWS 4.0.5. But it doesn't work with the config from the DEFAULT host, I get 503s. Debug log: 2009-06-27 22:57:37.922 [DEBUG] [x.x.x.x:61413-1#Example] Find context with URI: [/], location: [/opt/lsws/DEFAULT/html/] 2009-06-27 22:57:37.922 [DEBUG]...
  9. A

    PHP compiles fine, but stalls at "Installing PHP"

    Hi, I am trying to compile PHP 5.2.9 on LSWS 4.0.4 on Opensolaris. The compilation works fine, but then it stalls at the "Installing PHP" stage. I can't find any error messages in the stderr.log or phpbuild/*.log. Any ideas? Andreas
  10. A

    4.0.2: 403 error for all static files

    Since the upgrade to 4.0.2, all static file request cause 403 errors. Switching back to 4.0 solves the problem.
  11. A

    Restart fails

    LSWS occasionally fails to restart: * executing task restart * executing "sudo /opt/lsws/bin/lswsctrl restart" servers: ["server.andreas-s.net"] [server.andreas-s.net] executing command ** [out :: server.andreas-s.net] [OK] Send SIGUSR1 to 25544 ** [out ...
  12. A

    LSWS stops rotating logs for no apparent reason

    Sometimes (happened twice in the last months) lsws stops rotating log files for no apparent reason. Example: -rw-r--r-- 1 www-data www-data 1.2G 2009-01-20 18:20 access.log -rw-r--r-- 1 www-data www-data 11M 2009-01-12 19:42 access.log.2009_01_12.14 -rw-r--r-- 1 www-data www-data 11M...
  13. A

    Problem with Safari + PHP build tool

    lsws 3.3 The configure line in the phpbuild.*.sh script contains a carriage return (\r) if the options are long enough to be wrapped by the browser: ./configure '--prefix=/opt/lsws/lsphp4' '--with-litespeed' --with-mysql --with-zlib --with-gd --enable-shmop --enable-track-vars --enable-sockets...
  14. A

    Piped logger AND normal logfile at the same time?

    Hi, is it possible to have the access log sent both to a piped logger and the normal log mechanism at the same time? Andreas
  15. A

    Rails + gzip: random content-length header

    Hi, I'm running Rails on LSWS with dynamic response gzip compression. I noticed that Safari would try to render even short pages before they were fully loaded, and blamed it on the missing content-length header. In order to get a content-length header I enabled response buffering. Unfortunately...
  16. A

    X-LiteSpeed-Location strange behaviour with Rails

    Hi, I'm using X-LiteSpeed-Location to serve static files from a Rails app and noticed some strange behaviour: This works: render_text '' headers['X-LiteSpeed-Location'] = "/myfile}" This returns the correct file, but with status 404: render_text ''...
  17. A

    Non-ASCII characters break configuration

    Hi, when I enter non-ASCII characters in the Rewrite form I get the following error message after restarting the server: xyz/lsws.xml:503] not well-formed (invalid token) Regards Andreas
  18. A

    Dynamic request rate throttling does not work

    lsws 3.2.3 I have set Dynamic Requests/second to 3, but the setting doesn't seem to have any effect: ab -n 30 http://www.example.com/myrailsapp Requests per second: 8.92 [#/sec] (mean) ab -n 200 http://www.example.com/test.php Requests per second: 22.34 [#/sec] (mean) (test made from an...
  19. A

    Filtered request gets 404 status instead of 403

    Hi, I have set up a simple global request filter based on a user agent. For static files this works correctly: $ lynx -mime-header -useragent="Microsoft URL Control" http://www.ruby-forum.com/robots.txt | grep HTTP/1. Warning: User-Agent string does not contain "Lynx" or "L_y_n_x"...
  20. A

    "pause:1000" doesn't work as request filter action

    Hi, the "pause" action (described in mod_security doc) doesn't seem to have any effect in lsws 3.2. Is there any other way to slow down accesses by some selected user agents (grabbers)? Andreas
Top