A
A
Alexander Tishchenko2021-11-21 21:11:33
linux
Alexander Tishchenko, 2021-11-21 21:11:33

Why does a 521 error occur when going to the site page?

Good day to all.
Set up a server on Linux Mint 20. Apache2, MySQL, PHP.
I use DNS from CLoudFlare.
When I go to my site domain.com , the server gives me an entry point, i.e. index.php _
I decided through .htaccess to redirect all requests to index.php in GET['path'] ;
But when I enter such an address domain.com/page , and even so when I enter domain.com/page.php (the page.php file is in the directory) the same error "Error 521 . Web server is down".
I read on the forums, set up ... but it's not like that. How to decide?)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Karabanov, 2021-11-21
@Sasha_Odesskiy

Read error.log where the reason for the error is written. Probably made a mistake in .htaccess

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question