Search results

  1. N

    [Resolved] Htaccess Rewrite Rule Issue

    >I need to drop the cookie in the user's browser try this: RewriteEngine On RewriteRule img1.jpg http://affiliatelink.com [R,L,cookie=affiliatelink:1]
  2. N

    lsphp5 high cpu, xcache issues

    please PM lsws web admin( :7080) access test URL of phpinfo xcache issue should be easy to trouble shoot.
  3. N

    lsphp5 high cpu, xcache issues

    should be: Run On Start Up:suEXEC Daemon check phpinfo page, make sure xcache settings are correct.
  4. N

    localhost not work

    show the content of your /etc/hosts
  5. N

    Backing up entire litespeed config

    yes -- /usr/local/lsws/conf is server-level configuration /var/www/somesite123.com/conf /var/www/example123.com/conf are native virtual hosts' configuration files if you have virtual hosts from apache's configuration file (in WHM/cPanel, the main config file is...
  6. N

    lsphp5: Segmentation Faults

    the info is too general to get enough info to fix it. please enable core dump for more info, by following https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:config:bug-reporting "How to enable a core dump"
  7. N

    litespeed working but any website not open

    >1. not work under apache please work with your host, to make them working under apache first. it'll work under lsws then.
  8. N

    litespeed working but any website not open

    1. does web sites work under apache ? 2. if working under apache, after run easyapache, need run "Build Match LSPhp" then switch to lsws
  9. N

    [Resolved] Litespeed server status

    the info is stored at /tmp/lshttpd/.rtreport* you can read and parse text files.
  10. N

    0 cache hits issue

    cache and cache hits are working as expected --- after fixing various configuration issues. no special. it's a bit tricky to make cache work correctly, especially for users without much of apache experience.
  11. N

    [Resolved] Can't get LSCache working for guests on my vBulletin forum without affecting members

    great to work well! this line RewriteCond %{HTTP_USER_AGENT} "iPhone|iPod|Android|Mobile|Phone|Windows|Mac|spider|crawl|slurp|bot" looks safe to be deleted since it covers almost all user agents.
  12. N

    [Resolved] Can't get LSCache working for guests on my vBulletin forum without affecting members

    revisited your website. when a mobile user select desktop view, the URL with "styleid=-1" added in querystring, and 2 cookies are set bb_userstyleid=-1 bb_skipmobilestyle=1 change RewriteCond %{HTTP_USER_AGENT} "iPhone|iPad|Android|Mobile|Phone" RewriteRule ^(.*\.php)?$ $1?mobile_view=1 [QSA]...
  13. N

    [Resolved] Can't get LSCache working for guests on my vBulletin forum without affecting members

    Thanks for the update! if most of users are from mobile, can cache mobile pages only instead of caching desktop pages only. from above rewrite rules, it looks possible to cache both mobile and desktop pages as well. just FYI: RewriteCond %{HTTP_USER_AGENT} "iPhone|iPad|Android|Mobile|Phone"...
  14. N

    0 cache hits issue

    replied in the PM (conversation)
  15. N

    Litespeed restarts multiple times a day

    yes. I mean comparing the time stamp of latest log entries in /usr/local/lsws/logs/lsrestart.log and /usr/local/cpanel/logs/safeapcherestart_log (or other WHM/cPanel log files), if they match, then the restart comes from WHM/cPanel, like adding an account/terminate a account, change apache's...
  16. N

    Litespeed restarts multiple times a day

    lsws restart log is located at /usr/local/lsws/logs/lsrestart.log logs of WHM/cPanel , just searched out a good link: http://www.inmotionhosting.com/support/website/getting-started-guides/cpanel-logs-for-access-apache-email-error-ftp-mysql-whm can compare with Apache restarts done through...
  17. N

    Help with hung processes

    >futex(0x7fbf50490190, FUTEX_WAIT, 2, NULL this shows deadlock happened, so all processes hanged. any opcode cache enabled ? suhosin.so installed ? see if you can temporarily to remove unnecessary extensions one by one and watch.
  18. N

    0 cache hits issue

    to simplify cache test, don't install wordpress, focus on phpinfo.php you can PM me the test node's access( :7080 may be enough at first)
  19. N

    0 cache hits issue

    you can create a phpinfo page, and cache for that page only, see if cache is working or not. the rewrite rule in .htaccess can be: RewriteEngine On RewriteRule phpinfo.php - [L, E=Cache-Control:max-age=600]
  20. N

    Help with hung processes

    the issue looks like difficult at the time being. have to collect more information gradually >Once this happens I have to stop lsws, kill all lsphp5 processes and then start lsws again. how about killing all lsphp5 processes only, no stop/restart/start lsws ? it should work too. if not, even...
Top