Jan Bludau
Basic Pleskian
hello everybody,
i tried a couple of things i had done the symlink from one httpdocs (domain.de) to another httpdocs (domain.com main domain).
i can't use domain alias because of seperate E-Mail Stuff.
A Example symlink for domain.de (usr_a : psacln) points to domain.com (usr_x : psacln)
ln -s -v /var/www/vhosts/domain.com/httpdocs/ ./httpdocs
chown -h usr_x ; psacln ./httpdocs (domain.com) for the symlink
chmod 0755 ./httpdocs
i had disabled the ristriction on both domains to follow the symlink.
i can access stuff in domain.com/example.css without problems but i can't access *.php files (usr_a : psacln) i receive an error of if i remember access denied.
i tried
Options +SymLinksIfOwnerMatch
Options -SymLinksIfOwnerMatch
in apache http and https directives.
in .htaccess
Options -SymLinksIfOwnerMatch
Options +FollowSymlinks
i tried open_base_dir directory to extend to /var/www/vhosts/domain.com/httpdocs/ for the symlinked domain.de.
i tried apache fastcgi, apache php-fpm, nginx php-fpm no result.
can anybody help me where is my mistake?
is it possible with plesk to do that symlink stuff.
i wanna host multiple domain with one source-code with different email-boxes, own SSL ...
in domain.de i receive this message.
AH00037: Symbolic link not allowed or link target not accessible: /var/www/vhosts/domain.de/httpdocs
after following the guide:
the ownership of domain.de must be domain.com with usr_x . psaserv and the option Options -SymLinksIfOwnerMatch had to be in domain.de http / https directive under apache
but now i receive this error "AH01071: Got error 'Primary script unknown'"
in the frontend i see "File not found."
TIA
i tried a couple of things i had done the symlink from one httpdocs (domain.de) to another httpdocs (domain.com main domain).
i can't use domain alias because of seperate E-Mail Stuff.
A Example symlink for domain.de (usr_a : psacln) points to domain.com (usr_x : psacln)
ln -s -v /var/www/vhosts/domain.com/httpdocs/ ./httpdocs
chown -h usr_x ; psacln ./httpdocs (domain.com) for the symlink
chmod 0755 ./httpdocs
i had disabled the ristriction on both domains to follow the symlink.
i can access stuff in domain.com/example.css without problems but i can't access *.php files (usr_a : psacln) i receive an error of if i remember access denied.
i tried
Options +SymLinksIfOwnerMatch
Options -SymLinksIfOwnerMatch
in apache http and https directives.
in .htaccess
Options -SymLinksIfOwnerMatch
Options +FollowSymlinks
i tried open_base_dir directory to extend to /var/www/vhosts/domain.com/httpdocs/ for the symlinked domain.de.
i tried apache fastcgi, apache php-fpm, nginx php-fpm no result.
can anybody help me where is my mistake?
is it possible with plesk to do that symlink stuff.
i wanna host multiple domain with one source-code with different email-boxes, own SSL ...
in domain.de i receive this message.
AH00037: Symbolic link not allowed or link target not accessible: /var/www/vhosts/domain.de/httpdocs
after following the guide:
the ownership of domain.de must be domain.com with usr_x . psaserv and the option Options -SymLinksIfOwnerMatch had to be in domain.de http / https directive under apache
Website on Plesk shows 403 Forbidden: Symbolic link not allowed or link target not accessible
Website on Plesk shows 403 Forbidden: Symbolic link not allowed or link target not accessiblebut now i receive this error "AH01071: Got error 'Primary script unknown'"
in the frontend i see "File not found."
TIA
Last edited: