Hello, recently moved from Virtualmin to PLESK web pro edition for security reasons. The application on the server is hand-written and works like this: all the code files stays on the main domain but application is executed on many subdomains. To perform this I need to create symbolic links to the code that residue on main domain on each subdomain. Unfortunately, I am not able to perform this action as I did it on webmin:
1. through ssh I created symbolic link to the directory with ln -s command;
2. edited Apache config file so that those links working with
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI +FollowSymLinks -SymLinksIfOwnerMatch
now by runninning command ln -s I have whole directory copied in subdomain!?!?! and directory /etc/apache2/sites-enabled contain only default site.
Could you, please, help me with resolving this problem?
Otherwise I have to go back to the old server solution.
1. through ssh I created symbolic link to the directory with ln -s command;
2. edited Apache config file so that those links working with
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI +FollowSymLinks -SymLinksIfOwnerMatch
now by runninning command ln -s I have whole directory copied in subdomain!?!?! and directory /etc/apache2/sites-enabled contain only default site.
Could you, please, help me with resolving this problem?
Otherwise I have to go back to the old server solution.