You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by John Tunstall <jo...@btinternet.com> on 2006/09/03 13:20:47 UTC

[users@httpd] Re: Apache and router-follow up

Hi. I just realised that I should have mentioned that this is all on Windows XP.

JohnT
  ----- Original Message ----- 
  From: John Tunstall 
  To: users@httpd.apache.org 
  Sent: Sunday, September 03, 2006 10:17 AM
  Subject: Apache and router


  Hi. I have a problem! 

  I am using Apache along with a software system on a server at a club. 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 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 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



   

  4th screen etc - problem remains

  http://192.168.0.2/cgi-bin/ai

   

  USING IP ADDRESS (Amended for security reasons)

  First screen

   http://86.13.8.7/



   2nd screen

  http://86.13.8.7/cgi-bin/ai



   3rd screen etc

  http://192.168.0.2/cgi-bin/ai




  My question. Is this an Apache config problem or a Router setting problem or both or neither?
  What is the solution?

  Thanks for any help
  John Tunstall

Re: [users@httpd] Re: Apache and router-follow up

Posted by John Tunstall <jo...@btinternet.com>.
Jon. Thanks I will come back after exploring your suggestion.

JohnT
----- Original Message ----- 
From: "Jon Snow" <js...@gatesec.net>
To: <us...@httpd.apache.org>
Sent: Sunday, September 03, 2006 2:17 PM
Subject: Re: [users@httpd] Re: Apache and router-follow up


>
> John,
>
> Without looking at the site I would guess the cgi script has a hard coded 
> url
> (or configuration option) being the IP address of the router. Could be 
> left
> over from testing? Something is telling the client to go to 192.168.0.2. 
> If
> it were apache I would look for a redirect or no proxypassreverse mapping
> (for an rproxy) in the configuration.
>
> Regards,
> Jon Snow
>
>
> On Sunday 03 September 2006 21:20, John Tunstall wrote:
>> Hi. I just realised that I should have mentioned that this is all on
>> Windows XP.
>>
>> JohnT
>>   ----- Original Message -----
>>   From: John Tunstall
>>   To: users@httpd.apache.org
>>   Sent: Sunday, September 03, 2006 10:17 AM
>>   Subject: Apache and router
>>
>>
>>   Hi. I have a problem!
>>
>>   I am using Apache along with a software system on a server at a club. 
>> 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 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 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
>>
>>
>>
>>
>>
>>   4th screen etc - problem remains
>>
>>   http://192.168.0.2/cgi-bin/ai
>>
>>
>>
>>   USING IP ADDRESS (Amended for security reasons)
>>
>>   First screen
>>
>>    http://86.13.8.7/
>>
>>
>>
>>    2nd screen
>>
>>   http://86.13.8.7/cgi-bin/ai
>>
>>
>>
>>    3rd screen etc
>>
>>   http://192.168.0.2/cgi-bin/ai
>>
>>
>>
>>
>>   My question. Is this an Apache config problem or a Router setting 
>> problem
>> or both or neither? What is the solution?
>>
>>   Thanks for any help
>>   John Tunstall
>
>
> ---------------------------------------------------------------------
> 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
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
> -- 
> 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
>
> 


---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Re: Apache and router-follow up

Posted by Jon Snow <js...@gatesec.net>.
John,

Without looking at the site I would guess the cgi script has a hard coded url 
(or configuration option) being the IP address of the router. Could be left 
over from testing? Something is telling the client to go to 192.168.0.2. If 
it were apache I would look for a redirect or no proxypassreverse mapping 
(for an rproxy) in the configuration.

Regards,
Jon Snow


On Sunday 03 September 2006 21:20, John Tunstall wrote:
> Hi. I just realised that I should have mentioned that this is all on
> Windows XP.
>
> JohnT
>   ----- Original Message -----
>   From: John Tunstall
>   To: users@httpd.apache.org
>   Sent: Sunday, September 03, 2006 10:17 AM
>   Subject: Apache and router
>
>
>   Hi. I have a problem!
>
>   I am using Apache along with a software system on a server at a club. 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 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 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
>
>
>
>
>
>   4th screen etc - problem remains
>
>   http://192.168.0.2/cgi-bin/ai
>
>
>
>   USING IP ADDRESS (Amended for security reasons)
>
>   First screen
>
>    http://86.13.8.7/
>
>
>
>    2nd screen
>
>   http://86.13.8.7/cgi-bin/ai
>
>
>
>    3rd screen etc
>
>   http://192.168.0.2/cgi-bin/ai
>
>
>
>
>   My question. Is this an Apache config problem or a Router setting problem
> or both or neither? What is the solution?
>
>   Thanks for any help
>   John Tunstall


---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org