* [EMAIL PROTECTED] wrote: 

> I'm attempting to use RewriteMap to do some complex url rewriting.  The
> problem I'm running into is that for some reason my urls end up with a
> %0d appended to the end.  I have searched the net for solutions and have
> found several people with the same problem but have not found a solution.
>
> I believe this problem is specific to apache on windows and specifically
> deals with the difference between a windows newline and a unix newline,
> but can't guarantee that.

Yes, the c runtime makes perl see a \r\n instead of the \n, mod_rewrite 
sends and vice versa. You can avoid that by switching stdin and stdout to 
binary mode (2.2 fixes that in mod_rewrite, iirc).

nd

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to