[vox-tech] Question: mod_dav.1.0.3 + apache.1.3.26 and CR/LF issues w/ MacOS+MSWin

ME vox-tech@lists.lugod.org
Tue, 2 Jul 2002 00:39:56 -0700 (PDT)


Though I would still like an elegant solution, I have something that does
what I need with on-the-fly line termination for dav served html or text
files to match the connecting client's OS.

This is unweildly and is rather brutish, so I am still interested in
other responses...

Thanks!

-ME

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/CM$/IT$/LS$/S/O$ !d--(++) !s !a+++(-----) C++$(++++) U++++$(+$) P+$>+++ 
L+++$(++) E W+++$(+) N+ o K w+$>++>+++ O-@ M+$ V-$>- !PS !PE Y+ !PGP
t@-(++) 5+@ X@ R- tv- b++ DI+++ D+ G--@ e+>++>++++ h(++)>+ r*>? z?
------END GEEK CODE BLOCK------
decode: http://www.ebb.org/ungeek/ about: http://www.geekcode.com/geek.html

On Mon, 1 Jul 2002, ME wrote:
> Here is what I *want* to do...
> 
> Much like FTP has the ASCII mode for transmitting files for
> upload/download and then properly deals with the CR/LF, CR, LF issues, I
> would like something like this for apache and dav over HTTP.
> 
> I have played with specifying use of AddType text/plain for shtml, html,
> cgi etc. in the hopes that text transaltion with termination would work
> from the client side and then back to the server side.
> 
> I have thought about using the <file *html> to do some rewriting and maybe
> even some client information parsing to control output but this does not
> control input from the client AFAIK.