Search results

  1. A

    [Resolved] htaccess ExpiresByType ignored

    Hi. I have a problem where if ExpiresByType is defined in apache config, then .htaccess ExpiresByType is ignored. /etc/httpd/conf/httpd.conf: ExpiresActive On ExpiresByType image/* A604800 /var/www/default/.htaccess: ExpiresActive On ExpiresByType image/* A31536000 On litespeed we see...
  2. A

    [Resolved] max-age in response ignored?

    i thought I'd try looking into using the lsws cache to replace my varnish layer, but i just dont get it. i have php content already sending dynamic expires and cache-control headers, but they seem to be completely ignored in my tests. instead i have to staticly configure a huge list of rewrite...
  3. A

    http/2 403 errors

    Ive had to roll back from testing lsws5 because of problems with the http/2 implementation. either it crashes the whole litespeed process sometimes when http2 is involved. ive forwarded the bug reports onto lsws, but with no reply. and today we've noticed on a small production environment that...
  4. A

    mod_rewrite server_name/http_host

    Came across a strange bug today when trying to use %{SERVER_NAME} or %{HTTP_HOST} in a .htaccess RewriteCond (i tried both) The setup was as follows: <VirtualHost> ServerName www.website ServerAlias www2.website DocumentRoot ... </Virtualhost> .htaccess: RewriteEngine On RewriteCond...
  5. A

    External Application config through Apache Config

    I'd like to know how to change the external app config per virtualhost via the Apache config. Specifically, I want to change the Memory Soft Limit and Memory Hard Limit for a specific virtualhost's php lsapi to a very high number, and keep it the default for all the others. I realize I could...
  6. A

    LSAPI_CHILDREN ignored?

    Doh. I figured it out as soon as I posted. Suexec is enabled! So a followup question, Can anyone tell me how to change the PHP suEXEC Max Conn setting from apache config, per-virtualhost?
  7. A

    PHP suEXEC Max Conn per virtualhost

    Is it possible to set the "PHP suEXEC Max Conn" setting differently on a virtualhost level when configured from apache config? I've also been trying to find a list of apache equiv directives to tune different litespeed settings from my apache config, but cant seem to find anything.
  8. A

    [not solved] Failed to obtain or reinitialize VMemBuf

    titile: Failed to obtain or reinitialize VMemBuf. possibly running out of swap space. have been getting these errors on file uploads to litespeed webserver 4.1.4. its happened three times so far, several days between incidents. haven't been able to work out what causes it. once it starts...
  9. A

    document_root trailing slash

    A small problem when moving a server from apache to litespeed my apache config defines document root as DocumentRoot "/path/name/goes/here/" note the trailing slash. under apache, php saw: $_SERVER['DOCUMENT_ROOT'] = '/path/name/goes/here/' under litespeed, php sees...
  10. A

    mod_security & ModSecurity Core Rule Set

    I was investigating using some of the OWASP rules for mod_security but I've found that almost none of them are useable with litespeed. They appear to almost exclusively use SecRule TX:var style rules to create scores, and allow/deny based on the score. Which litespeed does not appear to...
  11. A

    suggestion: copy whole script name into argv0

    suggest an environment variable to change litespeed sapi to copy the whole script name into argv0 instead of the last 45 characters. its handy, but I'd find it more convenient with the whole name there instead. eg...
  12. A

    cpanel + litespeed = easy

    normally we use litespeed in complicated crazy high load environments. but I happened to be doing a plain old simple cpanel install and decided to use litespeed there also because we use suphp. im used to installing litespeed and configuring it myself so I was prepared to go through the setup...
  13. A

    Anti-DDoS Blocked IP

    Hi. I've moved some of our webservers to litespeed but I've stumbled upon across two problems already. Ive got litespeed behind varnish reverse proxy that is updating the x-forwarded-for header litespeed is correctly extracting the x-forwarded-for IP, php reports it correctly except this...
  14. A

    Wordpress wp-admin 503 The server is temporarily busy

    Hi. I've moved a bunch of wordpress sites from one litespeed server (v4.0.17) to a newly setup and much more powerful server (v4.1.1) and now anytime someone successfully logs into a wordpress sites (/wp-admin) they receive an error "503 Service Unavailable The server is temporarily busy, try...
  15. A

    compile php with multiple cpus

    Suggest adding an option to detect and use all cpu's when compiling php. On an 8 core system I changed your build script from "make" to "make -j 8" and reduced my php compile time down from "this is taking too long" to less than 30 seconds. Of course, this option should be optional. Some day...
  16. A

    Litespeed is using APC beta

    Hi. Im converting to litespeed because running with suexec its the fastest webserver by far. And i used the litespeed's php compiler/etc thingy to build php 5.2.14 with no real problems. However some of the sites started having some strange issues, mostly related to when...
Top