forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: mitko on November 22, 2013, 09:18:54 pm

Title: Changing Album Directory value
Post by: mitko on November 22, 2013, 09:18:54 pm
Hi guys!

I have a problems with performance at hoster. I've got some reccommendation of hoster to improve it - creation of static application pool and move static images there - see details here: http://docs.webfaction.com/software/static.html (http://docs.webfaction.com/software/static.html?highlight=serving%20static%20files#serving-static-media))
Is this possible to apply such changes to coppermine installation?

Many thanks for your advices!
Title: Re: Changing Album Directory value
Post by: Αndré on November 28, 2013, 02:41:35 pm
If Coppermine has access to
Code: [Select]
$HOME/webapps/static-onlyit should work if I understood it correctly.

This is how I'd test it:
- rename directory "albums" to "albums_test"
- create static application for path "albums"
- copy/move the content of your albums directory (albums_test) to your static directory (e.g. $HOME/webapps/static-only)
- create a symbolic link "albums" with target "$HOME/webapps/static-only"

Don't forget to make a backup before you start!