• 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 Problems with Open-Basedir and .htaccess (Plesk Obsidian 18.0.68 Web Pro Edition on Debian 12.9)

itksystemhaus

New Pleskian
Server operating system version
Debian 12.9
Plesk version and microupdate number
Plesk Obsidian 18.0.68
Hello,


I try to move our website to a new plesk server, but I have some problems I can't solve.

Our website has three languages and we have three domains: website.de, website.com, website.fr

The domains have their directories /var/www/vhosts/website.de/httpdocs, /var/www/vhosts/website.com/httpdocs, /var/www/vhosts/website.fr/httpdocs

I have a management-domain website.net which has its directory /var/www/vhosts/website.net/httpdocs

Since there are hundrets of thousands jpg and pdf files and the php-files are also all the same, only the config files are different, I have all those original files in /var/www/vhosts/website.net/httpdocs

In the language domains I have symbolic links to all files and directories. In every php-config I have the open_basedir setting as follows:
{WEBSPACEROOT}{/}{:}{TMP}{/}:/var/www/vhosts/domain.net/httpdocs
Files have mode 644, and directories 755

When I try to open a picture https://domain.com/img/picture.jpg, this works, when Proxy-Mode under nginx-settings is turned off.
When proxy-mode is turned on, I get a 403
AH00037: Symbolic link not allowed or link target not accessible: /var/www/vhosts/domain.net/img/image.jpg

My old server has Proxy mode enabled and it works without problems. I have the same setup there.



My other problem is the .htaccess with hundrets of rewrites, which is ignored. I don't know why. I cannot find any setting in plesk, where I can enable the .htaccess.

Any thoughts? Thank you.

Best regards
Ralph
 
The .htaccess is a apache thing meaning you need to have proxy mode enabled and configured PHP to be either FPM application served by Apache or FastCGI application served by Apache for .htaccess to be honored.

Also make sure Restrict the ability to follow symbolic links is turned off in the Apache & nginx Settings.
 
I have chosen FPM application served by Apache and Restrict the ability to follow symbolic links is disabled. This is also the setting on the old server. But I get this error message anyway. I even made a subdomain test.domoin.net, which is in the same subscription in /var/www/vhosts/domain.net/test.domain.net. So it has even the same user, but it doesn't work.
 
Back
Top