Results 1 to 8 of 8
  1. #1
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    1,051
    Plugin Contributions
    2

    Have a Drink 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

  2. #2
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    1,051
    Plugin Contributions
    2

    Default 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

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Zen on wamp5 behind firewall

    Quote Originally Posted by LibertyFlag View Post
    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.

  4. #4
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    1,051
    Plugin Contributions
    2

    Have a Drink 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 ><>
    Newest Site: ChargerPros - Stuff4Toys

  5. #5
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Zen on wamp5 behind firewall

    Quote Originally Posted by LibertyFlag View Post
    Any Ideas?
    Not much really. I suspect it's an issue of your firewall.
    What software does your firewall run?

    Quote Originally Posted by LibertyFlag View Post
    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.

  6. #6
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    1,051
    Plugin Contributions
    2

    Default Re: Zen on wamp5 behind firewall

    The router is a Linksys Router, basic NAT filtering, secure, but nothing special.
    JOhn ><>
    Newest Site: ChargerPros - Stuff4Toys

  7. #7
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Zen on wamp5 behind firewall

    Quote Originally Posted by LibertyFlag View Post
    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:
    Code:
    <div id="siteinfoIP"><?php echo TEXT_YOUR_IP_ADDRESS . '  ' . $_SERVER['REMOTE_ADDR']; ?></div>
    replace like this:
    Code:
    <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.

  8. #8
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    1,051
    Plugin Contributions
    2

    Have a Drink Re: Zen on wamp5 behind firewall

    Quote Originally Posted by DrByte View Post
    Try editing your tpl_footer.php file:
    Find this:
    Code:
    <div id="siteinfoIP"><?php echo TEXT_YOUR_IP_ADDRESS . '  ' . $_SERVER['REMOTE_ADDR']; ?></div>
    replace like this:
    Code:
    <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

 

 

Similar Threads

  1. Firewall blocking my site.
    By iwantvarun in forum General Questions
    Replies: 1
    Last Post: 15 Apr 2011, 07:17 AM
  2. Installing with WAMP5
    By j123 in forum Installing on a Windows Server
    Replies: 87
    Last Post: 19 Jan 2009, 01:48 AM
  3. firewall
    By khesin in forum General Questions
    Replies: 1
    Last Post: 23 Dec 2008, 11:17 PM
  4. Switching php version in WAMP5 causes install to run
    By GreggShort in forum Installing on a Windows Server
    Replies: 2
    Last Post: 27 Jul 2007, 06:06 AM
  5. WAMP5 as development server question
    By Sueter in forum Installing on a Windows Server
    Replies: 3
    Last Post: 4 Nov 2006, 02:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg