Forums / General Questions / Zen on wamp5 behind firewall

Zen on wamp5 behind firewall

Locked

Views: 1,819

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
23 Jul 2007, 2:51 PM
#1
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Zen on wamp5 behind firewall

http://www.stuff4toys.com/
I have a new project in dev on a win2k server running WAMP5 1.7.2 with PHP 5.2.3 and MySQL 5.0.41

This server is behind a firewall with NAT forwarding port 80 to the servers internal ip address 192.168.0.???

Everything seems to be working so far, except the ip address resolution. The footer reports 0.0.0.0 and Who's Online reports 2 entries for each connection. I thought curL had something to do with this so I checked php.net and they said that curl on win32 requires 2 .dll files in the path. I adjusted the path statement to include c:\wamp\php\ and still no resolution.
Here's an example.


00:01:220 ¥Guest 0.0.0.009:20:5009:20:50
Time Since Clicked: 00:01:27 ago
Session ID: 000c06ce9e147f9c41f1fd994ec9afdb
Host: noahs-server.noahs-marine.com
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322)
/


00:01:080 ¥Guest 0.0.0.009:21:0909:21:09
Time Since Clicked: 00:01:08 ago
Session ID: 74d0bb2a3d779997bf14450be490b601
Host: noahs-server.noahs-marine.com
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322)
/
Any Ideas?

Newest Site: ChargerPros - Stuff4Toys

25 Jul 2007, 2:15 PM
#2
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Re: Zen on wamp5 behind firewall

Don't want to piss anyone off, but I have posted several questions here on this forum and lately had not received more than a glance from the guru's on this forum. Am I asking too many questions? Are they too dumb? Or did I just piss someone off.

I am finally learning enough about Zen Cart to begin contributing, but am dissapointed in the lack of response I am getting.

JOhn ><>

Newest Site: ChargerPros - Stuff4Toys

25 Jul 2007, 7:25 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Zen on wamp5 behind firewall

LibertyFlag:

but I have posted several questions here on this forum and lately had not received more than a glance from the guru's on this forum. Am I asking too many questions? Are they too dumb? Or did I just piss someone off.The only question that I see having gone unanswered besides the one you raised in this thread was related to changing the behaviour of the search subsystem. I just replied to that post.

If a post concerns a topic that others have either (a) not encountered and/or (b) don't have a need for ... then unless they're eager enough to find an answer and are thus inspired to research an answer ... you'll not likely get anything.
Volunteers are picky that way. If they know, they'll share. If they don't, and it's not something they want to know, they'll move on.

One way to get more help on a topic is to look at it again with fresh eyes and explain it again in more detail. Reply with more info.
Test it in another environment, and post the results.
Try adding some debug code of some sort, and post the results.
Get someone else to test from another PC, and post the results.
Try uploading to another server (esp if you're on GoDaddy) with another provider, and test. And post the results.

In doing that, you just might find an answer, or discover a pattern.
In sharing the details, you will likely discover that you trigger someone else's experience, and they might share their insight.

Volunteer support is free. You just have to know how to encourage them to take interest in the issues you have need of answers for.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

25 Jul 2007, 7:41 PM
#4
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Re: Zen on wamp5 behind firewall

I apologize and stand enlightened. I have to remember all the posts that I created and because of the latency in Satellite communications (Wildblue) timed out before they actually posted. I hate sat elite, but it's the only option where I work.

Any ideas why I am getting this strange behavior?

  • This site in the only one on 1.3.7.1
  • The only one behind a firewall as such
  • This site is on cable, not satellite
  • Do I need to open a port on the router so it can resolve incoming requests? or does it think all requests are coming from the NAT filter?Look like I will have to bite the bullet and pay for hosting somewhere.

Ratz
Thanks for your time, I really appreciate that.
JOhn ><>:lamo:

Newest Site: ChargerPros - Stuff4Toys

25 Jul 2007, 7:53 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Zen on wamp5 behind firewall

LibertyFlag:

Any Ideas?Not much really. I suspect it's an issue of your firewall.
What software does your firewall run?

LibertyFlag:

I thought curL had something to do with this so I checked php.net and they said that curl on win32 requires 2 .dll files in the path. I adjusted the path statement to include c:\wamp\php\ and still no resolution.

I doubt curl has anything to do with it, unless you're using CURL to talk to your server for some reason. CURL is a means of talking to "other" servers, not your own.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

25 Jul 2007, 7:57 PM
#6
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Re: Zen on wamp5 behind firewall

The router is a Linksys Router, basic NAT filtering, secure, but nothing special.
JOhn ><>

Newest Site: ChargerPros - Stuff4Toys

25 Jul 2007, 8:00 PM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Zen on wamp5 behind firewall

LibertyFlag:

This server is behind a firewall with NAT forwarding port 80 to the servers internal ip address 192.168.0.???

Everything seems to be working so far, except the ip address resolution. The footer reports 0.0.0.0 and Who's Online reports 2 entries for each connection.
Try editing your tpl_footer.php file:
Find this:```

<div id="siteinfoIP"><?php echo TEXT_YOUR_IP_ADDRESS . ' ' . $_SERVER['REMOTE_ADDR']; ?></div> ```replace like this:``` <div id="siteinfoIP"><?php echo TEXT_YOUR_IP_ADDRESS . ' ' . zen_get_ip_address(); ?></div> ```Does that help the footer display at all? If so, your problem is in the firewall retranslations of data. That's a common issue if using proxy configurations.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

26 Sep 2007, 2:09 AM
#8
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Re: Zen on wamp5 behind firewall

DrByte:

Try editing your tpl_footer.php file:
Find this:```

<div id="siteinfoIP"><?php echo TEXT_YOUR_IP_ADDRESS . ' ' . $_SERVER['REMOTE_ADDR']; ?></div> ```replace like this:``` <div id="siteinfoIP"><?php echo TEXT_YOUR_IP_ADDRESS . ' ' . zen_get_ip_address(); ?></div> ```Does that help the footer display at all? > If so, your problem is in the firewall retranslations of data. That's a common issue if using proxy configurations. Back on this problem again. Tried the code change to no avail. May have to wait until I can afford a real host. JOhn ><>

Newest Site: ChargerPros - Stuff4Toys