Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. mmills1

    Changing the Error LogLevel

    I placed this just above the location of the error log? should it go in a diffretn location. LogLevel crit ErrorLog /var/log/apache2/error_log
  2. mmills1

    Changing the Error LogLevel

    Had a feeling this was the case, is it just that simple as LogLevel = "" Or how is it written Cheers
  3. mmills1

    Changing the Error LogLevel

    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?
  4. mmills1

    PHP post headers

    I keep getting: Call to undefined function: file_put_contents() I am running on PHP version 4??Dont think it works with that??
  5. mmills1

    PHP post headers

    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...
  6. mmills1

    PHP post headers

    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?
  7. mmills1

    PHP post headers

    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...
  8. mmills1

    PHP post headers

    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...
  9. mmills1

    HTTP/1.1 400 Bad Request when trying to send to cgi file

    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...
  10. mmills1

    HTTP/1.1 400 Bad Request when trying to send to cgi file

    #!/usr/bin/perl use Fcntl; #The Module print "content-type: text/html \n\n"; #The header sysopen (HTML, '/home/httpd/htdocs/myhtml.html', O_RDWR|O_EXCL|O_CREAT, 0755); printf HTML "<html>\n"; printf HTML "<head>\n"; printf HTML "<title>My Home Page</title>"; printf HTML "</head>\n"; printf HTML...
  11. mmills1

    HTTP/1.1 400 Bad Request when trying to send to cgi file

    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??
  12. mmills1

    HTTP/1.1 400 Bad Request when trying to send to cgi file

    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...
  13. mmills1

    HTTP/1.1 400 Bad Request when trying to send to cgi file

    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...
  14. mmills1

    HTTP/1.1 400 Bad Request when trying to send to cgi file

    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...
  15. mmills1

    Is it possible to refresh a page when a client connects to it?

    I have a client which automatically sends a cgi file to the server can I get the PHP page to refresh when it reconnects?
  16. mmills1

    HTTP/1.1 400 Bad Request when trying to send to cgi file

    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...

Part and Inventory Search

Back
Top