Is it possible to keep the image files on a separate storage
Posted: 19 Jan 2015, 12:29
Hello,
I have the following situation: I have two machines (in fact they are virtuel ones). One is hosting a site via jommla and has a phoca gallery within it. The oder host has a large disk attached and many images and other stuff is stored there. (This separation is done due to other considerations, I do not want to change it.)
Now I want to publish images from the storage host via phoca. It should be possible to access the files via network on the apache host and set some sort of link inside the DocumentRoot. So it should be possible to access the files in general.
1. Is it possible to avoid saving the images in two places (on apache and on storage host)?
2. Does the directory need to be writable? (I think of the thumbnails)
3. If 2 is yes: Can I somehow change the thumbnail path to a different location (at best globally)?
Thanks a lot
Christian
I have the following situation: I have two machines (in fact they are virtuel ones). One is hosting a site via jommla and has a phoca gallery within it. The oder host has a large disk attached and many images and other stuff is stored there. (This separation is done due to other considerations, I do not want to change it.)
Now I want to publish images from the storage host via phoca. It should be possible to access the files via network on the apache host and set some sort of link inside the DocumentRoot. So it should be possible to access the files in general.
1. Is it possible to avoid saving the images in two places (on apache and on storage host)?
2. Does the directory need to be writable? (I think of the thumbnails)
3. If 2 is yes: Can I somehow change the thumbnail path to a different location (at best globally)?
Thanks a lot
Christian