• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

RewriteRule into another subscription

rewb0rn

New Pleskian
Hello,

I have several domains that each use their own subscription. Now I want to set up a MultiSite Wordpress and want to redirect selected traffic from domain A in subscription A into domain B in subscription B. Therefore I created a symbolic link inside the domain A directory that points to the domain B directory. Inside the .htaccess file I use this line for the redirect:

RewriteRule ^$ /LINK_TO_DOMAIN_B/index.php [L]

However this gives me a 403 Access denied:

"Forbidden
You don't have permission to access /domain_b/index.php on this server."


When I use the same setup, only placing domain B in subcription A (meaning domain A and domain B have the same parent folder) it works. Why?

I thought that in all cases the user would be www-data, so it should not matter if domain B is in a different subscription or not.

Thanks
 
Last edited:
Okay for anyone wondering: There were 2 issues. First I had to add Options FollowSymLinks -SymLinksIfOwnerMatch, so that Apache would follow SymLinks even if the owner is different. After that I had to add the path into the open_basedir in the php.ini so that php would run in the linked location as well.
 
Back
Top