[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Source code to HTML



At 6:37 PM -0500 12/4/99, Paul Schinder wrote:
>At 3:29 PM -0800 12/4/99, Mike Schienle wrote:
>>At 4:32 PM -0500 12/4/99, Paul Schinder wrote:
>>>At 2:11 PM -0700 12/4/99, Dick Applebaum wrote:
>>>>Mike
>>>>
>>>>Not a Perl problem, but an HTML feature...

...

>>>Wouldn't it be better just to fix the server so that it served 
>>>Perl scripts with the right MIME type?
>>
>>Unless I'm missing something, wouldn't that interfere with handling 
>>CGI's with the same extension? .pl files are set to "CGI-script" on 
>>my server. Currently, I'm removing the extensions from the perl 
>>files and serving them up with a <PRE> before including the file. 
>>I'd like to not hassle with the encoding. I'm running my own server 
>>using Tenon's WebTen.
>
>
>If you need to, either change the extension for CGI or change the 
>extension for the scripts themselves.

What a novel idea :-) I'll just change the extensions of the scripts 
(currently removing them entirely) rather than walking through the 
landmined path of screwing with the CGI's.

>But won't WebTen key off type/creator instead of extension, or is it 
>so much just Apache that they haven't given it that capability?

I don't know the answer to that. I'm using the WebTen 3.0 beta, which 
is awaiting only the documentation to become a released version. I'll 
look in the 2.1 documentation for my own curiosity.

Thanks again, Paul.


Mike Schienle                                 Interactive Visuals, Inc.
mgs@ivsoftware.com                  Remote Sensing and Image Processing
http://www.ivsoftware.com/         Analysis and Application Development

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org