in reply to •Re: Configurable Apache RedirectMap
in thread Configurable Apache RedirectMap

merlyn++
thanks for the URI-Tip (rant :-), I checked it and will incorporate it somtime next week, now I'm finaly of duty for the weekend and won't touch no job-code :-) (And yes, I have the permission to share snippets like these)

It's just a program I wrote quickly the other day, but I do think it's a cool use for perl ;-)

Update Though I just realized that the failure for ';' URIs is metioned in the comments, and the parameter split on '&' is done after the path is confirmed to be configured, the first match just splits into path and query-string (and anythong after a semicolon, on a closer look, though also the split should occur here, the handling isn't right)
I nevertheless will incorporate the change to URI, as I find modules to be nearly always preferrable.

regards,
tomte


Hlade's Law:

If you have a difficult task, give it to a lazy person --
they will find an easier way to do it.

  • Comment on Re: •Re: Configurable Apache RedirectMap