Using the Wifly stand alone to send data

I’m trying to set up the Wifly as a stand alone data sender by the HTTP method, the same as detailed on http://www.tinkerfailure.com/2012/02/se … fly-rn-xv/, except the server is running on my laptop.

I’ve posted about this problem before but I think I put too much detail in the post so I will try and describe the problem as simply as possible.

HTTP servers (as far as I know and with the servers I have tested) require the HTTP requests to be terminated by \r\n (carriage return and new line) characters at the end of the lines.

The wifly appends \n\n (two new line characters) to the end of the HTTP request line.

Is it possible to configure e.g. Apache to accept only \n\n terminated requests?

Thanks for any help.

Nick.

After months of thinking about this on and off I think I have discovered the problem. I was attempting to use a cgi script to process the data from the wifly. Processing data from a stand alone wifly module can not be done with CGI. I managed to get it to work using PHP with the help of this page http://www.rovingnetworks.com/FAQs/Stan … ata_to_web and running “Quick PHP Webserver” by Zach Saw on my laptop.

I write this reply to my own post in the unlikely event that someone in the future attempts to use cgi to process data from a stand alone wifly and encounters similar difficulties (and associated hair loss).

Nick.