Accessing Gallery from the Server Itself?

deckerboy1

Joined: 2002-09-23
Posts: 10
Posted: Thu, 2002-09-26 00:25

if i want to access gallery from the server itself without having to change any config files and/or restart the computer every time i do so, what must i do? currently, it doesnt let me do it properly.

is it abnormal that my computer can't access itself through the external ip? or am i doing something wrong?

by the way, i also looked at and tried the methods in <!-- BBCode Start --><A HREF="http://gallery.menalto.com/modules.php?op=modload&amp;name=phpBB_14&amp;file=index&amp;action=viewtopic&amp;topic=457&amp;1678" TARGET="_blank">this</A><!-- BBCode End --> link, but with no luck. maybe i just did it wrong.

speaking of which, what is the "internal name" of the computer? wouldnt that just be the internal IP? this may be where the problem lies... who knows...

 
JnGDotCom

Joined: 2002-09-26
Posts: 5
Posted: Thu, 2002-09-26 01:53

If your server is configured properly, you can access it from itself with:

http://localhost/
http://127.0.0.1/
http://<netbios_machine_name>/

 
deckerboy1

Joined: 2002-09-23
Posts: 10
Posted: Thu, 2002-09-26 02:04

i know that, and to some extent i CAN access it that way, but something seems to be amiss in my settings or something, because the page (gallery/index.php) does not seem to display properly when i access this way: the background is white instead of what it is supposed to be, and the logo in the top left doesnt display (just a red X). also, if i try to go to any links on this page which stay on my server, (namely the "login" link), it gives me a 404 error.

basically, it looks like this: (without the errors though, i just didnt bother to update it... :grin:)

<!-- BBCode Start --><IMG SRC="http://deckerboy.homestead.com/files/indexError.jpg"><!-- BBCode End -->

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2002-09-26 03:13

This is a tricky problem. Does your gallery have an external URL? If so, let us know what it is and we can check it out remotely. That may help shed some light on your problem.

 
deckerboy1

Joined: 2002-09-23
Posts: 10
Posted: Thu, 2002-09-26 04:09
 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2002-09-26 06:04

This is happening because in the config wizard you told Gallery that it's URL is "192.168.x.x" which is a private IP range that is not accessible from the real world. Try using the actual address (deckerboy.no-ip.com) instead.

Then, to access your website from your home network, you can put the above IP address into your windowssystem32driversetchosts file so that your windows box resolves it correctly.

 
deckerboy1

Joined: 2002-09-23
Posts: 10
Posted: Thu, 2002-09-26 06:58

i had indeed put deckerboy.no-ip.com as the address in the config the first time... but i think it was adding my internal IP, and then using THAT instead of 127.0.0.1 in the address entered in my browser that made it work.

regardless, it works!!
all praise bharat!

/me bows...

thanks :grin: