Possible solutions of your questions

  hosting
<< Previous       Error 500

Question: Hello.If you encounter the error 403 error also occurs 500Additionally, a 500 Internal Server Error error was encountered while trying to use an an ErrorDocument to handle the request.How to fix?
Answer:

Hello.

Where you can see the problem?

Question: In .htaccess appends your IP in инструкциюRewriteCond %{REMOTE_ADDR} IP [NC]RewriteRule ^.*$ - [F]And when entering the website www.n-qashqai.ruвидим 403 + строкуAdditionally, a 500 Internal Server Error error was encountered while trying to use an an ErrorDocument to handle the request.
Answer:

Without this redirect you can open the site?

Question: All is well, open. Error 500 occurs.If you add a manual IP banning is 403 error - but in addition there is a 500 error is associated with an ErrorDocument because of this, the total header 500 instead of 403
Question: Well, that is a 500 error is not related to the implementation of the site
Answer:

please Wait.

Answer:

the Directive for the ban:

RewriteRule ^.* - [F,L]
or
RewriteRule ^.* - [R=403,L]
Question: Tried and [F,L]and[R=403,L]still appears Additionally, a 500 Internal Server Error error was encountered while trying to use an an ErrorDocument to handle the request
Answer:

please wait.

Answer:

You are confused by the presence of the string with 500 error.

Question: In the log 403 is replaced by a 500 - accordingly, it is not clear, roofing felts there was an error in the scripts, or omitted all correctly worked.
Answer:

an Error in the script just displays a 500 error.

Question: It is clear in the logs now if there was an error in the script I see 500и if I just refused entry to spammers and they saw 403 I also see 500Соответственно I do not understand, roofing felts I have in the script the problem toli, everything is fine.Accordingly you need to in the logs if it was 403 403 display only, and not as it is now 500
Answer:

unfortunately we do not know. But the 403 error does not mean a 500 error, ie error in the .htaccess is not present.

Question: Why not known?You can write in. htaccess the design as I previously приводилRewriteCond %{REMOTE_ADDR} IP [NC]RewriteRule ^.*$ - [F,L]And see in the logs like with this design and without it.Without her 200 and 500 although it should be 403Посмотрите the issue of setting an ErrorDocument for the line clearly stated what the problem with it. Because of this, and there is a 500 error.
Answer:

please Wait, the request is sent to the administrator.

Answer:

utochnyat where found an example of executing this instruction?

Question: Come on, a little will speed up the process and dispense with the leading questions. If You have something you want to say, just write. While we sort out where I found an example of this instruction, the site is not working correctly. And as the day passed and it does not work correctly.If in fact, on other hosting where not working Deny From, suggested to use such designs. What`s the meaning of the question? It helps in solving the problem?
Answer:

You can use the structure < / span>Deny From our hosting. Would you accept that? But the 403 error you have triggered.


<< Previous