View Single Post
  #8  
Old 12-27-2004, 08:03 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
There is a new ioncube loader for php 4.3.10
http://www.ioncube.com/php4.3.10_issues.php
disboards needs ioncube loader for rating stuff.

Quote:
there's a worm thing going around and the fix is this .htaccess entry

Quote:
SetEnvIfNoCase User-Agent ".*lwp.*" spambot=1

<Limit GET POST PUT>
Order allow,deny
deny from env=spambot
allow from all
</Limit>
but not sure if it will work with lsws ?
LiteSpeed has .htaccess, but not all Apache directives are supported right now, and .htaccess is not very efficient. Please use rewrite rules to block those requests, like

Code:
RewriteCond   %&#123;HTTP_USER_AGENT&#125;    .*lwp.*  &#91;NC&#93;
RewriteRule     ^/                                               &#91;F&#93;
Just add above rules under "Rewrite" tab for animeboards.com

There is a bug in 2.0RC4 that "reload", "restart" links stop working if a "reload" had been performed from the web admin interface. So you need to restart lsws from command line after the configuration change. There is no service interruption during the restart, so please always use "restart" from the web interface for now. :-)
Reply With Quote