Quantcast
Channel: Plesk 12.x for Linux
Viewing all articles
Browse latest Browse all 5117

Cannot use index.php in mod_rewite

$
0
0
I've just migrated a domain to a new server. From CentOS 6.5 to Centos 7.2

Mostly it has gone pretty well. But in one domain I am unable to use index.php in mod_rewrite.

This is the .htaccess file:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

With this configuration I get the default 'Welcome to Plesk' page. I also see Got error...

Cannot use index.php in mod_rewite

Viewing all articles
Browse latest Browse all 5117

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>