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?
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
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&name=phpBB_14&file=index&action=viewtopic&topic=78&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.
Posts: 7994
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.
Posts: 57
then can you explain to me the purpose of the mirror directory option in the setup?
Posts: 7994
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&name=phpBB_14&file=index&action=viewtopic&topic=78&892" TARGET="_blank">here</A><!-- BBCode End -->.
Posts: 57
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.
Posts: 487
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.