[squid-users] errorpage.cc and errorConvert question

This is a discussion on [squid-users] errorpage.cc and errorConvert question within the Squid Users forums, part of the Web Server and Related Forums category; Hello, I added an additional case to errorConvert, just for debugging, i.e., case 'C': if (r->auth_user_request) { p = &...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2004
OTR Comm
 
Posts: n/a
Default [squid-users] errorpage.cc and errorConvert question

Hello,

I added an additional case to errorConvert, just for debugging, i.e.,

case 'C':
if (r->auth_user_request) {
p = "[UNKNOWN]";
} else {
p = "[unknown]";
}
break;

I wanted to see if r->auth_user_request is true in errorConvert.

Then I modified my query string in ERR_FORWARDING_DENIED to pickup the
value for 'C', i.e.,

URL=http://216.19.43.110/cgi-bin/squidsearch/FD_Handler.cgi?url=%U&ident=%C

But %C doesn't pickup either value from the case statement. %U does
pickup the URL, but it is like the case for 'C' is ignored.

What have I missed here?


Thanks,
Murrah Boswell

By the way, just an observation, at other case statements in
errorConvert, 'unknown' is misspelled
at cases 'M' and 'P' where it is spelled 'unkown'. Just an editorial
observation!
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:52 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0