First of all, I have never dealt with perl before. (That probably explains a lot to start with).
I am editing my friend's website and have edited a .pl file, changing the main image file to have a link attached to it.
I opened the file in dreamweaver and saved it as 'filename'.pl then uploaded it to the server.
I then refreshed the page and got a 500 Internal Server Error
Obviously at this stage I panic. I have broken the damn thing. I upload the original file to replace it but it still shows the 500 error.
These are the details I am now getting:
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, email@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/18.104.22.16835 mod_qos/9.68 Server at www.merryhillvancentre.co.uk Port 80
If you could advise me what I have done wrong (apart from touching it in the first place!!) I will promise to not touch the damn thing again, or learn more so I don't break it.!!
I am at your mercy (as is that particular website page...)
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:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||