User Info:
Gallery version = 2.0.2 core 1.0.0.2
PHP version = 5.0.4 cgi-fcgi
Webserver = Apache/1.3.33 (Unix) DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a PHP/4.4.2 mod_ssl/2.8.22 OpenSSL/0.9.7e
Database = mysql 5.0.18-standard-log
Toolkits = ArchiveUpload, Exif, ImageMagick, NetPBM, SquareThumb, Thumbnail, Gd
Operating system = Linux sawtelle 2.4.32-grsec+f6b+gr217+nfs+a32+fuse23+++686+c6+gr6b-v6.192 #1 SMP Wed Jan 11 14:25:02 PST 2006 i686
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
+++++++++++++++++++++++++++++++++++++++++++++++
I have made two installs of Gallery (decided not to multisite) into 2 directories of my domain photoquest.co.uk One in folder "richard" the other in "gallery"
Both installs are working fine - and both have a data folder outside the route for the install but on the same host.
I have created a sub domain richard.photoquest.co.uk and what I would like to do, is get the "richard" install to open and operate from the sub domain, with the other one, opening from photoquest.co.uk
It should all be relatively simple to do, but it doesnt appear to be!
If I map the drive in dreamhost, the above works and loads. But it "forgets" where the data folders are located and as such just opens a browser minus any images etc.
If I redirect, richard.photoquest.co.uk will open a working gallery, but it displays photoquest.co.uk/richard. Similary if I redirect photoquest.co.uk to photoquest.co.uk/gallery, it works - but then the subdomain install becomes richard/richard ie it all looks very messy.
Is there an easy way to achieve the goal of two galleries opening as Im hoping to do as explained above?
If anything is unclear (and I am certain there may be bits Ive not explained well) just ask away.
Many thanks
Les
Posts: 31
The subdomain richard.photoquest.co.uk now points to photoquest.co.uk/richard - but the page wont load and I get the error message "error id: "bad_httpd_conf" "
Im assuming from readin elsewhere in the forum, I need to create an .http access file to instruct where files are located from the root of my host. Problem is - if this is the case, I have no idea how - and also, if this will affect the other gallery.
Any hand holding appreciated! ;-)
Posts: 32509
FAQ: How can I move my gallery installation from one folder to another?
Posts: 31
Cheers Valiant. You are a star.
However - one question!
Since i can use dreamhosts remap and have the subdomain active from within its current folder, could I not just re-write the config file at its current location and not need to move the entire contents? The advantages (other than the speed it takes to transfer the data)would be I am still using their one click updates (albeit one file).
Cheers
Posts: 32509
via ftp, you can use the rename / move command. no need to transfer files.
of course you can edit config.php too, but follow the other steps too, that is, disable and uninstall url rewrite etc.
Posts: 31
Cheers for that again....but I'd jumped the gun before you replied and decided to copy the files over! (doh!)
I did read and uninstall url rewrite;-) Also - the config.php file does point to the same location (so not sure why there WAS any problems - unless its a url rewrite issue?
So at the mo, just waiting for the files to transfer - however your reply suggests something I wasnt aware of (and useful for the future!)
Im using WS_FTP to transfer. Right click gives the option to copy, and rename obviously would do just that. But I'm not ware of any move function? Ive just looked in the help files and it does mention you need to right click on the files, select "operations" and then "move files". However this is greyed out.
I appreciate this isnt exactly direct Gallery support so please excuse the question.....how would I select move? No probs if you dont know without looking up - but Im sure it will be useful for me in the future as well as others.
Cheers again.
Les
Posts: 32509
in smartftp, i only got a rename option. i then enter the relative path to move it to another directory.
e.g. to move public_html/gallery2 to public_html/subdomain/gallery2 i'd click rename and then enter ../subdomain/gallery2
Posts: 31
Ah, ok. I have just seen in WS_FTP, you need to turn on the option to move. I did just try in in another window (for another site) and it did indeed just rename the contents inside the folder i chose. But moving contents to somewhere that the contents isnt seen (ie below the current folder level) I haven't a clue.
The option to rename in WS_FTP just does that.
I tried dragging the contents like you would in explorer, but that simply made a copy. Annoying since it took about 14 hours to transfer the contents. Not sure why it took so long, but it did!
I'll have a bash with smartftp next time!
Cheers