Help with Gallery 2 migration: step 7 of pre-migration preparation - you want me to do what? how?

stefanaalten
stefanaalten's picture

Joined: 2004-08-23
Posts: 38
Posted: Tue, 2009-10-27 19:18

Referring to step 7 of the pre-migration prep (following the instructions at http://codex.gallery2.org/Gallery2:migration). My gallery is not at www.example.com/gallery but at gallery.example.com (not real URL - see below for that) and I'm not sure what to do. The instructions say:

"Rename your Gallery v1 application folder (likely '../gallery') to "g1" (We will use the original gallery folder for the Gallery v2 install). Modify your web server configuration to reflect the folder change if necessary. You may also need to modify your "g1" .htaccess file if you were using mod_rewrite for search-engine friendly URLs."

But my folder structure is as follows:

/public : This holds most of my web site's files, including a page "2_gallery.htm" which contains a frame in which the gallery (gallery.aaltenvoogd.com) is displayed.

/gallery : This holds a single folder: "public"
The /gallery/public folder holds all the Gallery 1 folders (albums, classes, contrib, css, etc.)

Two things I don't understand in the instructions:

1. What folder should I remame to "g1"?
2. What is meant by "modify your web server configuration" ???

Many thanks in advance for any help - I've been stuck on this for far too long & would very much like to move to G2! :-)

System info from config wiz below:

Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): www.gallery.aaltenvoogd.com, www.aaltenvoogd.com/2_gallery.htm
Gallery version: 1.5.10
Apache version: 10341100
PHP version (don't just say PHP 4, please): 5.2.9
Graphics Toolkit: Netpbm
Operating system: Linux (?) (assuming my ISP's operating system is meant?)
Web browser/version (if applicable): Firefox, Chrome, IE8, Safari on iPhone

Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 9289
Posted: Tue, 2009-10-27 20:41
Quote:
/gallery : This holds a single folder: "public"
The /gallery/public folder holds all the Gallery 1 folders (albums, classes, contrib, css, etc.)

And this is where gallery.example.com points to, the /gallery/public folder?

I don't think G2 needs www access to G1, just file system access. So what I would do, if it was me making the migration. Rename the public folder to g1. This becomes where G1 is, though it's no longer web accessible. Then create a new directory called public and install G2 into that.

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments