Re: Weird error after a configuration change
- From: Brian McCauley <nobull67@xxxxxxxxx>
- Date: 27 Apr 2007 12:56:14 -0700
On Apr 27, 8:33 pm, skieros <nikos1...@xxxxxxxxx> wrote:
I have this part of script:
##############################################################
my $action = param('action');
#============ REDIRECT TO PROPER SCRIPT ===================
if( ($action eq 'Αποστολή!') && ($ENV{HTTP_REFERER} =~ /
index/) )
##############################################################
and iam gettign thsi error now:
[Fri Apr 27 22:28:11 2007] [error] [client 10.0.0.2] [Fri Apr 27
22:28:11 2007] admin.pl: Use of uninitialized value in string eq at D:\
\www\\cgi-bin\\admin.pl line 26., referer:http://dell/
Hmmm... that's usually a warning. Do you perhaps have as use warnings
FATAL in your code?
Line 26 is the line with if.
All this happened when i deleted the d:\www\index.html file which was
pointing to d:\www\cgi-bin\index.pl and set apache to load /cgi-bin/
index.pl directly.
LOL!
So you are saying that "all you did" was to remove the referring page
and access the CGI script via a _direct_ URL (i.e. no referrer).
And now when your script tries to perform an operation on the address
of the referring page it finds that this is data item is undefined.
Well yes, er, it would.
This, of course, has nothing to do with Perl.
.
- Follow-Ups:
- Re: Weird error after a configuration change
- From: skieros
- Re: Weird error after a configuration change
- From: Brian McCauley
- Re: Weird error after a configuration change
- References:
- Weird error after a configuration change
- From: skieros
- Weird error after a configuration change
- Prev by Date: Re: Font question
- Next by Date: Re: Weird error after a configuration change
- Previous by thread: Weird error after a configuration change
- Next by thread: Re: Weird error after a configuration change
- Index(es):
Relevant Pages
|
|