PriNet has asked for the wisdom of the Perl Monks concerning the following question:

i have spent hours looking everywhere for this issue. when i "was" using microsofts PWS i was successfully using instances of forms where i used "multipart/form-data" as my mime type for picture uploads. i just recently installed apache (win32) and have been very impressed with the whole setup until i got to one of my pages where it used the multipart/form-data encrypt type. the server bombed. "Internal Server Error" i do almost all of my website in perl for the dynamics, but, i can find no information anywhere how to configure apache to "accept" this mime type. any ideas?

you mean there's any easier way? -gary

Replies are listed 'Best First'.
Re: apache & multipart/form-data
by Heidegger (Hermit) on Apr 07, 2003 at 07:55 UTC
    First of all, have a look at the Apache error log file: ./logs/error.log. Have a look at that error. It might directly tell you what's wrong ;-) It might even be file permission problems.
      i'm running on a windows platform (98se)... how do you "chmod" in that environment? (just following thru...*heh*

      you mean there's any easier way? -gary
        First, have a look at the Apache/logs/error.log file and see what it says about the error.
Re: apache & multipart/form-data
by vek (Prior) on Apr 07, 2003 at 16:17 UTC
    Your first stop should always be Apache's error_log. Alternatively you could use fatalsToBrowswer while debugging the problem:
    use CGI::Carp qw(fatalsToBrowser);
    This will send the error messages to your browser so you don't have to hunt for them in the error_log. You will only want to use fatalsToBrowser when debugging because it's a security risk to leave it in production code.

    -- vek --