S
S
Sergey2016-09-19 13:23:27
Network administration
Sergey, 2016-09-19 13:23:27

How to get rid of error 500?

Good day!
Actually, I started moving from virtual hosting to VPS, and when transferring one of the sites written in Symfony, I encountered the fact that the server gives a 500 error. The following is in the logs:

[Mon Sep 19 14:18:08 2016] [alert] [client ****] /var/www/parstd/data/www/****/web/.htaccess: Option MultiViews not allowed here

The .htaccess has the following:
# Disabling MultiViews prevents unwanted negotiation, e.g. "/app" should not resolve
# to the front controller "/app.php" but be rewritten to "/app.php/app".
<IfModule mod_negotiation.c>
    Options -MultiViews
</IfModule>

I tried adding the following to secure.conf:
AllowOverride FileInfo AuthConfig Limit Indexes Options=All,MultiViews

It didn't work, the site just wouldn't load.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lubezniy, 2016-09-20
@lubezniy

And if you remove MultiViews from .htaccess at all (including with a minus)?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question