zurück zum General (english) | Seiten

rybrns(R)

20.07.2008, 04:51
 

Installation problems (General (english))

When installing Spider-trap, I had these problems:

1. The .htaccess file:

When this line is in the file, I get a 500 Internal Server Error always, can't load the main page at all--
RewriteRule ^[^?]*/.[^.] /spider-trap/forbid.php

Removing the line allows the page to load.

2. Trying it out by going to the forbid.php file, all functions then work. But if I close the browser and then try to load the main page, I get a page that says

****************************
Forbidden
You don't have permission to access / on this server.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
****************************

If I go directly to http://mysite.com/spider-trap/forbid.php, then that page does open ok, so the .htaccess file in the spider-trap folder is ok.

My main .htaccess file says

ErrorDocument 401 /errors/401error.php
ErrorDocument 403 spider-trap/forbid.php
ErrorDocument 404 /errors/404error.php
DirectoryIndex index.html index.php index.shtml

Spider-trap puts these lines in:

Order Deny,Allow
Deny from nnn.nnn.nnn.nnn

(I did change the name "spider-trap" in setup to another name as instructed.)

The Internal Server Error can be caused caused by something wrong with a .htaccess file, but I don't see where. Could it be cured by the rewrite rule mentioned in #1 above, but that rule has a syntax error? Right now, if someone whose IP address had been used by a spammer and got trapped tries to access the site, all he would get is that 500 error.

Can you help? I'd appreciate it.

JR-EWING(R)

20.07.2008, 11:22

Installation problems


rybrns(R)

20.07.2008, 17:27

Installation problems

JR-EWING(R)

21.07.2008, 08:54

Installation problems



Ähnliche Beiträge
Thema Author Antworten Letzter Beitrag
Fragen zur InstallationUrsula819.12.2006, 04:06
Fehlermeldung nach Installationmo68308.11.2006, 18:10
Installation, aber wieAlsterkrabbe613.06.2007, 20:03
some problemspit329.08.2007, 15:43
Wichtige Fragen vor der Installationspanner202.01.2008, 12:58



zurück zum General (english) | Seiten