Plesk9 – Global Vars and Sym Links

Turn Global Variables ON/OFF
If you need to turn on register globals (you should be writing any new code so that it doesn’t need this).
add
php_admin_value register_globals on
Into a new file called
/var/www/vhosts/{insert domain name here}/conf/vhosts.conf
Now reconfigure apache to refect these new changes
./opt/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name={insert domain name here}
Symlink one domain to another in Plesk
I wasted hours trying to fix this, and a colleague came up with the solutions in minutes…
We needed to create a domain and symlink it to the root of another domain. This is especially useful for some CMS systems, where a domain needs its own Plesk Domain for setup email addreses, aliases etc. but that domain simply points to another one.
To symlink “Domain_A” to “Domain_B”
cd /var/www/vhosts/Domain_A/
mv httpdocs httpdocs_old
ln -s /var/www/vhosts/Domain_B/httpdocs
#chown -h changes the symlink itself not the "referred to" file
#chown --reference={filename}
# changes the owner to the same values as the {filename}
chown -h --reference=/var/www/vhosts/Domain_B/httpdocs httpdocs




Wah im so mad my samsung has been doing the clicking sounds for just over a week now, its 1st march 2010 and it wont even come on now, i have been looking online and it looks like hundreds of people have got the same problem ane Samsung are trying to say it aint a design fauly sounds like it to me, apparently it costs £160 to get repaired i havent got this sort of money at the moment, if i had of known this was common with this tv i would of bought another name, i think Samsung should pay for this why should we have to.