Re: Apache::SSI forces text/html?

2000-04-14 Thread Joshua Chamas
Ken Williams wrote: [EMAIL PROTECTED] (Dan McCormick) wrote: Hi, I was just trying to hack a script into showing its HTML output to a browser by setting the content type to 'text/plain', but it looks like Apache::SSI, which I'm using, always sets the content type to 'text/html' (line 23

Re: Apache::SSI forces text/html?

2000-04-14 Thread Vivek Khera
"KW" == Ken Williams [EMAIL PROTECTED] writes: KW I'll remove it if it won't break anything - will Apache set the type to KW text/html if no other information is given? Apache has a default document type parameter, and I believe the shipped configurations say text/plain.

Re: Apache::SSI forces text/html?

2000-04-14 Thread Ken Williams
Okay, then I'll remove the line for the next version, it won't touch content-type. [EMAIL PROTECTED] (Dan McCormick) wrote: It looks like Apache will follow its normal extension-to-MIME-type mapping, which seems like the right to do. I just tested it on a .ps file (using Apache::SSI to

Apache::SSI forces text/html?

2000-04-13 Thread Dan McCormick
Hi, I was just trying to hack a script into showing its HTML output to a browser by setting the content type to 'text/plain', but it looks like Apache::SSI, which I'm using, always sets the content type to 'text/html' (line 23 Apache::SSI). I'm also using Apache::ASP, which apparently gets its

Re: Apache::SSI forces text/html?

2000-04-13 Thread Ken Williams
[EMAIL PROTECTED] (Dan McCormick) wrote: Hi, I was just trying to hack a script into showing its HTML output to a browser by setting the content type to 'text/plain', but it looks like Apache::SSI, which I'm using, always sets the content type to 'text/html' (line 23 Apache::SSI). I'll remove