PHP code serving multiple websites on same servr
Posted: Tue May 18, 2010 10:58 pm
Hi
I have 10s of websites running on same server , all has same admin panel built in PHP. On admin side there is an option to select website to admin for. Administrator can upload files to different websites but its not uploading . To tell you the directory structure, like follows
/var/www/vhosts/website1.com/httpdocs/admin/
/var/www/vhosts/website2.com/httpdocs/uploads/
/var/www/vhosts/website3.com/httpdocs/uploads/
/var/www/vhosts/website4.com/httpdocs/uploads/
etc
/var/www/vhosts/website1.com/httpdocs/admin/ is the master website where admin panel running. But through admin panel its not uploading files to '/var/www/vhosts/website2.com/httpdocs/uploads/' folder.
Thanks in advance for your help
thanks
I have 10s of websites running on same server , all has same admin panel built in PHP. On admin side there is an option to select website to admin for. Administrator can upload files to different websites but its not uploading . To tell you the directory structure, like follows
/var/www/vhosts/website1.com/httpdocs/admin/
/var/www/vhosts/website2.com/httpdocs/uploads/
/var/www/vhosts/website3.com/httpdocs/uploads/
/var/www/vhosts/website4.com/httpdocs/uploads/
etc
/var/www/vhosts/website1.com/httpdocs/admin/ is the master website where admin panel running. But through admin panel its not uploading files to '/var/www/vhosts/website2.com/httpdocs/uploads/' folder.
Thanks in advance for your help
thanks