Search results

  1. N

    Litespeed randomly switches to apache and server doesn't work.

    can you upgrade to latest 4.0.12, and see if the issue still exists.
  2. N

    Litespeed randomly switches to apache and server doesn't work.

    which version of lsws? what is the last time you install/upgrade it?
  3. N

    503 Service Unavailable :after installation

    probably PHP not setup correctly. to verify this, on admin console, in External App "LSAPI App" settings, set "Auto Start"="No", restart lsws. another clue:run path/to/lsws/fcgi-bin/lsphp5 -i to know the location of php.ini then check if php.ini is there.
  4. N

    Install issue

    chmod +x test.sh then ./test.sh
  5. N

    Install issue

    I traced that error, it can be simplified as following script: ~>cat test.sh #! /bin/sh exec 5>config.log cat >&5 <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by $as_me, which was...
  6. N

    Rewrite vhost.conf

    have reproduced the "issue" on our lab, and finally get it to work ... there is a typo in remove the space after "www", the rewrite rule works! :)
  7. N

    Install issue

    looks strange error .... which linux/unix platform are you on?
  8. N

    Proxy shield?

    1) yes 2) if unwanted traffic can be recognized by firewall, they can be blocked by the firewall first, before reaching litespeed. Litespeed can further filter traffic which has passed through firewall, and log the problem IPs in error.log. next, fail2ban can capture the problem IPs in...
  9. N

    Proxy shield?

    yes, set up LiteSpeed Web Server as a reverse proxy server: http://www.litespeedtech.com/how-tos.html#qa_sproxy
  10. N

    ERROR: missing environment variable 'SCRIPT_FILENAME'!

    can you compare your perl External App settings with our demo page: http://www.litespeedtech.com/litespeed-live-demos.html go to the demo admin console, Virtual Hosts -> demo -> External App ->lsperld any difference with yours?
  11. N

    Dumb question but... what's the advantage of defining listeners?

    I think listener is a native configuration option, it may have higher priority and better performance than those defined in httpd.conf. --- so you can just define 1 listener for the busy one, and see if any difference. If you have multiple CPU licenses, you can bind multiple CPUs to 1 listener...
  12. N

    PHP Error: Fatal error: Call to undefined function mysql_connect()

    recompile php with --with-mysql option. http://www.php.net/manual/en/mysql.installation.php
  13. N

    Ok, so how put django to work? I try early info.

    there is new wiki page a few days ago regarding Django setting: Django web framework with ajp-wsgi
  14. N

    Configure /servlets/ in LSWS to Tomcat

    I'd explain more about the demo settings. 1.under "Virtual Hosts » demo", define a "Servlet Engine" External App "TomcatAJP", address is 127.0.0.1:8009 2.under "Virtual Hosts » demo", define a "Java Web App" context: URL: /jsp-examples/ (in your case may be /servlets/) Servlet...
  15. N

    Configure /servlets/ in LSWS to Tomcat

    please refer our demo page: http://www.litespeedtech.com/litespeed-live-demos.html login the web admin console, check the settings relating to "Apache Tomcat JSP-Examples" see if it helps.
  16. N

    illegal location - compile php

    try to install to other folders, /opt/lsws or /usr/local/lsws etc. not under /etc
  17. N

    Rack 1.0.1 don't works god with litespeed

    how about try rack 1.0.0 instead of 1.0.1?
  18. N

    Admin login problems

    manually run lsws/admin/misc/create_admin_keypair.sh may resolve the issue.
  19. N

    litespeed stuck

    I used to use APC, and never experienced "lsws stuck" when cleaning APC cache. Maybe you can try the built-in clean-up function in the opcode cache you're using if it exists, instead of shell command rm.
  20. N

    litespeed stuck

    /tmp/lshttpd is used by lshttpd, can't be deleted when lsws is running.
Top