Search results

  1. N

    [Resolved] GeoIP not working

    replace above getenv by $_SERVER["GEOIP_COUNTRY_NAME"] $_SERVER["REMOTE_ADDR"] $_SERVER["HTTP_X_FORWARDED_FOR"] ?
  2. N

    [Resolved] GeoIP not working

    the settings should be enough. how do you know it's not working ?
  3. N

    X-LiteSpeed-Location - Can only access public_html

    it looks weird ... what's the destination directory (/home/fakepath/downloads)'s owner/group/permission ? #ls -ald /home #ls -ald /home/fakepath #ls -ald /home/fakepath/downloads
  4. N

    Wordpress BackupBuddy and LiteSpeed

    some people reached here from google search, so here's the update after about exact 1 year later: at present, lsws's version is 4,2,11 to resolve the backupbuddy issue 1. .htaccess in wordpress's home directory: <IfModule litespeed> RewriteEngine On RewriteRule ^wp-cron.php$ - [E=noabort:1]...
  5. N

    X-LiteSpeed-Location - Can only access public_html

    the context is for litespeed's native vhost --- created in lsws web admin. it's same as apache's alias http://httpd.apache.org/docs/2.2/mod/mod_alias.html#alias so in httpd.conf's virtual host configuration, just add Alias /internal_path/ /var/www/test/ (or Alias /internal_path /var/www/test )
  6. N

    [Resolved] 404 error or File not found

    it's because of drwxr-x--- 24 user01 user01 4096 May 22 01:13 public_html/ I made following change: /home/user01>chgrp nobody public_html now it is: drwxr-x--- 24 user01 nobody 4096 May 22 01:13 public_html/ after the change, http://user-domain.com:2080/ is ok now. in WHM/cPanel, as a usual...
  7. N

    [Resolved] 404 error or File not found

    how about change Force Strict Ownership :Yes to "No" >Do you need something for me for provide better helping ? yes, the quickest way is to provide the root access to the server, you can PM me these info in this forum.
  8. N

    X-LiteSpeed-Location - Can only access public_html

    the document is here: https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:config:internal-redirect I did test, they works. example just for reference: step 1: /usr/local/lsws/DEFAULT/html/x-ls-loc/t.php <?php header('X-LiteSpeed-Location: /internal_path/a.tar'); exit; ?> step...
  9. N

    Optimizing litespeed for high traffic

    since there is only 1 website on the server, you can try PHP suEXEC : No
  10. N

    Optimizing litespeed for high traffic

    opcode cache is one of Zend OPCache or xcache or APC, need build it first, then enable it in php.ini Can you post the settings of lsws web admin -> Server -> General -> Using Apache Configuration File ?
  11. N

    Optimizing litespeed for high traffic

    the load is high. 1. is opcode cache enabled ? 2. run lsphp5 in suEXEC Daemon mode lsws web admin -> Server -> External App -> lsphp5 -> Run On Start Up: suEXEC Daemon
  12. N

    Optimizing litespeed for high traffic

    need more info about your server you can post a screenshot of real-time stats during high traffic time, it usually gives a lot of info. lsws web admin -> Actions -> Real-Time Stats
  13. N

    problem with wsgi for Django in litespeed

    I need collect more info to troubleshooting. you PM me the server's root access, this is the fastest way to help you.
  14. N

    problem with wsgi for Django in litespeed

    #chmod a-x m4.wsgi so m4.wsgi has same permission and owner/group with index.php
  15. N

    problem with wsgi for Django in litespeed

    the owner is root. what's the owner of index.php in same folder ? #ls -l index.php
  16. N

    problem with wsgi for Django in litespeed

    the full path of m4.wsgi ? and its permission ? #ls -l m4.wsgi and content ? or you can PM me the access to the server, I can have a quick look.
  17. N

    problem with wsgi for Django in litespeed

    it's weird .. it's a WHM/cPanel server ? please check /usr/local/apache/logs/error_log /usr/local/apache/logs/stderr.log for related errors.
  18. N

    problem with wsgi for Django in litespeed

    please try move m4.wsgi out of /cgi/ folder. you can just copy it to parent folder, and access http://www.fastwebhost.ir/m4.wsgi
  19. N

    problem with wsgi for Django in litespeed

    it looks ok and no problem then 1.show the configuration of "Script Handler" of wsgi 2.which folder you put hello.wsgi ? and the URL to access it ?
  20. N

    problem with wsgi for Django in litespeed

    can you give a screenshot of your configuration regarding Server->External App->wsgiApp
Top