I cannot seem to find where to change the LogLevel, I have checked my httpd.conf, errors.conf and several other files. I am running Apache2?
Can somebody tell where to change the LogLevel please?
if the event is triggered, the netiom will process the file called client.cgi and send the output of that file to the remote server. again, that is not a problem. and not a problem if you want the receiving script to be a php script. "
That is exactly what i want to do. I will run some tests...
Well the device can be used as a server? it definatly passes data to the client.cgi file, and im sure it is being sent to my server it is on the same LAN network.
How would you would your normally post data to another webpage without using a submit on a form?
The device im am using is called a netiom, It acts pretty much like a switch, when one is turned on it outputs a 1 when its turned off its outputs a 0.
It can also has a built in web server so I can use as a server or client.
I can enter an IP and a port number, using an interface but thats...
Hi, I am trying to get my server to accept a cgi file that is being automatically sent.
Once the connection is successful i would like to save the file or post the details onto a PHP page on the server.
I have manage to GET the file using GET headers but the data will be sent across after...
It is a device which sends a client.cgi file to the server on port 80. Thats all I have?
The client.cgi file will contain details of inputs and outputs on the device. So if i can get these to write to a file on the server i can then use PHP to manipulate the data.
So do not know why I am...
That is what i was using, to get a connection? Have not written any code yet as I will be able to see with wireshark when it is accepted??
I guess I am on the wrong track??
Ok, cheers,
below is the cgi file which i want to send so that I can pick it up again on the server side:
POST /htdocs/client.cgi HTTP/1.1 \r\n
UserAgent:HTTPTool /1.0 \r\n
Content-Type: application/x-www-form-urlencoded \r\n
Content-Length:32 \r\n
Learning as I go with the headers does this...
What the client sent:
GET /htdocs/index.php HTTP/1.1 \r\n Host:6.52.9.177 \r\n Connection: close \r\n\r\n
the response:
HTTP/1.1 400 Bad Request
Date: Thu, 08 Apr 2010 13:08:07 GMT
Server: Apache/2.0.53 (Linux/SUSE)
Content-Length: 304
Connection: close
Content-Type: text/html...
What the client sent send:
GET /htdocs/index.php HTTP/1.1 \r\n Host:6.52.9.177 \r\n Connection: close \r\n\r\n
the response:
HTTP/1.1 400 Bad Request
Date: Thu, 08 Apr 2010 13:08:07 GMT
Server: Apache/2.0.53 (Linux/SUSE)
Content-Length: 304
Connection: close
Content-Type: text/html...
I have a device which is automatically sending a cgi file to my server.
In wireshark I can see the data being sent to the server but apache is responding with a HTTP/1.1 400 Bad Request,
I have tried writing several different get and post headers to get an ok response from apache but have not...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.