mirror directory

axman

Joined: 2002-09-07
Posts: 57
Posted: Sat, 2002-09-07 20:35

here is my situation. I have my own personal linux webserver running, and it can be accessed from 192.168.0.200, 140.xxx.xxx.xxx, and via a domain name. How can i make it so all these will work?

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2002-09-07 21:17

Is one of those IP addresses visible from everywhere? If so, just redirect the other two URLs to the one that works from everywhere.

Because Gallery 1.x requires a full URL, you'll have to change the code to make it adapt to using 3 different sites. Redirecting is the easiest way to go.

 
axman

Joined: 2002-09-07
Posts: 57
Posted: Sun, 2002-09-08 00:38

then can you explain to me the purpose of the mirror directory option in the setup?

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sun, 2002-09-08 04:05

It's a not-very-well documented feature all right :smile:

I wrote up a blurb on it <!-- BBCode Start --><A HREF="http://gallery.menalto.com/modules.php?op=modload&amp;name=phpBB_14&amp;file=index&amp;action=viewtopic&amp;topic=78&amp;892" TARGET="_blank">here</A><!-- BBCode End -->.

 
axman

Joined: 2002-09-07
Posts: 57
Posted: Sun, 2002-09-08 18:32

Is it possible in future version that you can get away from having to have the absoulte path to folders in the config?? It would be nice to have the gallery function fully from all different means of access to the site.

 
vallimar

Joined: 2002-08-15
Posts: 487
Posted: Sun, 2002-09-08 20:20

This isn't likey to happen with Gallery 1.x, you can try mentioning
this in the G2 development forum though. They may even have
this solved there already.