Changing gallery URL

watsonalgas

Joined: 2005-02-01
Posts: 52
Posted: Fri, 2005-05-06 02:48

I was just wondering where I can change the URL of my gallery, if this makes any sense. When I first set it up, it was on a subdomain (mali.watsonalgas.com.ru/gallery2) and now I have registered a new domain (mali.net.ru) which is also redirected to the subdomain. I would like gallery to read off of mali.net.ru/gallery2 if possible, without having to reinstall everything...if possible. Thanks.
----

Gallery URL (optional):mali.watsonalgas.com.ru/gallery2
Gallery version:gallery2 beta 2
Webserver (with version):
Datatabase (with version):MySQL
PHP version (eg 4.2.1):4.3.1
phpinfo URL (optional):
Graphics Toolkit(s):GD
Operating system:FreeBSD
Web browser/version:Firefox
G1 version (for migration bugs):

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2005-05-06 03:51

When I changed from http://mydomain.com/gallery2 to http://photos.mydomain.com/ I only had to change one line in the config.php file and that was it.

HTH

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2005-05-06 04:22

did you try mail.net.ru/gallery2? you may find it works already..
nivekiam, you probably changed the "galleryId" string.. this is a good idea for general correctness, but is really only important if you ever setup multisite.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2005-05-06 04:33

Thanks for the info mindless. IIRC, everything worked fine without changing that, but I kept seeing references to my old URLs so I found that and changed it.

 
watsonalgas

Joined: 2005-02-01
Posts: 52
Posted: Fri, 2005-05-06 17:04
mindless wrote:
did you try mail.net.ru/gallery2? you may find it works already..
nivekiam, you probably changed the "galleryId" string.. this is a good idea for general correctness, but is really only important if you ever setup multisite.

Yeah, the main gallery page works with that, but whenever I enter a sub-album or item, it will go back to the mali.watosnalgas.com.ru, I don't know if there is any way to change this or not.

 
pelle
pelle's picture

Joined: 2004-12-10
Posts: 389
Posted: Sat, 2005-05-07 09:58

Are you using an old version of URL Rewrite (0.9.1 or 0.9.2)? If you are, get the latest nightly snapshot or update your cvs.