Project

General

Profile

Convert my htaccess for lighttpd !

Added by CalA about 16 years ago

Hello !
I need some help fore convert my htaccess for lighttpd.
In my i have :
@<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

<Files admin_bans.php>

AuthUserFile /******/*******/.htpasswd
AuthGroupFile /dev/null
AuthName "Securised"
AuthType Basic
<LIMIT GET POST>

require valid-user
</LIMIT>

</Files>
<Files 403.shtml>
order allow,deny
allow from all
</Files>

RewriteEngine On

RewriteCond %{HTTP_HOST} ^**.com [NC]
RewriteRule ^(.*)$ http://www.********.com/$1 [L,R=301]

ErrorDocument 404 /404.shtml
ErrorDocument 500 /500.shtml

deny from .**..**@
I have more and more deny from ( I using a script for anti-ddos on my website )
Please help me to convert my htaccess !
Thanks.