Search results

  1. K

    [Fixed] LsAPI integration breaks __DIR__ in CLI

    @mistwang: I think you misunderstood the issue - I use PHP binary compiled for lsws. # which php7 /usr/bin/php7 # ls -l /usr/bin/php7 lrwxrwxrwx 1 root root 30 Sep 4 12:11 /usr/bin/php7 -> /usr/local/lsws/lsphp7/bin/php On another server I checked, situation looks different. I believe the...
  2. K

    [Fixed] LsAPI integration breaks __DIR__ in CLI

    Hi! I came across very weird bug. I have PHP 7 compiled using lsws webpanel. Everything seems to work correctly while PHP files are invoked via HTTP, but using lsws php binary from shell produces strange results. First of all I tested if __DIR__ implementation is consistent between all PHP...
  3. K

    Version manager is broken since 5.0

    Hello, I have few instances of lsws on various Debian servers - all shares the same problem with web version manager. Since 5.0 they're unable to download new version. After looking into logs I discovered 404 for tgz file: 2015-09-03 13:33:06.911 [NOTICE] [94.42.85.242:38211:SPDY31-75]...
  4. K

    JIRA on litespeed

    Hello! I'm trying to properly setup JIRA (https://www.atlassian.com/software/jira) under litespeed. The easiest option is to use standard "Proxy" context along with "Webserver" external app, but I'm trying to do it properly using AJP with "Java Web App" context. First I changed configuration...
  5. K

    Enable GZIP by .htaccess

    "manually gzip static files yourself", yes, but like you probably saw few times, some frameworks compile multiple .css files that they got into one file, they could also just gzip them The only question is: Is it possible to set those or similar rulesets in litespeed? I know that litespeed...
  6. K

    Enable GZIP by .htaccess

    Reopening the question, how to enable gzip using htaccess or vhost level? When we first implemented litespeed there was a lot of clients complaining that their pages break, the reason was that browsers was unable to "resume" static file, there was some errors while opening static files (like...
  7. K

    .htaccess proxy pass through

    Thank you for your reply. Unfortunately replacing [QSA,P] with suggested [P,E=Proxy-Host:example.com] didn't changed anything. I even moved rules to Rewrite tab (instead of using .htaccess) - nothings changed. p.s. I use normal lsws, not the o-s edition.
  8. K

    .htaccess proxy pass through

    This topic is old but I noticed small but noticeable difference in LSWS [P] directive implementation (which in my opinion is buggy). Litespeed WebServer treats [P] as ordinary request to web server defined in External App tab. X-Forwarded-* are begin added but "host" stays same as requested. I...
  9. K

    [Resolved] HttpConnection::sendHttpError __assert_fail () from /lib/i686/cmov/libc.so.6

    Client did upload .htaccess file with wrong formatting, he put only "\r" as a line breaking, no "\n" m_pStr = 0xba4d684 "/notfound.html\r\rRewriteEngine On\r", ' ' <repeats 22 times>, "\rRewriteBase / #online\r#RewriteBase /~profutbol/ #offline \r\r#homepage\rRewriteRule ^([index.html]+)/?$...
  10. K

    [Resolved] HttpConnection::sendHttpError __assert_fail () from /lib/i686/cmov/libc.so.6

    I'm getting from some time now litespeed server restarts every few seconds, i install gdb and got: Core was generated by `litespeed'. Program terminated with signal 6, Aborted. #0 0xf7799430 in __kernel_vsyscall () #0 0xf7799430 in __kernel_vsyscall () #1 0xf7632781 in raise () from...
  11. K

    LSAPI_MAX_PROCESS_TIME & file upload

    When i have LSAPI_MAX_PROCESS_TIME=2 [s] LSAPI_CHILDREN=5 then i think that it's enough to every good website even on heavy load, every page works great, children low protects my server from overload, and max_process_time protects viewers from "timeout" but some time ago something...
  12. K

    Not ignoring user aborts. Help.

    Server dead after php idling - ignoring user abort. I'm using litespeed on my few project, one of theme sends user lots of data with periodical time, problem: it ignores user abort (browser disconnect): Test case: test.php: <?php while(true){ echo...
  13. K

    Symlink not match?

    But its weird, i didn't change a bit and it suddenly blocked, i found that if i change Follow sym from owner match to Yes it works, but why it doesn't work with "If Owner Match" while it worked before .. hmm Is that normal that on owner match it may not work? Server: Follow Symbolic Link...
  14. K

    Symlink not match?

    lrwxrwxrwx 1 root root 12 Oct 15 14:11 htdocs -> soteshop/web <vhRoot>/var/www/virtual/xxxxx/htdocs/</vhRoot> <docRoot>/var/www/virtual/xxxxx/htdocs/</docRoot> 2009-10-15 14:24:03.239 [ERROR] [config:vhost:xxxxx] Path of document root contains symbolic link or ownership does n ot...
  15. K

    lsphp + lsws 3.3.24 = socket problem

    mistwang has root access to server, and was on server, but from then he don't say a word about anything. I'am not going to be mad or something, i know that he has lots of work, and i respect that, but he could say something, maybe i also can help. I also know that ls is a big project and a...
  16. K

    lsphp + lsws 3.3.24 = socket problem

    problem isnt disaper ... :( Now i type http://[host]:5555/ (LiteSpeed Panel) and i see: 503 Service Unavailable The server is temporarily busy, try again later! Powered By LiteSpeed Web Server There isn't any admin_php process. I keep trying to refresh, and it start php process for...
  17. K

    lsphp + lsws 3.3.24 = socket problem

    lsws panel don't want to start for a while, 5 times or something like that at the end of log it start (error with .vmstats is 'normal' and works ok) what means that "(null)" in logs? in /tmp/ i now see only 1 socket for every php, for admin_php.sock is also only 1, but it was the same...
  18. K

    lsphp + lsws 3.3.24 = socket problem

    After upgrade admin panel wont to start, but its no problem. 2009-03-23 19:27:11.978 [STDERR] admin_php: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory apt-get install libjpeg-dev all works So i don't need cron rm...
  19. K

    lsphp + lsws 3.3.24 = socket problem

    aa ... Standard
  20. K

    lsphp + lsws 3.3.24 = socket problem

    LiteSpeed server 3.3.24 php 5.2.9 + php-litespeed-4.7 Last time: 2009-03-23 13:02:55.244 [NOTICE] The maximum number of file descriptor limit is set to 100000. First time was 10 000 1024 and less it would even start because i have 3000 domains assigned. (by the way ls Panel in...
Top