Doch, das geht.Miriam hat geschrieben:Und die info.php im /forum Verzeichnis ohne die .htaccess geht auch nicht?
Aargh. Jetzt geht es ohne .htaccess.
Und nun habe ich die alte .htaccess (Stand Januar 2012) eingestzt und es läuft immer noch.
Hier mal die beiden .htaccess Dateien:
Stand Januar 2012, derzeit auf Testumgebung:
Code: Alles auswählen
#
# 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.
#
#<IfModule mod_rewrite.c>
#RewriteEngine on
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#</IfModule>
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
DirectoryIndex portal.php index.php index.html index.htm
Und dies die .htaccess vom Live-Forum:
Code: Alles auswählen
#
# 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.
#
#<IfModule mod_rewrite.c>
#RewriteEngine on
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#</IfModule>
AddType x-mapp-php5 .php AddHandler x-mapp-php5 .php
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
DirectoryIndex portal.php index.php index.html index.htm
SetEnvIfNoCase User-Agent "Mozilla/5\.0 \(compatible; 008/0\.83; http\://www\.80legs\.com/spider\.html;\)" bad_bota
SetEnvIfNoCase User-Agent "Mozilla/5\.0 \(compatible; 008/0\.83; http\://www\.80legs\.com/webcrawler\.html;\)" bad_botb
SetEnvIfNoCase User-Agent "Mozilla/5\.0 \(compatible; 008/0\.83; http\://www\.80legs\.com/spider\.html\)" bad_botc
SetEnvIfNoCase User-Agent "Mozilla/5\.0 \(compatible; 008/0\.83; http\://www\.80legs\.com/webcrawler\.html\)" bad_botd
<Limit GET POST PUT HEAD>
order allow,deny
allow from all
deny from env=bad_bota
deny from env=bad_botb
deny from env=bad_botc
deny from env=bad_botd
</Limit>
Und ich glaube ich habe gerade eben den Fehler selbst gesehen:
Code: Alles auswählen
AddType x-mapp-php5 .php AddHandler x-mapp-php5 .php
Und sorry, eigentlich war ich der festen Meinung den Test ohne .htaccess, bzw. mit der anderen .htaccess bereits gemacht zu haben.
Gurss Patrick