Hello, Dear friends!
Please tell me, colleagues, who has dealt with such a task.
Cyrillic domain, add to the panel. HCP 1.8.12
Create a PHP version check file in the root
phpinfo.php
<?php
phpinfo();
?>
Access the file from the browser and get the answer
File not found
I create the same file
phpinfo.txt
and the browser opens it.
Error log
AH01071: Got error ‘Primary script unknown’
Does anyone have experience with such a task
Please tell me.
To me it sounds like file permission issues. If the file was created as an elevated user like root or something the users php process may not have permission to execute that file. where the .txt file is just read only.
I’m unable to test with Cyrillic domain encoding, but, to me, file permission seems likely.
to fix. Create the file on a computer, and upload to the root directory from the server GUI file manager on the correct user. it will create the file with the correct ownership to be executed.
Same thing happens when uploading or uncompromising Wordpress files via ssh. messes with the permissions, way easier to upload and unzip via the panel gui than to go back and apply the correct permissions and ownership recursively.
One interesting feature related to the recoding of GET parameters is the reason for this behavior. This applies to cases of IDN domains.
If you are also interested in this, I want to share what I managed to find for this request
My personal opinion.
I want to test it, now I am delving into the study of related topics to understand it better. As I feel more confident, I will make the recommended changes.
Thanks to this advice, the issue is resolved. Everything works. Thanks to the developers! Respect and best wishes
Both configuration files need to be corrected
apache2.conf
apache2.ssl.conf