LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-02-2005, 03:23 PM   #1
rigel_kent
Member
 
Registered: Nov 2004
Posts: 64

Rep: Reputation: 15
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?
 
Old 04-03-2005, 11:51 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
I understand you try to access CGI Perl scripts, right? Remember that you access not the actual script, but the result it gives. In this case it looks like crash or other reason making the script exit earlier. Look into all logs, there may be something about it.

Quote:
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?
I must say I don't understand. What do you mean by 'first page'?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CUps printing blank page Drunkalot Linux - General 1 06-29-2005 10:09 AM
Mozilla Browser Says done, Blank page. rstick Linux - Software 10 12-15-2004 07:59 AM
Firefox blank page problem jjacobso Linux - Software 1 07-21-2004 02:06 PM
IMP shows blank page! k. kirk Linux - Software 2 07-02-2003 03:14 AM
Mozilla opens to a blank page linuxRunner Linux - Software 2 05-07-2003 06:51 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration