Search results

  1. M

    CGI and Admin login fails

    It is a permission problem, the user that the web server process runs as does not have permission to access some files. It may happens when you install lsws under one user's home directory, which is not world readable, but the server is run on behalf of another user (usually is nobody). You...
  2. M

    public httpd daemon stops responding/process controls broken

    If your server is not that busy, can you please turn on debug logging by setting "debug level" to high, once the problem start to occur, remove lsws/logs/error.log, (new one will be created automatically), let it run for a while, then send us the error log. Be careful, the debug log will fill up...
  3. M

    public httpd daemon stops responding/process controls broken

    Thank you for your feedback. Are you using /dev/poll as the event dispatcher? please use poll for now. Is the compression for static content or dynamic content? Currently our sparc/solaris environment is not available, we will check those issues wn our environment is ready.
  4. M

    Access denied directories don't exist?

    It is a bug, you can safely ignore those error messages. if you need to change it, just modify the config file lsws/conf/httpd_config.xml.
  5. M

    default autoindex script

    Your patch does not fix the problem completely, The correct fix should be replacing all "PHP_SELF" with "REQUEST_URI". "PHP_SELF" was the same value as "REQUEST_URI" before 2.0.4 release.
  6. M

    default autoindex script

    Thank you for the patch, will apply it. We can add server level configuration. Actaully, you can just modify the default script, it affects all vhosts, and creat a specific one for one vhost when needed. The reason we use URI not path is for security reason, it makes sure that only scripts...
  7. M

    conditional execution of a script on mod times

    Then what you need is to use a backend job to remove outdated files, and use a rewrite rule to detect missing files and forward request to a script to generate the file on the fly. Our SSI will allow you to include output from a (F)CGI, so content could be dynamic generated from DB. Dynamic...
  8. M

    conditional execution of a script on mod times

    I understand. I think it is better to do it in more generic way. Looks like what you want is something like SSI + Cache. Those are on our to do list, SSI will be implemented soon, but cache will not be available for a while. I think what you want can be archived now with mod_rewirte + some...
  9. M

    foo.JPG is sent as application/octet-stream

    It is a bug, MIME configuration will be converted lowercase, but treat file suffix case sensitive. Will make file suffix case insensitive, thanks. Work around is to use "ForceType" along with a matching context, or use mod_rewirte to force mime type.
  10. M

    Lightspeed lagging after server move

    Are you using 64 bits FreeBSD with 32 Bits compatible layer enabled or 32 bits FreeBSD? Have you tried LiteSpeed again yet? Apache is pretty slow on your new server. ;-) Any plan to use litespeed on your image server? thttpd is not good for large image server, take a look at new customer...
  11. M

    Lightspeed lagging after server move

    I think it might be related to kqueue. Please switch to "poll" see if it help, "kqueue" has not been heavily tested in production yet. Please keep us posted. Thanks. :-) We will check the error.
  12. M

    command-line options for fastcgi-apps

    The unnecessary check has been removed, should work now.
  13. M

    2.0.1 as stable as 2.0?

    Please try updated 2.1RC1.
  14. M

    Custom PHP integration

    You should use php/sapi/cgi/php instead of php/sapi/cli/php.
  15. M

    2.0.1 as stable as 2.0?

    I think there is no easy way to allow it other than recompiling the kernel with corresponding patch removed, at least for a redhat kernel. However, the failed conditions are logged into stderr.log for assert() failures, so please search your stderr.log and let me know the related output. If...
  16. M

    Benchmark

    No plan yet. :-) sendfile() will greatly reduce CPU utilization when serving large files, for smaller files, the impact is minimum. For serving large set of static files, enterprise should be used even for a single CPU server, as disk I/O wait will slow down any single process event driven...
  17. M

    fcgi auth

    Thanks, I will write a similar test case. Please run the following command to let setuid program to dump a core # sysctl -w kern.sugid_coredump=1 Core file should be under /tmp/lshttpd
  18. M

    ForceType/PHP without .php extension

    We tried it again, it works. Please set "Location" to "$DOC_ROOT/$1/index", then restart the web server. "Reload" virtual host may not work properly. Make sure to disable override, or remove those .htaccess files.
  19. M

    ForceType/PHP without .php extension

    Is there a script handler for ".php" defined? otherwise, "application/x-httpd-php" is undefined.
  20. M

    ForceType/PHP without .php extension

    You probably need to clear your browser's cache. :-)
Top