That's right, it's actually looking at the header and not where it's coming
from.  I should have known that.

I actually have webmin installed on the box, I forgot that I could manage
the DNS through that, that will make things a whole lot easier.

Thanks again for all your help Mike!

Mike  Knisely wrote:
> 
> Yep... because you're still making the request to
> http://www.mywebside.com/gallery... just like if you were connecting
> from the WAN.
> 
> The reason it isn't working is that your gallery is pointing at the FQDN
> of your site.  When you feed it the IP, apache has no trouble feeding
> the default website, but CMS systems often have issues with that.
> 
> If you're not comfortable with editing your BIND files, check out
> Webmin.  It's a pretty cool web GUI administration tool.
> 
> Mike K.
> 
> 
> 
> -----Original Message-----
> From: danodemano [mailto:[EMAIL PROTECTED] 
> Sent: Monday, November 17, 2008 1:16 PM
> To: efw-user@lists.sourceforge.net
> Subject: Re: [Efw-user] Can't access local http server using public
> URL/IP.
> 
> 
> So then your DNS solution makes Gallery work correctly?  That's what I'm
> after really.  I was more curious as to why it doesn't work I suppose.
> I
> just have to add a zone to my DNS (for the hostname) then point it to
> the
> private IP of the box.  I'm going to play with then what I get home from
> work this evening and see if I can get it working correctly....I'm going
> to
> have to dive back into my BIND manual as I can't remember how that all
> works, it's been some time since I set the DNS up.  Thanks for you help
> Mike!
> 
> Mike  Knisely wrote:
>> 
>> I'm in the same boat.  My internal www server (running geeklog with a
>> gallery plugin) was acting the same way.  That's why I liked the
>> internal DNS solution.  You use the same URL and it just works.  Why
> try
>> to break a firewall when you just need DNS to point you to the real
>> server IP?
>> 
>> If you are being sent outside, your connection is being NATed as it
>> heads from the Green to the Red.  It is then again sent through the
> NAT
>> process as it moves from the Red to the Orange (assuming the www
> server
>> is in a DMZ, but still a NAT if you're getting tossed back to Green).
> 
>> 
>> If you've got the DNS server, why not just use it?  I'd not suggest
>> hacking at the hosts file on the machines or even in Endian.  There's
>> just no need, and if you ever change the IP of your www box, you have
> to
>> edit each hosts entry instead of changing just one DNS A record.
>> 
>> Michael J. Knisely
>> 
>> -----Original Message-----
>> From: danodemano [mailto:[EMAIL PROTECTED] 
>> Sent: Monday, November 17, 2008 12:14 PM
>> To: efw-user@lists.sourceforge.net
>> Subject: Re: [Efw-user] Can't access local http server using public
>> URL/IP.
>> 
>> 
>> I had actually thought about that to be honest.  I run a separate DNS
>> server
>> that also happens to sit on the same box as the web server.  This
>> wouldn't
>> be hard to do at all, but I thought that maybe there was a simpler way
>> to do
>> it.  I could also hack the hosts file as the machines that need access
>> are
>> Windows machines.
>> 
>> I will have to try this to see if it actually works.  The problem that
> I
>> am
>> having is that the web server hosts my photo gallery using Gallery,
> the
>> open
>> source free PHP image gallery.  Since it's specified the web address
> of
>> the
>> server, it works just fine from outside but internally if I just go to
>> the
>> IP none of the pictures are displayed.
>> 
>> Thanks for the response though, I appreciate it.  I'm going to do a
> bit
>> more
>> testing a digging in maybe in the mean time somebody will be able to
>> offer
>> up a different solution.  Thanks!  :)
>> 
>> Mike  Knisely wrote:
>>> 
>>> The way I have dealt w/ this is to use an internal DNS server to
>> redirect
>>> my requests so they are not going out to come back in.
>>>  
>>> If your Endian box is your DNS server, it is quite easy to do.  Just
>> go to
>>> the Network tab and add a hosts entry for your machine.  This way,
>> when
>>> you try to get to whatever the domain is, you will be given the
>> private IP
>>> when on your LAN.
>>>  
>>> I realize that this is not an answer to your question...  It's just
>> how
>>> I've solved this problem in the past.
>>>  
>>> Michael J. Knisely
>>> 
>>> ________________________________
>>> 
>>> From: danodemano [mailto:[EMAIL PROTECTED]
>>> Sent: Sun 11/16/2008 13:43
>>> To: efw-user@lists.sourceforge.net
>>> Subject: [Efw-user] Can't access local http server using public
>> URL/IP.
>>> 
>>> 
>>> 
>>> 
>>> I'm not sure how to describe this but here we go.  I run a web server
>> that
>>> sits behind my Endian firewall.  The web server is on a private IP so
>> all
>>> port 80 traffic is forwarded from the WAN into it's private IP on the
>> LAN.
>>> I am able to access this server using it's private IP and from
>> anywhere
>>> outside my network using the public URL/IP of the Endian box.  I am
>> not,
>>> however, able to get to it from withing the network when I use the
>> public
>>> URL/IP.  The request simply times out.  Is there a rule that I need
> to
>>> add/change to be able to allow this?  I have a rule currently that
>> allows
>>> the GREEN interface access to everything on the RED but this doesn't
>> seem
>>> to
>>> get it.  I apologize if this has already been asked....but I was
>> unable to
>>> find anything relating to this.  I should probably note that I am
>> running
>>> 2.2RC3.  Thanks for you help!
>>> --
>>> View this message in context:
>>>
>>
> http://www.nabble.com/Can%27t-access-local-http-server-using-public-URL-
>> IP.-tp20528398p20528398.html
>>> Sent from the efw-user mailing list archive at Nabble.com.
>>> 
>>> 
>>>
>>
> ------------------------------------------------------------------------
>> -
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win
> great
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>> world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> Efw-user mailing list
>>> Efw-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/efw-user
>>> 
>>> 
>>> 
>>>  
>>>
>>
> ------------------------------------------------------------------------
>> -
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win
> great
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>> world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> Efw-user mailing list
>>> Efw-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/efw-user
>>> 
>>> 
>> 
>> -- 
>> View this message in context:
>>
> http://www.nabble.com/Can%27t-access-local-http-server-using-public-URL-
>> IP.-tp20528398p20543704.html
>> Sent from the efw-user mailing list archive at Nabble.com.
>> 
>> 
>>
> ------------------------------------------------------------------------
>> -
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Efw-user mailing list
>> Efw-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/efw-user
>> 
>>
> ------------------------------------------------------------------------
> -
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Efw-user mailing list
>> Efw-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/efw-user
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/Can%27t-access-local-http-server-using-public-URL-
> IP.-tp20528398p20544862.html
> Sent from the efw-user mailing list archive at Nabble.com.
> 
> 
> ------------------------------------------------------------------------
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Efw-user mailing list
> Efw-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/efw-user
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Efw-user mailing list
> Efw-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/efw-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Can%27t-access-local-http-server-using-public-URL-IP.-tp20528398p20546887.html
Sent from the efw-user mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Efw-user mailing list
Efw-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/efw-user

Reply via email to