Blank page instead of error
Hi,
I've got several scripts in Perl that work fine. But I made a test: I tryed to access them behind a proxy. The result, was a blank page with the code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>
No error page, just this. How can I trap this in Perl? The proxy probably deactivates the Perl - it also deactivates the JS an VBS, but those errors I've got them controled.
Kind regards,
Rigel_Kent
PS - only one more question: is there a way, in htaccess, that if a user tryes to pull a specific page ( example.html ) it redirects him to the first page and them give him permission to visit the others?
|