"HCMI EUGENIO, Sheila R." <[EMAIL PROTECTED]> wrote: > Thank you for your responses, Aengus and Alejandro. Funny I didn't check the > log files. The + sign was there alright. And yes, we're using IIS. > > I think it's better that we use REQALIAS instead. The server here was > configured by default to create log files daily so there were quite a lot to > read. Scanning the Perl tutorial, I found a regexp that can match and > replace characters in a string. > > I figured we can use REQALIAS REGEXP:s/\+/\%20/ but that didn't work so I > think there's something wrong somewhere. I'm not even sure if we can use it > with REQALIAS at all.
Actually, looking at the documentation, it appears that REQALIAS just changes the string displayed in the Request report - FILEALIAS would probably be more appropriate. http://www.analog.cx/docs/alias.html#aliasregexp But your syntax looks wrong to me (though I don't use regular expressions, and can never quite make sense of them anyway). From what I understand, Analog allows you to use regular expressions to parse your string into it's parts, and then to recombine them, so you would use something like: FILEALIAS REGEXP:(.*)\+(.*) "$1%20$2" ($1 is everything before the "+" and $2 is everything after it - the alias is $1%20%2). But you should note that this will also affect entries that have a valid + in them, and it acts on the first + in the string, rather than the last. It will also "correct" the URLs in the failure report, where they are supposed to be wrong. Aengus +------------------------------------------------------------------------ | This is the analog-help mailing list. To unsubscribe from this | mailing list, go to | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | List archives are available at | http://www.mail-archive.com/[email protected]/ | http://lists.isite.net/listgate/analog-help/archives/ | http://www.tallylist.com/archives/index.cfm/mlist.7 +------------------------------------------------------------------------
