Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Is there anyway to get full urls displayed on the mod_status output page? At the moment the request is truncated at 64 chars:

HEAD /w3c-validator/check?uri=http%3A%2F%2Fwww.domain.com%2Fans

I know there's a bunch of query string options like ?auto, ?notable etc, but none of them show the full urls (that I can see).

share|improve this question

1 Answer 1

as Apache docs said :

Determine if mod_status displays the first 63 characters of a request or the last 63, assuming the request itself is greater than 63 chars. ths Default value is Off.

just change the value to On. the sample config like this:

<IfModule mod_status.c>

 <Location /server-status>
  SetHandler server-status
 </Location>

 # Keep track of extended status information for each request
 ExtendedStatus On

 SeeRequestTail On
 </IfModule>
share|improve this answer
1  
The drawback is that you will not get the full URL, but just the tail of the URL. I think there is no option to get the full URL. I usually take the url sample and grep it in the apache log to get the full URL. –  Marc MAURICE Nov 2 '12 at 17:50
    
The problem with grepping the apache log for the full URL is that URLs which do not complete are not logged. So if you are troubleshooting an instance where a page request makes an httpd process grow very large and get killed by the OS before the page request completes and you need to full URL to reproduce the issue and see what SQL query is being built, this is very problematic. –  James Shewey Jul 2 at 23:42

Your Answer

 
discard

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.