WebSet to Apache Server

CLS

New Member
Trying to develop a website to receive multiple WebSet from WC boards from multiple physical locations. I am trying to develop all locally.  The Server I am using is just a virtualized (VMware) window XP sp3 with Apache 2.4 windows compile. My host machine is Windows 7.
I have two WC8 boards on the network as well.  I have compiled the c code example.cgi. and it is located in the /cgi-bin/ location for the apache server.
 
WC8-1 ip 192.168.2.15
WC8-2 ip 192.168.2.16
Host ip 192.168.2.5
Apache server VM on Host(network adaptor Bridged) adaptor in VM ip 192.168.2.2
 
Problem is the webset from WC is not creating the text document. URL1 setup is  IPport "192.168.2.2" Get URI "/cgi-bin/example.cgi?varid=27value=" Base64 Auth is blank.  
I can do a webset between WC boards.
 
I can from IE send "192.168.2.2/cgi-bin/example.cgi" and that will create a text document on the server from the host or VM
 
I loaded wireshark on the VM server and all I see is the ARP protocol but that is the same as what I see when I go from WC board to WC board too.
 
I have no website loaded for the apache server just trying to get the cgi file to run.
 
Not sure if my problem is with the Apache server, running it on XP VM or XP.  I was just hoping to be able to play with everything local before trying to migrate to the internet.
 
Thanks in advance for any help.
 
I've been doing this for years with various versions of Apache under FreeBSD, both receiving data from WC and pushing data to them, and interacting with it to receive and return data via webset/wsrply.
 
I've posted several parts of working code here, check the code provided for weatherstation and solar tracker controller, pretty sure I've pasted the unix side code too, or enough of it to see whats going on.
 
CLS said:
Trying to develop a website to receive multiple WebSet from WC boards from multiple physical locations. I am trying to develop all locally.  The Server I am using is just a virtualized (VMware) window XP sp3 with Apache 2.4 windows compile. My host machine is Windows 7.
I have two WC8 boards on the network as well.  I have compiled the c code example.cgi. and it is located in the /cgi-bin/ location for the apache server.
 
WC8-1 ip 192.168.2.15
WC8-2 ip 192.168.2.16
Host ip 192.168.2.5
Apache server VM on Host(network adaptor Bridged) adaptor in VM ip 192.168.2.2
 
Problem is the webset from WC is not creating the text document. URL1 setup is  IPport "192.168.2.2" Get URI "/cgi-bin/example.cgi?varid=27value=" Base64 Auth is blank.  
I can do a webset between WC boards.
 
I can from IE send "192.168.2.2/cgi-bin/example.cgi" and that will create a text document on the server from the host or VM
 
I loaded wireshark on the VM server and all I see is the ARP protocol but that is the same as what I see when I go from WC board to WC board too.
 
I have no website loaded for the apache server just trying to get the cgi file to run.
 
Not sure if my problem is with the Apache server, running it on XP VM or XP.  I was just hoping to be able to play with everything local before trying to migrate to the internet.
 
Thanks in advance for any help.
 
I'm using php to collect the data. very simple and straightforward unless you have to transfer a set of data.
 
I figured my problem out.  It is my host machine not letting external request through to my VM. 
I setup another apache server on a desktop an it worked fine.  The WC created the .txt file.
 
Went back and set up my Apache VM and tried to hit it with my desktop and no luck. 
 
Guessing my host is firewalling it.  It is a work machine so I don't want to screw with IT's settings.
 
Any suggestions on a web hosting sites that will give you a fixed IP and handle CGI scripts?
 
Not familiar with this Web stuff really.  I don't want to port forward to the WC boards but would like the boards to push the data to the site.  Guessing at that point I log the temp in a text file or DB.  When I hit the site from a browser I can run another CGI to pull the data up from the text file or DB and push it to the browser. 
 
Does that sound right or do I need to rethink this?
 
Don't know if you have any experience with the MyQ gateway from Chamberlain door openers.  I think their device work in a similar manor.
 
CLS said:
I figured my problem out.  It is my host machine not letting external request through to my VM. 
I setup another apache server on a desktop an it worked fine.  The WC created the .txt file.
 
Went back and set up my Apache VM and tried to hit it with my desktop and no luck. 
 
Guessing my host is firewalling it.  It is a work machine so I don't want to screw with IT's settings.
 
Any suggestions on a web hosting sites that will give you a fixed IP and handle CGI scripts?
 
Not familiar with this Web stuff really.  I don't want to port forward to the WC boards but would like the boards to push the data to the site.  Guessing at that point I log the temp in a text file or DB.  When I hit the site from a browser I can run another CGI to pull the data up from the text file or DB and push it to the browser. 
 
Does that sound right or do I need to rethink this?
 
Don't know if you have any experience with the MyQ gateway from Chamberlain door openers.  I think their device work in a similar manor.
 
 
If you use webset outbound to the server (having fixed ip), the firewall for the client won't complain.
 
Back
Top