Probleme mit htaccess

Irgendwelche Probleme mit XAMPP für Linux? Dann ist hier genau der richtige Ort um nachzufragen.

Probleme mit htaccess

Postby deTommy » 23. November 2003 13:56

Hi, ich habe folgendes Priblem:

Ich möchte einzelne Verzeichnisse so schützen, das sie nur von bestimmten Domains aufgerufen werden kann (Backdoorschutz kein PW-Schutz).

Meine .htaccess sieht so aus:

-------

order allow,deny
allow from all
AuthUserFile /dev/null
AuthGroupFile /dev/null
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://www.meinedomain.de.vu [NC]
RewriteCond %{HTTP_REFERER} !^192.168.1.2 [NC]

ErrorDocument 401 http://www.meinedomain.de.vu/error.php
ErrorDocument 403 http://www.meinedomain.de.vu/error.php
ErrorDocument 404 http://www.meinedomain.de.vu/error.php

-------

Als Fehlermeldung bekomme ich folgendes :

-------

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, you@your.address and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


--------------------------------------------------------------------------------

Apache/2.0.48 (Unix) mod_perl/1.99_08 Perl/v5.8.0 mod_ssl/2.0.48 OpenSSL/0.9.7c PHP/4.3.3 DAV/2 Server at 192.168.1.2 Port 80

--------

MfG

deTommy
deTommy
 

Return to XAMPP für Linux

Who is online

Users browsing this forum: No registered users and 31 guests