I have two versions of the site which I have to swap really fast, multiple times.
In my home directory, I have:
public_html holds the current website, public_html_3.0 holds the new website.
I wish to replace the two by doing:
After trying it on a test account, I get a Forbidden You don't have permission to access / on this server. error.
I have made sure that the public_html_* folders have identical permissions, but I guess it's a symlink issue? Am I trying to do something unthinkable and highly not recommended?
Using VPS WHM11.38.1/Cpanel11 with root privileges on CentOs 5.9.
Thanks!
In my home directory, I have:
Code:
drwxr-x--- 8 lorem nobody 4096 Jul 12 20:50 public_html/
drwxr-x--- 3 lorem nobody 4096 Jul 13 12:59 public_html_3.0/
I wish to replace the two by doing:
Code:
//move the complete current site to another tmp location
mv public_html public_html_2.0
//move the new site in place
mv public_html_3.0 public_html
I have made sure that the public_html_* folders have identical permissions, but I guess it's a symlink issue? Am I trying to do something unthinkable and highly not recommended?
Using VPS WHM11.38.1/Cpanel11 with root privileges on CentOs 5.9.
Thanks!