Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I invoke an URL I get in an infinite loop due to "301 Move Permanently" HTTP Response Code.

I'd like know the output and input requests that the machine is sending/receiving.

Is there any way to get this info?

The machine is a RHEL 5.5

share|improve this question
tcpdump or wireshark would work for that – freedenizen Nov 21 '11 at 1:10
301 is moved permanently. 302 is found. Both are not errors but HTTP status codes that are used for redirects. – Dennis Nov 21 '11 at 3:56
up vote 2 down vote accepted

I would suggest you to enable extended logs in the web service to log all input/output requests. Please check official mod_dumpio module documentation for Apache.

share|improve this answer

I can think of following two things you can take help of.

  1. httpd logs setup in your apache config, commonly found in /etc/httpd/logs

  2. tcpdump

tcpdump -vvvnn port 80 and host ip_addr_of_client -i any

where ip_addr_of_client is host from which you are accessing the url.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.