Search results

  1. N

    [solved] rewrite rules access to ENV

    please try: RewriteCond %{HTTP:Cache-Control} no-cache [NC] RewriteRule (.*) $1?recache [L]
  2. N

    Content-Aware Caching

    yes, since cache function need multiple CPU license
  3. N

    [solved] Problem + litespeed + cpanel + .htaccess + permission

    this issue is 2011-01-27 11:34:32.596 [INFO] [114.143.29.237:11329-0#APVH_sample.com] Found symbolic link, or owner of symbolic link and link target does not match for path [/home/userhost/public_html/wp-comments-post.php], access denied. wordpress's comment function not working at all. the...
  4. N

    [solved] Problem + litespeed + cpanel + .htaccess + permission

    Please PM me your site's root access.
  5. N

    [solved] Problem + litespeed + cpanel + .htaccess + permission

    looks like your php running as nobody. to confirm this: #ps -ef|grep php and please post /home/userhost/public_html/.htaccess here.
  6. N

    [solved] Problem + litespeed + cpanel + .htaccess + permission

    try: #chown userhost:usehost /home/userhost/public_html
  7. N

    [solved] Problem + litespeed + cpanel + .htaccess + permission

    please run following commands and paste the output: #ls -ald /home/userhost #ls -ald /home/userhost/public_html #ls -ald /home/userhost/public_html/wp-comments-post.php
  8. N

    Jpg images not working

    rebuild php with --with-gd --with-jpeg-dir=DIR ... options. refer http://www.php.net/manual/en/image.installation.php
  9. N

    vBulletin Guest Cache with LiteSpeed

    RewriteRule /(.*\.php)?$ - [L,E=Cache-Control:max-age=120] since rewrite rule in .htaccess (not in httpd.conf), leading / should be removed. i.e., RewriteRule ^(.*\.php)?$ - [L,E=Cache-Control:max-age=120] no problem.
  10. N

    vBulletin Guest Cache with LiteSpeed

    2011-01-26 23:49:47.363 ERROR [[HTAccess]] rewrite: '[' is expected while parsing: RewriteCond %{REQUEST_URI} !^/(login|register|usercp|private|profile|cron|image) \.php$ there is an extra space(before \.php$) in the rewrite rule.
  11. N

    vBulletin Guest Cache with LiteSpeed

    please login your vBulletin, see if cookie "zzimloggedin=yes" exist. then logout, check it again. "curl -I" won't trigger lsws to generate cache. please pull out its content using browser or wget/curl.
  12. N

    Configuring and testing litespeed cache Part 1

    per your testing on 4.0.18, it looks like set CacheRoot /lscache/ in httpd.conf is not same as setting CacheRoot at admin console. and as I tested, without "CacheRoot /lscache/" in httpd.conf, but set it in admin console, rewriterule + cache will work. so it looks that "CacheRoot /lscache/"...
  13. N

    [duplicated] LiteSpeed + Tomcat

    please go: http://www.litespeedtech.com/support/forum/showthread.php?t=4595 this thread is marked as "duplicated"
  14. N

    [solved] Retry with new instance.

    manually upgrade: download lsws...4.0.19..tar.gz tar zxvf lsws...4.0.19..tar.gz cd lsws-4.0.19 ./install.sh install to same directory of past installations. select U(upgrade) in cPanel, it's /usr/local/lsws
  15. N

    Configuring and testing litespeed cache Part 1

    great! maybe lack of RewriteEngine on ? please try these in .htaccess RewriteEngine on RewriteRule test.php - [E=Cache-Control:max-age=45] note: use test.php instead of /test.php
  16. N

    Configuring and testing litespeed cache Part 1

    I tested set cache directory on admin console, rewrite rule works well. Server->Cache->Storage Path:/lscache it should be same as CacheRoot /lscache/ in httpd.conf why testnocache.php is cached? I think because of this directive: CacheEnable disk / it should be same as...
  17. N

    Configuring and testing litespeed cache Part 1

    Thanks for the testing. glad to hear this test result: We just updated 4.0.19, when a page is from cache, the response header will have "X-LiteSpeed-Cache: hit". so it's easier for us to test cache function. I'll try to reproduce your testing on our cPanel server.
  18. N

    [solved] Retry with new instance.

    we just added new feature on 4.0.19 to address this timeout issue: "added another special rewrite environment variable "noconntimeout", this will disable connection timeout, it will keep the connection open forever till the request complete." for example: RewriteRule abc.php -...
  19. N

    [closed] Cron clean of lshttpd swap

    if your cron job has cleaned up the swap directory, the original cleanup cron job will finish quickly, no impact to your server at all.
  20. N

    [closed] Cron clean of lshttpd swap

    you can set up your own cleanup cron job at night. an example for reference. add an entry in /etc/crontab 0 1 * * * root find /tmp/lshttpd/swap -type f -mtime +0 -delete > /dev/null 2>&1
Top