A
A
Alexander Saneev2017-08-20 13:23:41
open server
Alexander Saneev, 2017-08-20 13:23:41

What's wrong with Apache in OSPanel?

installed the latest version of OSPanel.
configured on php7.1 x64 + apache-php-7-x64 + MariaDB-10.2-x64.
threw an old working project into a folder with domains. restarted. opened in the browser ..
it turned out that the CNC was broken. from the address bar, you can freely walk through all the files.
in .htaccess
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-s
RewriteRule ^.*$ index.php [NC,L]
it used to work on openserver.
rummaged in apache config. mod_rewrite uncommented .
what could be wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Saneev, 2017-08-20
@Sahen

now like this.
RewriteEngine On
RewriteRule ^.*$ index.php [NC,L]
I don't know how adequate it is, but it works.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question