HI,
I am trying to create symlink in plesk 12 but no success, detail is as follows
Plesk:- v12
PHP:- 7
APache with Nginx as reverse Proxy,FPM Application Served By Apache
OS:- Ubuntun v 14
What i want:- i want to symlink domain2.com to domain1.com so if i type domain2.com in browser it should show content of domain1.com (i want the link to be domain2.com in browser for some reasons)
Steps
<Directory /var/www/vhosts/domain2.com/httpdocs/>
Options +ExecCGI +FollowSymlinks
</Directory>
But No Luck
.
Kindly suggest me what to do
I am trying to create symlink in plesk 12 but no success, detail is as follows
Plesk:- v12
PHP:- 7
APache with Nginx as reverse Proxy,FPM Application Served By Apache
OS:- Ubuntun v 14
What i want:- i want to symlink domain2.com to domain1.com so if i type domain2.com in browser it should show content of domain1.com (i want the link to be domain2.com in browser for some reasons)
Steps
- I created two domains, domain1.com and domain2.com
- i remove all contents from domain2.com
- i use following code to create symlink ln -s /var/www/vhosts/domain1.com/httpdocs/ /var/www/vhosts/domain2.com/httpdocs/
- i use following code in Additional directives for HTTP
<Directory /var/www/vhosts/domain2.com/httpdocs/>
Options +ExecCGI +FollowSymlinks
</Directory>
But No Luck
.
Kindly suggest me what to do