This question isn't so much about Perl.
Let me know if I should take them elsewhere.
But it begins with PERL. I'm running ActiveState5.10 on my Windows XP laptop. Running a Perl program that is attempting to HTTP POST to a file at my website. When posting to a x.txt file with 777 I get:

405 Method Not Allowed
Method Not Allowed
The requested method POST is not allowed for the URL /x.txt.

Seemed clear to me....So I open a question/problem with my ISP about POSTing. And they reply that a Perl program can only POST to a file that ends with .pl. I replied that I didn't think the type of code that issued the POST was relevant but gave their suggestion a try.
That round cause some errors that looked as if the file being posted to was being executed as a Perl program. ISP then advised me to update my permissions to 755. Which ended in the message below:

C:\Perl\perlscripts>put05.pl
HTTP/1.1 500 Internal Server Error
Connection: close

It makes since that not just anyone can POST to any file on a website and so I suspect it's more of a permission/security issue. But just wanted to make sure I had a good overall understanding. Must Perl only POST to .pl files? Anyone have a area about POSTing that I should look at first?
Thanks Monks!
kc

In reply to HTTP POST by kansaschuck

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.