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 = &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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! |