Seite 2 von 2
Verfasst: 22.05.2005 13:11
von DreamPromise
Code: Alles auswählen
AuthType Basic
AuthUserFile /path/.htpasswd
AuthName "Autoryzacja"
require valid-user
<Limit GET POST>
Order deny,allow
Deny from all
Allow from 127.0.0.1 - your ip
</Limit>
<Files "*.php">
Allow from 127.0.0.1 - your ip
Deny from all
</Files>
Muß denn meine .htaccess auch so aussehen ??
Verfasst: 22.05.2005 13:15
von Berndte
muss nicht... suche mal im Forum nach htaccess ... da gibts eine genaue Anleitung, wie du dein ACP damit sichern kannst.
Verfasst: 22.05.2005 13:21
von DreamPromise
Verfasst: 22.05.2005 13:42
von Berndte
hast du auch eine .htaccess in dem phpBB/admin/ Ordner?
Verfasst: 22.05.2005 13:47
von DreamPromise
nö...deshalb hatte ich ja gefragt
Verfasst: 22.05.2005 17:41
von DreamPromise
Ich hab nur n Root dieses hier:
- # DirectoryIndex index.html intro.php portal.php index.php index.htm
DirectoryIndex index.html index.php intro.php portal.php index.htm
RewriteEngine On
# prevent access from santy webworm
RewriteCond %{QUERY_STRING} ^(.*)highlight=\%2527 [OR]
RewriteCond %{QUERY_STRING} ^(.*)rush=\%65\%63\%68 [OR]
RewriteCond %{QUERY_STRING} ^(.*)rush=echo [OR]
RewriteCond %{QUERY_STRING} ^(.*)wget\%20
RewriteRule ^.*$ http://127.0.0.1/ [R,L]
# prevent pre php 4.3.10 bug
RewriteCond %{HTTP_COOKIE}% s:(.*):\%22test1\%22\%3b
RewriteRule ^.*$ http://127.0.0.1/ [R,L]
# prevent perl user agent (most often used by santy)
RewriteCond %{HTTP_USER_AGENT} ^lwp.* [NC]
RewriteRule ^.*$ http://127.0.0.1/ [R,L]