Search results

  1. A

    [Resolved] htaccess ExpiresByType ignored

    apologies, ive gone back to my test server and I cannot replicate the problem. nothing has changed since yesterday, so I'll blame a bad batch of coffee instead.
  2. 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...
  3. A

    [Resolved] max-age in response ignored?

    thanks for the update. confirmed fixed also tested Cache Expire Time (seconds) 0 combined with Cache-Control: public, max-age=20 and confirmed that it caches for 20 seconds as expected.
  4. A

    [Resolved] max-age in response ignored?

    ok thanks. seems varnish is still the way to go for us for now. i would suggest including it as a feature some time in the future. all browsers and other reverse proxies already do the same.
  5. A

    [Resolved] max-age in response ignored?

    Still can't get maxage working. Is it not how Cache is meant to be used?
  6. A

    [Resolved] max-age in response ignored?

    sorry i should have included what ive already tried. i can get content to be cached, but max-age is still ignored. lsws enterprise 2 cpu 4.2.23 Enable Cache No Max Object Size 128K Cache Expire Time (seconds) 60 Cache Stale Age (seconds) 5 Cache Request with Query String Yes Cache Request...
  7. 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...
  8. 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...
  9. 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...
  10. A

    External Application config through Apache Config

    i wanted to test if it works, and it seemed to apply no restriction at all. i was able to change the php handler via .htaccess on any vhost no matter where i placed DisableCgiOverride. suggest considering adding it? it would be convenient to be able to change everything via apache conf we...
  11. A

    External Application config through Apache Config

    it doesnt work I tried using "DisableCgiOverride On" in the apache conf and in a test vhost, but i can still override the handler in a simple .htaccess file. I even tried it in "Apache Style configurations" under configuration -> server AddType application/x-httpd-php53_highmem php works every...
  12. 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...
  13. A

    [not solved] Failed to obtain or reinitialize VMemBuf

    could be marked as possibly-solved. i moved the litespeed temp&swap directory to somewhere outside of /tmp and the problem has gone away. i believed our crons watching /tmp to remove old untouched files (also aka tmpwatch) were inadvertently removing old litespeed temp files that it hadn't...
  14. 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?
  15. 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.
  16. A

    [not solved] Failed to obtain or reinitialize VMemBuf

    why is this thread marked as solved? what is the solution? it has happened again to me today, started happening 8 hours ago. Any file uploads above 1MB or so would fail with Error 500. Failed to obtain or reinitialize VMemBuf. possibly running out of swap space.
  17. A

    [not solved] Failed to obtain or reinitialize VMemBuf

    after the last problem i stopped lsws completely, made sure no processes were running, and started it fresh. no problem yet (its been over a week) could it be that the graceful restart after an upgrade isnt doing things properly.
  18. A

    [not solved] Failed to obtain or reinitialize VMemBuf

    today the /tmp dir has 6.1gig free.
  19. A

    [not solved] Failed to obtain or reinitialize VMemBuf

    Hi NiteWave, it has happened again. Discovered by users attempting to upload 7mb video files. Smaller file uploads worked, but larger ones didn't (I didnt troubleshoot far enough to find the largest size possible) logs report lsws was restarted automatically at 5am, only 9 hours before the...
  20. A

    [not solved] Failed to obtain or reinitialize VMemBuf

    I don't know what triggered it last time (perhaps an upgrade that I had forgotten), but this time it seems it probably was the upgrade that caused it. It happened on every website accepting file uploads until i ran "lswsctrl restart". so far for the last 2 days no error has been reported.
Top