Search results

  1. N

    how to use Scan Request Body

    refer: http://httpd.apache.org/docs/2.0/mod/core.html#options can add Options -ExecCGI in .htaccess
  2. N

    Add and use rewrite rules

    hmm...you refer this wiki page: http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:https_redirect it looks right. any info in error.log or stderr.log? you mean when you access http://yourserver.com/, it won't redirect to https://yourserver.com ?
  3. N

    suphp ?

    I managed to test lsphp5 with suExec enabled and disabled under a cPanel server in our lab. ~>ab -k -n 20000 -c 100 192.168.0.81/test.php suExec enabled: Requests per second: 2723.91 [#/sec] (mean) suExec diabled:(run as nobody) Requests per second: 2659.31 [#/sec] (mean) so no...
  4. N

    [Resolved] Lightspeed and hosting provider - Fails

    I think need go through .htacess, since there may be other directives in the file. A rewrite equivalent for "Deny from all": RewriteEngine On RewriteRule .* - [F]
  5. N

    [Resolved] How to Specify Extra Headers?

    installed Page Speed ... hmm, are the advice from Page Speed->Performance->Analyze Performance? Now I think I've got clear about this "Vary:Accept-Encoding" issue. It should be automatically added by litespeed when the page is compressed. please check the response header, if...
  6. N

    [Resolved] Lightspeed and hosting provider - Fails

    tested your code in local lsws, it's working. but I think the 2nd part <IfModule !rewrite_module> really not necessary. it adds extra overhead. mod_rewrite is a very basic module and it's hard to imagine apache without rewrite module existing in any hosting provider.
  7. N

    [Resolved] How to Specify Extra Headers?

    thanks for the detail. my question is Firebug still advises me to add the header to two resources right, Firebug will show you all headers of a page. but how and where Firebug advise you to add which header ? :) same question for
  8. N

    [Resolved] How to Specify Extra Headers?

    i installed firebug 1.54 too. but haven't figured out how firebug advise me about header etc. can you tell the trick? also can you post a page's response headers showed in firebug?
  9. N

    suphp ?

    My understanding, mod_php/phpSuExec/suPHP are 3 different apache modules. in which, mod_php has best performance, suPHP is slowest since it run as CGI. lsphp is php with LSAPI to work with litespeed web server. It can run as global user/group(e.g. nobody) which is like mod_php, also it can...
  10. N

    [Resolved] How to Specify Extra Headers?

    admin console: Server(or select one vhost)->General->Apache Style Configurations: Header add Vary Accept-Encoding or add to .htaccess
  11. N

    [Resolved] How to Specify Extra Headers?

    same document as apache: http://httpd.apache.org/docs/2.0/mod/mod_headers.html#header in your case: Header add Vary Accept-Encoding
  12. N

    [Resolved] Lightspeed and hosting provider - Fails

    The rewrite equivalence: RewriteEngine On RewriteCond %{HTTP_USER_AGENT} ^(WWW-Mechanize|Xenu|Zip) [OR,NC] RewriteCond %{HTTP_USER_AGENT} .*(Y!OASIS/TEST|YebolBot|ZeW|ZmEu).* [NC] RewriteRule (.*) - [F]
  13. N

    [Resolved] Lightspeed and hosting provider - Fails

    1)yes.if no "RewriteEngine On", RewriteCond or RewriteRule won't work and will be ignored. However, if .htaccess has no RewriteCond or RewriteRule, you needn't "RewriteEngine On". 2)I think the new way is more efficient and obviously. However, I haven't tested it so without hard evidence...
  14. N

    [Resolved] Lightspeed and hosting provider - Fails

    yes, they are apache directives. as long as the web server is apache or litespeed, these directives works. you can suggest them. despite of efficiency, at least the code is shorter than original one.
  15. N

    [Resolved] Lightspeed and hosting provider - Fails

    only files with one of extensions --- css|js|jpg|gif|png|tif|swf|flv|ico|cur are allowed to access under this folder and all sub folders. otherwise, access to files with other extensions will return "403 Forbidden"
  16. N

    [Resolved] Lightspeed and hosting provider - Fails

    try this in .htaccess: RewriteEngine On RewriteCond %{Request_URI} !\.(css|js|jpg|gif|png|tif|swf|flv|ico|cur)$ RewriteRule (.*) - [F]
  17. N

    vbulletin mods not working

    if there is missing module, you can check error_log, see if log entry like [STDERR] PHP Fatal error: Call to undefined function xxx() in /home/xxx/xxx.php on line xxxx is there. Then search the undefined function name to determine which php module is missing.
  18. N

    Cpanel VHost question

    once you use cPanel to manage a vhost, you should stick to this way. since cPanel has rich features to mange all vhosts. Litespeed is mainly a web server, to be compatible with apache. it's lack of account/domain/vhost management features like cPanel. Being aware of this, in theory it's...
  19. N

    Cpanel VHost question

    this is normal. vhosts defined in apache httpd.conf not show here. those vhosts are defined in apache. I'm not clear if apache has "Per Client Throttle" alike feature at the time being. if you want to limit one vhost's speed, you may try define the vhost in litespeed's admin console --- i.e. the...
Top