• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Resolved Website returning "File not found." message instead of serving index.php content

gennolo

Basic Pleskian
After upgrading a Centos 7 VM to latest Plesk Obsidian,
a couple of websites started returning an nginx "File not found." message when browsing certain subdirectories
that should serve an "index.php" file (like mydomain.com/mysite/myfolder ).

error_log shows :
AH01071: Got error 'Primary script unknown\n'
at each web request.

When browsing
mydomain.com/mysite/myfolder/index.php (including index.php)
page is working OK

After some investigation, it looks like it has something to do with this .htaccess rule in the folder :
RewriteRule .? %{ENV:BASE}/index.php [L]
which was ok before, and for some reason is ignored now.

Domain configuration is set to FPM served by Apache / PHP 7.1 with Plesk standard settings..
I already tried a "plesk repair web" and checked domain permissions, tried to switch PHP versions etc..
Any help will be really appreciated :)
 
See if this works for you:


It worked fine for me, disabled wp-toolkit
 
Back
Top