Code : Tout sélectionner
Order Deny,Allow
Deny from 139.217.
Deny from 52.80.
Deny from 52.81.
Deny from 52.82.
Deny from 52.83.
Deny from 54.223.
Deny from 54.222.
Deny from 139.219.
SetEnvIf GEOIP_COUNTRY_CODE CN BlockCountry
Deny from env=BlockCountry
<IfModule mod_rewrite.c>
RewriteEngine on
#
# Uncomment the statement below if URL rewriting doesn't
# work properly. If you installed phpBB in a subdirectory
# of your site, properly set the argument for the statement.
# e.g.: if your domain is test.com and you installed phpBB
# in http://www.test.com/phpBB/index.php you have to set
# the statement RewriteBase /phpBB/
#
#RewriteBase /
#
# Uncomment the statement below if you want to make use of
# HTTP authentication and it does not already work.
# This could be required if you are for example using PHP via Apache CGI.
#
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
...
.....
....
...
</IfModule>
DirectoryIndex portal.php index.php index.html index.htm