"Cannot find server." in Internet Explorer is often the equivelant of "Document contains no data" in Netscape (IE uses some pretty generic error messages). Basically, a header was sent, but no data followed. Posting a code snippet could really help to find the problem, otherwise, put debug prints out to a file in your code to make sure it is getting where you expect, both after the header is sent and after the first html is sent. You can also try sending a small snippet right after the header to validate that this is the case.
Also, are you using Apache::PerlRun or Apache::Registry? With Apache::PerlRun, the script is reloaded each time, and the namespace is cleared - when you are using a "require", it will only do the require the first time, but the namespace is cleared between each request, so anything that isn't in a different package is lost. If this is an issue, try "use" instead of "require", and make sure that everything is in a package.
Of course, all of this is just guesses without seeing the code. Once mod_perl was set up and running correctly, and our code ported, I have found it fairly easy to debug. If all else fails, make a simpler test script, and add to it until you can duplicate the issues.
techy
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.