Sponsored Content
Top Forums UNIX for Dummies Questions & Answers turning off certain http requests Post 39068 by blp001 on Wednesday 6th of August 2003 01:41:01 AM
Old 08-06-2003
turning off certain http requests

On a sparc solaris 8 host running sunone webserver 6 I would like to limit the http requests that can be used when port 80 is accessed. We currently have http/1.0 enabled.

For example I would like to remove the http request DELETE.

Regards,
BLP
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Turning off the CDE

I am running Solaris 9 and wanted the CDE stopped when my users login. Can this be done by adding something to the .profile? Basically when they login they should be at the command line and have to start the CDE themselves. Thanks (11 Replies)
Discussion started by: meyersp
11 Replies

2. UNIX for Dummies Questions & Answers

Need to log http requests

Hi folks, I am trying to build this GUI application that will perform some http requests to a specific server. Basically I will use curl to "pretend" that it is a browser a sending an http request from a form. My http knowledge is very low, and the site is tricky, but I think if I could... (3 Replies)
Discussion started by: fundidor
3 Replies

3. UNIX for Dummies Questions & Answers

Turning Echo off

Hi, Is there any way like in dos to turn the echo off in a script? i have some lines popping up that i dont wish to be viewed when i am unziping a file it brings up the message updating: log.txt (deflated 72%) and extracting: log.txt i dont want these be viewed. Andy (4 Replies)
Discussion started by: chapmana
4 Replies

4. Solaris

Turning in.ftpd on and off

For two straight days someone was running in.ftpd in my server (apparently looking to break in) and when I would do "top" almost every line would read "in.ftpd". I had a unix sysadmin friend of mine shut it down and then start it back up in a day and a half and all seems OK for now. Here's what I... (1 Reply)
Discussion started by: thomi39
1 Replies

5. Programming

sending http url through http socket programming..

hi am senthil am developing a software to send and receive SMS using HTTP connection first of all am forming a URL and sending that URL to a remote server using my Client Program i send that url through Socket(using Send() Function) if i send more than one URL one by one using the same... (0 Replies)
Discussion started by: senkerth
0 Replies

6. Shell Programming and Scripting

sending http url through http socket programming..

hi am senthil am developing a software to send and receive SMS using HTTP connection first of all am forming a URL and sending that URL to a remote server using my Client Program i send that url through Socket(using Send() Function) if i send more than one URL one by one using the same... (4 Replies)
Discussion started by: senkerth
4 Replies

7. Shell Programming and Scripting

A script needs to be created to collect all HTTP GET requests containing a particular string

Hi friends, A script needs to be created to collect all HTTP GET requests containing a particular string say abcd.gif in the url path along with the IP address of the client that issued the request. The source of this data is the web server logs. Also Each script execution should extract... (4 Replies)
Discussion started by: skumar391
4 Replies

8. SCO

Need help turning off bootpd

OSR 5.0.7 patched with MP 5 The syslog is flooded with messages: May 9 13:42:12 asiwc bootpd: IP address not found: 192.168.230.215 May 9 13:42:13 asiwc bootpd: IP address not found: 192.168.230.142 May 9 13:42:50 asiwc bootpd: IP address not found: 192.168.230.202 The system... (4 Replies)
Discussion started by: migurus
4 Replies

9. Web Development

HTTP Headers Reference: HTTP Status-Codes

Hypertext Transfer Protocol -- HTTP/1.1 for Reference - HTTP Headers 10 Status Code Definitions Each Status-Code is described below, including a description of which method(s) it can follow and any metainformation required in the response. (1 Reply)
Discussion started by: Neo
1 Replies

10. Shell Programming and Scripting

awk script to find time difference between HTTP PUT and HTTP DELETE requests in access.log

Hi, I'm trying to write a script to determine the time gap between HTTP PUT and HTTP DELETE requests in the HTTP Servers access log. Normally client will do HTTP PUT to push content e.g. file_1.txt and 21 seconds later it will do HTTP DELETE, but sometimes the time varies causing some issues... (3 Replies)
Discussion started by: Juha
3 Replies
HTTPING(1)						      General Commands Manual							HTTPING(1)

