Page 1 of 1

Moving the Attachments Directory

Posted: 13 Dec 2013, 18:06
by Dave
Hi,

I have openCATS installed on CentOS and would like to move the 'attachments' directory so it is located on another disk. Can I change the path in openCATS, so instead of using the default /var/www/html/cats/attachments it points to /data/cats/attachments?

Many thanks for you help!

Dave

Re: Moving the Attachments Directory

Posted: 13 Dec 2013, 21:57
by Dave
I managed to move the attachments directory by using symbolic links.

First I deleted the attachments directory, which is created by default during the install (/var/www/html/cats/attachments).

I then changed to the /var/www/html/cats/ directory, from there I created a symlink.
Code: Select all
ln -s /data/cats/attachments attachments
:mrgreen:

Thanks