T
T
talas12342016-08-15 17:43:43
Apache HTTP Server
talas1234, 2016-08-15 17:43:43

The "Options MultiViews" option doesn't work, does it?

As I understand it, "Options MultiViews" allows you to write a URL without the extension
http ://piwigo.x/picture/64/most_visited
instead of
http ://piwigo.x/picture .PHP /64/most_visited
but it does NOT work for me.
I register in .htaccess

Options +MultiViews

the server gives out on http ://piwigo.x/picture/64/most_visited - 404 (she never died out) I register
in the server settings
<VirtualHost *:80>
  ServerName piwigo.x
        <Directory /home/den/site/piwigo>
            Options Indexes FollowSymlinks MultiViews(!!!)
            AllowOverride All
            Require all granted
        </Directory>
....
</VirtualHost>

I overload the server, but it still does not work, it gives out the same shenevymerla
, what's the problem? in which direction to at least dig? Or am I not doing it at all?
ffffff

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
talas1234, 2016-08-15
@talas1234

Everything solved the problem! )))
it turns out that lines in etc/mime.types were commented out

#application/x-httpd-php                        phtml pht php
#application/x-httpd-php-source                 phps
#application/x-httpd-php3                       php3
#application/x-httpd-php3-preprocessed          php3p
#application/x-httpd-php4                       php4
#application/x-httpd-php5                       php5

after uncommenting and rebooting the server, everything worked. Hurrah Hurrah ))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question