Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [users@httpd] Apache and router
- From: "John Tunstall" <john.tunstall@xxxxxxxxxxxxxx>
- Subject: Re: [users@httpd] Apache and router
- Date: Mon, 4 Sep 2006 11:08:20 +0100
------=_NextPart_000_0304_01C6D012.6E97AAE0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Steve. Thanks for your help on this. Do you have an idea what the CGI script is that controls the IP address = to be used? Thanks again. JohnT ----- Original Message -----=20 From: Steve Swift=20 To: users@httpd.apache.org=20 Sent: Monday, September 04, 2006 8:06 AM Subject: Re: [users@httpd] Apache and router Well, you will probably have to inspect the CGI script that handles = /cgi-bin/ai to see why/if it is returning http://192.168.0.2 amongst its = output If I were to guess, I'd say that the CGI script is trying to determine = the address of the server in order to generate URL's that refer to the = server. If it did this, then of course it would come up with 192.168.0.2 = since that *is* the address of the server. =20 If your CGI script is doing this then it would be far better if it = used relative URL's rather than fully-qualified ones. On 03/09/06, John Tunstall <john.tunstall@btinternet.com> wrote: Jim. Thanks for the reply. Thats the problem. The static Ip address = is in the first two urls but the url flips to that of the router as soon = as a booking request is made from the outside to the server behind the = router.=20 Any ideas how Apache being used with Windows XP can be structured to overcome this and retauin the static IP that you see in the early = screens below? Is it a config problem; a router proble; or what? Any help gratefully received.=20 John T ----- Original Message ----- From: "Jim Walls" <k6ccc@earthlink.net> To: <users@httpd.apache.org > Sent: Sunday, September 03, 2006 5:32 PM Subject: Re: [users@httpd] Apache and router > John Tunstall wrote: >> Hi. I have a problem! >> I am using Apache along with a software system on a server at a = club.=20 >> The system is accessed over Internet to make bookings. There is a = router >> in between the club LAN and the Internet. There is a static IP = address >> for the server. The first message from the Internet to the club = that=20 >> activates two introductory screens works fine and you will see an = example >> with amended - for security reasons - IP addresses below. The = first >> interaction from the customer, when booking details are sent to = the=20 >> server over Internet, causes the http IP address to change to = that of the >> router after which the booking sequence falls over because the = server can >> no longer be accesed over Internet. >> >> USING WEB ADDRESS >> >> First screen >> >> http://www.xxx. >> >> >> 2ndscreen >> >> http://www.xxx/cgi-bin >> >> >> 3rd screen where problem begins and router IP address is = substituted >> >> http://192.168.0.2/cgi-bin/ai=20 >> > > Sure will cause a problem! You are using an address that can not = EVER be > accessed via the internet. Your 192.168... address is the NATed = address > on your LAN, and is in one of the private IP ranges that works = fine on a=20 > local LAN, but not on the internet. For someone to access your = server > from the internet, they must specify (or follow a link to) a = public IP > address (the WAN side of your router), or a URL that can point to = public=20 > IP address via DNS. > > -- > 73 > ------------------------------------- > Jim Walls - K6CCC > k6ccc@amsat.org > Ofc: 818-548-4804 > http://home.earthlink.net/~k6ccc > AMSAT Member 32537 - WSWSS Member 395 > > > = ---------------------------------------------------------------------=20 > The official User-To-User support forum of the Apache HTTP Server = Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org=20 > For additional commands, e-mail: users-help@httpd.apache.org > > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition.=20 > Version: 7.1.405 / Virus Database: 268.11.7/436 - Release Date: = 01/09/2006 > > = --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server = Project.=20 See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org=20 " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org --=20 Steve Swift http://www.swiftys.org.uk=20 -------------------------------------------------------------------------= ----- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.11.7/436 - Release Date: = 01/09/2006 ------=_NextPart_000_0304_01C6D012.6E97AAE0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2900.2963" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Hi Steve. Thanks for your help on=20 this.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Do you have an idea what the CGI script = is that=20 controls the IP address to be used?</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Thanks again.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>JohnT</FONT></DIV> <BLOCKQUOTE=20 style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; = BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV> <DIV=20 style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: = black"><B>From:</B>=20 <A title=3Dsteve.j.swift@gmail.com = href=3D"mailto:steve.j.swift@gmail.com">Steve=20 Swift</A> </DIV> <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A = title=3Dusers@httpd.apache.org=20 href=3D"mailto:users@httpd.apache.org">users@httpd.apache.org</A> = </DIV> <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, September 04, = 2006 8:06=20 AM</DIV> <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: [users@httpd] = Apache and=20 router</DIV> <DIV><BR></DIV>Well, you will probably have to inspect the CGI script = that=20 handles /cgi-bin/ai to see why/if it is returning <A=20 href=3D"http://192.168.0.2">http://192.168.0.2</A> amongst its = output<BR><BR>If=20 I were to guess, I'd say that the CGI script is trying to determine = the=20 address of the server in order to generate URL's that refer to the = server. If=20 it did this, then of course it would come up with <A=20 href=3D"http://192.168.0.2">192.168.0.2</A> since that *is* the = address of the=20 server. <BR><BR>If your CGI script is doing this then it would = be far=20 better if it used relative URL's rather than fully-qualified = ones.<BR><BR> <DIV><SPAN class=3Dgmail_quote>On 03/09/06, <B = class=3Dgmail_sendername>John=20 Tunstall</B> <<A=20 = href=3D"mailto:john.tunstall@btinternet.com">john.tunstall@btinternet.com= </A>>=20 wrote:</SPAN> <BLOCKQUOTE class=3Dgmail_quote=20 style=3D"PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: = rgb(204,204,204) 1px solid"><BR>Jim.=20 Thanks for the reply. Thats the problem. The static Ip address is = in<BR>the=20 first two urls but the url flips to that of the router as soon as=20 a<BR>booking request is made from the outside to the server behind = the=20 router. <BR>Any ideas how Apache being used with Windows XP can be=20 structured to<BR>overcome this and retauin the static IP that you = see in the=20 early screens<BR>below? Is it a config problem; a router proble; or=20 what?<BR>Any help gratefully received. <BR><BR>John T<BR>----- = Original=20 Message -----<BR>From: "Jim Walls" <<A=20 = href=3D"mailto:k6ccc@earthlink.net">k6ccc@earthlink.net</A>><BR>To: = <<A=20 href=3D"mailto:users@httpd.apache.org">users@httpd.apache.org</A>=20 ><BR>Sent: Sunday, September 03, 2006 5:32 PM<BR>Subject: Re:=20 [users@httpd] Apache and router<BR><BR><BR>> John Tunstall=20 wrote:<BR>>> Hi. I have a problem!<BR>>> I am = using=20 Apache along with a software system on a server at a club. = <BR>>> The=20 system is accessed over Internet to make bookings. There is a=20 router<BR>>> in between the club LAN and the Internet. There = is a=20 static IP address<BR>>> for the server. The first message from = the=20 Internet to the club that <BR>>> activates two introductory = screens=20 works fine and you will see an example<BR>>> with amended - = for=20 security reasons - IP addresses below. The = first<BR>>>=20 interaction from the customer, when booking details are sent to the=20 <BR>>> server over Internet, causes the http IP address to = change to=20 that of the<BR>>> router after which the booking sequence = falls over=20 because the server can<BR>>> no longer be accesed over=20 Internet.<BR>>><BR>>> USING WEB = ADDRESS<BR>>><BR>>>=20 First screen<BR>>><BR>>> <A=20 = href=3D"http://www.xxx">http://www.xxx</A>.<BR>>><BR>>><BR>&g= t;>=20 2ndscreen<BR>>><BR>>> <A=20 href=3D"http://www.xxx/cgi-bin">=20 http://www.xxx/cgi-bin</A><BR>>><BR>>><BR>>> 3rd = screen=20 where problem begins and router IP address is=20 substituted<BR>>><BR>>> <A=20 href=3D"http://192.168.0.2/cgi-bin/ai">http://192.168.0.2/cgi-bin/ai = </A><BR>>><BR>><BR>> Sure will cause a = problem! You=20 are using an address that can not EVER be<BR>> accessed via the=20 internet. Your 192.168... address is the NATed = address<BR>> on=20 your LAN, and is in one of the private IP ranges that works fine on = a=20 <BR>> local LAN, but not on the internet. For someone = to=20 access your server<BR>> from the internet, they must specify (or = follow a=20 link to) a public IP<BR>> address (the WAN side of your router), = or a URL=20 that can point to public <BR>> IP address via = DNS.<BR>><BR>>=20 --<BR>> 73<BR>> -------------------------------------<BR>> = Jim=20 Walls - K6CCC<BR>> <A=20 href=3D"mailto:k6ccc@amsat.org">k6ccc@amsat.org</A><BR>>=20 Ofc: 818-548-4804<BR>> <A=20 = href=3D"http://home.earthlink.net/~k6ccc">http://home.earthlink.net/~k6cc= c</A><BR>>=20 AMSAT Member 32537 - WSWSS Member 395<BR>><BR>><BR>>=20 = ---------------------------------------------------------------------=20 <BR>> The official User-To-User support forum of the Apache HTTP = Server=20 Project.<BR>> See <URL:<A=20 = href=3D"http://httpd.apache.org/userslist.html">http://httpd.apache.org/u= serslist.html</A>>=20 for more info.<BR>> To unsubscribe, e-mail: <A=20 = href=3D"mailto:users-unsubscribe@httpd.apache.org">users-unsubscribe@http= d.apache.org</A><BR>> =20 " from the digest: <A=20 = href=3D"mailto:users-digest-unsubscribe@httpd.apache.org">users-digest-un= subscribe@httpd.apache.org=20 </A><BR>> For additional commands, e-mail: <A=20 = href=3D"mailto:users-help@httpd.apache.org">users-help@httpd.apache.org</= A><BR>><BR>><BR>><BR>>=20 --<BR>> No virus found in this incoming message.<BR>> Checked = by AVG=20 Free Edition. <BR>> Version: 7.1.405 / Virus Database: = 268.11.7/436 -=20 Release Date:=20 = 01/09/2006<BR>><BR>><BR><BR><BR>-----------------------------------= ----------------------------------<BR>The=20 official User-To-User support forum of the Apache HTTP Server = Project.=20 <BR>See <URL:<A=20 = href=3D"http://httpd.apache.org/userslist.html">http://httpd.apache.org/u= serslist.html</A>>=20 for more info.<BR>To unsubscribe, e-mail: <A=20 = href=3D"mailto:users-unsubscribe@httpd.apache.org">users-unsubscribe@http= d.apache.org=20 </A><BR> " from the digest: <A=20 = href=3D"mailto:users-digest-unsubscribe@httpd.apache.org">users-digest-un= subscribe@httpd.apache.org</A><BR>For=20 additional commands, e-mail: <A=20 = href=3D"mailto:users-help@httpd.apache.org">users-help@httpd.apache.org</= A><BR><BR></BLOCKQUOTE></DIV><BR><BR=20 clear=3Dall><BR>-- <BR>Steve Swift<BR><A=20 href=3D"http://www.swiftys.org.uk">http://www.swiftys.org.uk</A>=20 <P> <HR> <P></P>No virus found in this incoming message.<BR>Checked by AVG Free = Edition.<BR>Version: 7.1.405 / Virus Database: 268.11.7/436 - Release = Date:=20 01/09/2006<BR></BLOCKQUOTE></BODY></HTML> ------=_NextPart_000_0304_01C6D012.6E97AAE0--
- Follow-Ups:
- Re: [users@httpd] Apache and router
- From: Steve Swift
- Re: [users@httpd] Apache and router
- References:
- [users@httpd] Apache and router
- From: John Tunstall
- Re: [users@httpd] Apache and router
- From: Jim Walls
- Re: [users@httpd] Apache and router
- From: John Tunstall
- Re: [users@httpd] Apache and router
- From: Steve Swift
- [users@httpd] Apache and router
- Prev by Date: Re: [users@httpd] Php Load Script
- Next by Date: Re: [users@httpd] Installing Apache 2.2.3 with authnz_ldap
- Previous by thread: Re: [users@httpd] Apache and router
- Next by thread: Re: [users@httpd] Apache and router
- Index(es):