CGI.pm is great for Apache CGI scripts, but not sure if that will work with an IO::Socket server
Also, I am not instructing the server to go fetch a URL. Rather, what I am doing is allowing the user to upload a file to the server and provide the URL they want it stored under. Then, if any other user requests the URL from the proxy, the proxy will server the file the original user uploaded. This will give users the ability to upload files to the proxy server such as:
Their resume and store it under http://resumebank.company/joe_smith.doc
or something like that. This is a test thing rather than a production piece. Well aware users might put the wrong extension on things. Once this is all figured out, I will write a piece to make sure they get the extension right.
Thanks.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.