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
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