If it tries to download your files, your ScriptAlias directive is most probably not working. It *should* give 500 errors or succeed in that case. And no, you don't need both AddHandler and ScriptAlias at the same time. :)

One thing that is different from usual when you are doing CGI in the environment you describe is that the shebang line must be correct (this is not necessary otherwise under activestate). So make sure it is #!/perl/bin/perl -w or wherever you have installed it (I have /usr/bin/perl just like the real people). Also, if for some reason the apache is running on another drive, you need to set it with drive letter as well: #!c:/perl/bin/perl -w.

Also, you will want to examine your log files, access and especially error logs can be very helpful sometimes when trying to track these problems down.

One stupid question also, I am not trying to be condesending or anything, but you are restarting apache everytime you make a change, right? All in all, apache and activestate usually plays very well together on windows, although I have never run ME and never ever will.

Feel free to come back with more info about your problem, especially error logs.


You have moved into a dark place.
It is pitch black. You are likely to be eaten by a grue.

In reply to Re: ActivePerl / Apache / WinMe config problem by Dog and Pony
in thread ActivePerl / Apache / WinMe config problem by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.