S
S
Sergey2015-04-15 16:04:01
PHP
Sergey, 2015-04-15 16:04:01

Why does not want to process index?

Good day. I reinstalled the system, installed ubuntu, set up (as it seemed to me) the environment, installed all my php applications and suddenly got an error when accessing http://.../index/... 404, the file was not found, despite the fact that .htaccess did not change and before that everything worked, however, when accessing, say, http://.../admin/... everything works fine
In the error.log, this is

[Wed Apr 15 19:21:43.087917 2015] [negotiation:error] [pid 12545] [client 127.0.0.1:41437] AH00687: Negotiation: discovered file(s) matching request: /var/www/panel/index (None could be negotiated).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2015-04-15
@Pjeroo

I solved the problem by adding the following line to mime.conf
AddType application/x-httpd-php .php

M
Melkij, 2015-04-15
@melkij

EMNIP, mod_rewrite is disabled by default. Check if it is in mods-enabled, if not then a2enmod rewrite

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question