Search results

  1. A

    how to tell when restart is finished

    Hello, I am driving LSWS from some custom automation and after modifying the configuration we use the lswsctl restart to reload the config. The issue I am having is that if the restart doesn't complete (ie the old lsws is still hanging around finalising requests) and I issue another...
  2. A

    possible lightspeed sapi bug

    When stracing PHP - I noticed: unlink("2;/phpsessions/session_mm_litespeed0.sem") = -1 ENOENT (No such file or directory) open("2;/phpsessions/session_mm_litespeed0.sem", O_RDWR|O_CREAT|O_EXCL, 0600) = -1 ENOENT (No such file or directory) unlink("2;/phpsessions/session_mm_litespeed0.sem")...
  3. A

    swapping space

    Is it possible to disable this? We run this in an nfsroot environment - or should I use tmpfs?
  4. A

    No request delivery notification has been received from LSAPI process group

    Hello, From time to time I get: No request delivery notification has been received from LSAPI process group [-1], possible run away process. Followed by: Retry with new process group. What does it mean? I have tried the LSAPI_ACCEPT_NOTIFY=1 and =0 settings with no changes...
  5. A

    LSAPI Packet header is invalid

    Hello, What does this mean? LSAPI Packet header is invalid,(','@','','','�','�','�','�')
  6. A

    [solved] htaccess and php

    One of my users MIME type [application/x-httpd-fastphp5] for suffix '.html' does not allow serving as static file, access denied! In their htaccess file they have the following: AddType application/x-httpd-fastphp5 .php .htm .html Can I make this work in htaccess?
  7. A

    [Solved] Failed to initialize VMemBuf

    Hello, How do I fix this and what does it mean?
  8. A

    [solved] lsapi missing DOCUMENT_ROOT variable

    Hello, Some websites are expecting $_SERVER[DOCUMENT_ROOT] to be available, and when testing under LSAPI it appears LSWS does not pass this variable to LSAPI hence DOCUMENT_ROOT is not available. How can I make this available?
  9. A

    LSAPI api help

    Hello, I am trying to retrieve an arbitrary HTTP header using the lsapilib.c library provided with the php sapi module. I've tried using GetHeaderVar but it is not in there. How can I do this?
  10. A

    litespeed, fastcgi apache incompatibility

    Hi Guys, I've found the reason for the rewrite issues with litespeed and PHP running under fastcgi. The issue is that fastcgi sends different variables over the fastcgi connection then apache - which results in PHP not interpreting PATH_INFO correctly. If you compare the output from the...
  11. A

    rewrite issue

    url: http://test.com/category/library results in PHP 'no input file specified error' url: http://test.com/index.php/category/library works .htaccess rewrite rules: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_URI} ^system.* RewriteRule ^(.*)$ /index.php?/$1 [L]...
  12. A

    mod_vhost_alias

    Hello, I'm migrating a large number of virtualhosts from a webserver that has functionality similar to mod_vhost_alias I can't find similar functionality in lws, is there a way to enable this? Or do I need to enable the apache style configuration for this case?
  13. A

    FASTCGI to LSAPI migration

    Hello, I have a custom C fastcgi application that I am trying to migrate to LSAPI. I use the function fcgi_putenv quite a bit, however I cannot find a corresponding LSAPI function. How can I do this with LSAPI?
Top