How do you make Gallery your home page

Mark1958

Joined: 2008-01-06
Posts: 2
Posted: Sun, 2008-01-06 22:00

I'd like to make Gallery my home page, without the /Gallery in the url. My www.mysite.com (home page) and www.mysite.com/Gallery work fine independently, but I can't figure out how to make Gallery the home page.

I have seen a lot of documents on this, but as a novice, I can't figure it out. Any step by step "Gallery for dummies" help would be greatly appreciated.

Gallery version = 2.2.3 core 1.2.0.5
PHP version = 4.4.1 apache
Webserver = Apache
Database = mysqlt 4.0.16, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, LinkItemToolkit, NetPBM, SquareThumb, Thumbnail, Gd
Acceleration = none, none
Operating system = FreeBSD df34.dot5hosting.com 4.11-STABLE FreeBSD 4.11-STABLE #0: Wed Apr i386
Default theme = greypop
gettext = enabled
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; FunWebProducts; YPC 3.2.0; .NET CLR 2.0.50727)
Rows in GalleryAccessMap table = 41
Rows in GalleryAccessSubscriberMap table = 92
Rows in GalleryUser table = 2
Rows in GalleryItem table = 89
Rows in GalleryAlbumItem table = 5
Rows in GalleryCacheMap table = 0

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2008-01-06 22:15
 
Mark1958

Joined: 2008-01-06
Posts: 2
Posted: Sun, 2008-01-06 22:50

Dave-
Thanks for the fast reply, but I'm still at a loss. I copied the text from link you gave me below. I can't locate the "url rewrite module" noted in step one. When I go to site admin there are plenty of categories, but the path site admin->Modules is not listed.

[edit] How can I move my gallery installation from one folder to another?
Here's a step by step guide:

Deactivate and uninstall the url rewrite module if it's active (not just disable the rewrite rules, disable and uninstall the whole module in site admin -> modules).
Move the gallery folder (move/rename it with an ftp application, a file browser or with a shell). If you choose to move gallery from a subdirectory to the root of your website, just move all files and directories that are in the gallery folder to the web root directory.
Edit config.php manually. If the g2data was within the gallery directory and you moved it, update the line:
$gallery->setConfig('data.gallery.base', 'some/path');
If you use a multisite install, you also have to update:

$gallery->setConfig('galleryBaseUrl', );
Save config.php, and you're done.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2008-01-07 02:42

I corected the docs to reflect a name change from Modules to plugins.

Do you have short urls enabled?
What is the real url to to your site?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
serbanc

Joined: 2006-05-19
Posts: 314
Posted: Mon, 2008-01-07 07:28

a supplemental question:
can I keep G2 in /gallery2 but move only main.php/index.php in the root of web ?

(of course, a redirect can make the job, but it's a different approach)
serbanc - www.e-poze.ro

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2008-01-07 14:36
Quote:
can I keep G2 in /gallery2 but move only main.php/index.php in the root of web ?

No. not without a bunch of changes.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
serbanc

Joined: 2006-05-19
Posts: 314
Posted: Mon, 2008-01-07 20:59

ok, thx.

serbanc - www.e-poze.ro