Hello all,
Hopefully someone can help me with this.
I have a server which hosts 2 domains. One is my domain (www.mydomain.com) the other is a target domain (www.targetdomain.com).
www.mydomain.com has a file upload script and a delete file script. I have both of these scripts working when used to upload files to www.mydomain.com and delete files from www.mydomain.com.
I want to be able to upload files to www.targetdomain.com using the scripts hosted on www.mydomain.com. I also want to be able to delete files from www.targetdomain.com using the scripts hosted on www.mydomain.com.
I have the path to the file I want to delete as well as the upload directory
/home/target_domain/ <-- Upload Directory
/home/target_domain/file_to_delete.jpg <-- File to Delete
How do I go about setting up the permissions to do these operations?
This is a Linux server running Apache
Thanks