• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Server Error 403 Forbidden You do not have permission to access this document.

elandrian

New Pleskian
Server operating system version
Ubuntu 20.04
Plesk version and microupdate number
18.0.59 #2
Hello everyone. Help me with this problem, I imported the site. Returns an error.
Скриншот 28-03-2024 081102.jpg

Error log

Скриншот 28-03-2024 081458.jpg

The site size is not displayed. Although the files are being filled in. And php is not displayed. What kind of permission to put. If this is a problem.
Скриншот 28-03-2024 082005.jpg
 
Make sure that your httpdocs folder has permissions 0750 and that it is owned by <your subscription user>:psaserv.
 
Last edited:
Have you also checked the permissions and ownership of your .htaccess file? It should be at least 0644 and <your subsription user>:psacln.
 
Yes, of course I checked it out. Everything is fine.


1 Most likely the problem is here. I can't open it through the interface. And it turns out the system too. Tell me how to fix it?

Скриншот 29-03-2024 095021.jpg
 
Can you read the file on the console, like
# cat /var/www/vhosts/<your subscription domain>/httpdocs/config.ini
?
What permissions and ownership does it have?
 
This means that the file is good. It's just the online file viewer who doesn't like the ".ini" ending I guess.
 
After entering the command, the file opened in the console.
Hi.

"Unsupported file format" most possibly means that file doesn't recognized as test file. Could you please show the output of next command:
# file /var/www/vhosts/<your subscription domain>/httpdocs/config.ini
For usual ini file, there should be something like "myfile.ini: ASCII text". If you see something else (not text) - may be your file contains some strange symbols or something like that. In that case, you can try to cope visible content of file using cat and past it to new file using Plesk File Manager. And then just rename old file to config_bak.ini, and new file to config.ini
 
Hi.

"Unsupported file format" most possibly means that file doesn't recognized as test file. Could you please show the output of next command:
# file /var/www/vhosts/<your subscription domain>/httpdocs/config.ini
For usual ini file, there should be something like "myfile.ini: ASCII text". If you see something else (not text) - may be your file contains some strange symbols or something like that. In that case, you can try to cope visible content of file using cat and past it to new file using Plesk File Manager. And then just rename old file to config_bak.ini, and new file to config.ini
22.jpg
I did as I was told, nothing helped. We also do not read the file. Uploaded the file to the hosting is readable.
 
The file appears corrupted, it is not detected as a text file, possibly due to the encoding

Try to make a backup of file
delete the file
create the file from plesk, then copy the content from plesk file manager

Or

Open Your file config.ini

Search for [SETTINGS]

And remove last character \015 > Difference between \015 & \012 and \r & \n


You can also try solve this issue with iconv
 
Hi.

"Unsupported file format" most possibly means that file doesn't recognized as test file. Could you please show the output of next command:
# file /var/www/vhosts/<your subscription domain>/httpdocs/config.ini
For usual ini file, there should be something like "myfile.ini: ASCII text". If you see something else (not text) - may be your file contains some strange symbols or something like that. In that case, you can try to cope visible content of file using cat and past it to new file using Plesk File Manager. And then just rename old file to config_bak.ini, and new file to config.ini
Can you tell me how to make a copy of the entire customization server, along with sites and and databases?
 
Back
Top