[WINDOWS] Move "var" folder Gallery3

Xmedia

Joined: 2011-08-23
Posts: 9
Posted: Thu, 2011-11-10 23:56

Hey

I have installed Gallery3 on my WHS v1.
Really Cool :-)
Now, i will move the "var" folder before i upload photos.

My Folder is now here
C:\Inetpub\wwwroot\Gallery3\var

My Folder must to be here
D:\shares\Gallery\var

Is there a chance to move this folder ?

Sorry for my English
Best Regards
Xmedia

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2011-11-11 05:37

First Windows isn't a supported platform, IIS even less so. If you can somehow possibly create a symlink equivalent on Windows that will work, then that should work (look at the mklink command). Otherwise, no and no matter what you do it's not supported and if it works, it works, if it doesn't, well, it doesn't.

If you were on Linux you could move var to /shares/Gallery/var and symlink it from /Inetpub/wwwroot/Gallery3/var
____________________________________________
Like Gallery? Like the support? Donate now!

 
Xmedia

Joined: 2011-08-23
Posts: 9
Posted: Fri, 2011-11-11 07:58

hey,

i have tried out with mklink.
I can not remove the "Read-Only" in the properities from the var-junction, so Gallery3 can not create database.php

Best Regards
Xmedia

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2011-11-11 13:55

Try using mklink /d instead of mklink /j
____________________________________________
Like Gallery? Like the support? Donate now!

 
Xmedia

Joined: 2011-08-23
Posts: 9
Posted: Fri, 2011-11-11 17:20

Hey,

I tried with linkd and junction.exe.
Windows Server 2003 does not support mklink.

Best Regards
Xmedia

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sat, 2011-11-12 01:47

Live with it, install G2, switch to Linux or find something that's supported on Windows.
____________________________________________
Like Gallery? Like the support? Donate now!