VARPATH on sdb1

eiannicelli

Joined: 2012-05-11
Posts: 4
Posted: Fri, 2012-05-11 14:59

Hi, I need to change the place of the VARPATH from /var/www/gallery3/var to /media/sdb1/var.
I've tried to change index.php, but it doesn't work.
Then, I've tried with 'ln -s /media/sdv1/var var', on the gallery3 folder with the var folder on /media/sdb1 but doesn't work either.
Can anyone help me with this? it's possible to do what I want?

Thanks!!

Regards, Ezequiel.

(Sorry my english, I'am from Argentina :D)

 
eiannicelli

Joined: 2012-05-11
Posts: 4
Posted: Fri, 2012-05-11 15:01
eiannicelli wrote:
Hi, I need to change the place of the VARPATH from /var/www/gallery3/var to /media/sdb1/var.
I've tried to change index.php, but it doesn't work.
Then, I've tried with 'ln -s /media/sdv1/var var', on the gallery3 folder with the var folder on /media/sdb1 but doesn't work either.
Can anyone help me with this? it's possible to do what I want?

Thanks!!

Regards, Ezequiel.

(Sorry my english, I'am from Argentina :D)

I've forgot, the server is a Virtual Machine with Ubuntu 10.04! :)

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25957
Posted: Sun, 2012-05-13 00:53

symlink?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
eiannicelli

Joined: 2012-05-11
Posts: 4
Posted: Mon, 2012-05-14 15:57

Thats the second thing that i've tried, but the gallery still telling me that he can't find a place to place my pictures :S..
Other option?
Thanks for answer!!

Ezequiel.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25957
Posted: Mon, 2012-05-14 20:44
Quote:
Other option?

Not from me as I have never tried but others have been successful as far as I know.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
eiannicelli

Joined: 2012-05-11
Posts: 4
Posted: Thu, 2012-05-17 14:39

I've tried again the ln -s command option..and it work! :D
surely I was doing something wrong.

Thanks Dave!