Z
Z
ZefiRus2019-11-08 16:03:13
htaccess
ZefiRus, 2019-11-08 16:03:13

500 Internal Server Error, what should I do?

I did authorization and registration on the site, I decided to check and then bam and 500 Internal Server Error.


Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

On the Internet, it was indicated that the matter was in .htaccess
. Here are its contents:
RewriteEngine on 
RewriteCond %{REQUEST_FILENAME}\.php -f 
RewriteRule ^(.*)$ $1.php
RewriteCond %{REQUEST_FILENAME}\.html -f 
RewriteRule ^(.*)$ $1.html

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Adamos, 2019-11-08
@Adamos

A syntax error in the PHP script that deals with this very "authorization and registration". For example.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question