NAME
httping - measure the lateceny and throughput of a webserver SYNOPSIS
httping [options] options: [-g url] [-h hostname] [-p portnumber] [-x proxyhost:port] [-c count] [-i interval] [-t timeout] [-s] [-G] [-b] [-L xferlimit] [-X] [-l] [-z] [-f] [-m] [-o rc,...] [-e string] [-I useragent string] [-R referer string] [-r] [-n warn,crit] [-N mode] [-q] [-V] DESCRIPTION
The program httping lets you measure the latency of a webserver. Since version 1.0.6 also the throughput can be measured. OPTIONS
-g url This selects the url to probe. E.g.: http://localhost/ -h hostname Instead of '-g' one can also set a hostname to probe with -h: -h localhost -p portnumber -p can be used together with -h. -p selects the portnumber to probe. -x proxyhost:port] Probe using a proxyserver. Note that you're also measuring the latency of the proxyserver! -c count How many probes to send before exiting. -i interval How many seconds to sleep between every probe sent. -t timeout How long to wait for answer from the other side. -S Split measured latency in time to connect and time to exchange a request with the HTTP server. -s When a successfull transaction was done, show the HTTP statuscode (200, 404, etc.). -G Do a GET request instead of a HEAD request: this means that also the complete page/file must be transferred. Note that in this case you're no longer measuring the latency! -b Use this switch together with '-G'. When this option is used, the transferspeed (in KB/s) is shown. -B Use this switch together with '-G'. Ask the HTTP server to compress the returned data: this will reduce the influence of the band- width of your connection while increasing the influence of the processorpower of the HTTP server. -L x Use this switch together with '-G'. Limit the amount of data transferred to 'x'. Note that this only affects the content of the page/file and not the headerdata. -X Use this switch together with '-G'. For each "ping" show the amount of data transferred (excluding the headers). -l Connect using SSL: for this to work you need to give a 'https'-url or a 443 portnumber. -z When connecting using SSL, display the fingerprint of the X509 certificate(s) of the peer. -a Audible ping -f Flood ping: do not sit idle between each ping but ping as fast as the computer and network allow you to. -m Show machine readable output (also check '-o' and '-e'). -o x,x,... This selects the HTTP status-codes which are regarded as an OK-state. -e str When the status-code differs from the ones selected with '-o', the given string is displayed. -I str UserAgent-string to send to the webserver (instead of 'HTTPing <version>'). -R str Referer-string to send to the webserver. -r Only resolve the hostname once: this takes the resolving out of the loop so that the latency of the DNS is not measured. Also use- full when you want to measure only 1 webserver while the DNS returns a different ip-address for each resolve ('roundrobin'). -n warn,crit Switches HTTPing to Nagios-plugin mode 1: return exitcode '1' when the average response time is bigger then 'warn', return exitcode '2' when the the average response time is bigger then 'crit'. In all other cases return exitcode '0'. -N x Switches HTTPing to Nagios-plugin mode 2: return 0 when everything is fine, 'x' when anything fails. E.g.: 1 => Nagios warning state, 2 => Nagios critical state. -q Be quiet, only return an exit-code. -A,U,P Activate the basic authentication, Username follow the -U, Password the -P. -V Show the version and exit. KEYS
Press <CTRL> + <c> to exit the program. It will display a summary of what was measured. EXAMPLES
httping -g http://localhost/ Ping the webserver on host 'localhost'. httping -h localhost -p 1000 Ping the webserver on host 'localhost' and portnumber 1000. httping -l -g https://localhost/ Ping the webserver on host 'localhost' using an SSL connection. httping -g http://localhost/ -A -U username -P password Ping the webserver on host 'localhost' using the Basic HTTP Authentication. BUGS
None. This program is totally bug-free. SEE ALSO
http://www.vanheusden.com/httping/ NOTES
This page describes httping as found in the httping-1.0.8 package; other versions may differ slightly. Please mail corrections and addi- tions to folkert@vanheusden.com. Report bugs in the program to folkert@vanheusden.com. Consider using PGP. My PGP key-id is: 0x1f28d8ae httping 2005-11 HTTPING(1)
All times are GMT -4. The time now is 04:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy