Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Redirect problem
Yes, I have walked through the troubleshooting steps. I have
tried everything I can. I am trying to get redirection to work.
Here is a simple script that does not work:

#!/usr/bin/perl -w

use strict;

use CGI qw(:standard);
use CGI qw(-debug);

use Carp;

local $SIG{__WARN__} = \&Carp::cluck;

my $q = new CGI;

print $q->redirect('NewURL');


I have two systems, this works fine on system 1, it works from
the command line on system 2 (by fine I mean I get reasonable
output rather than an error). But I get an error from the browser
on system 2. Both are perl 5.008, both Free BSD, both apache (but
system 2, the non-working system, is apache 2.0.47, the working
system is apache 1.3.29). The only other difference is system 2,
the non-working, is a secure server. But I am redirecting inside
the server. I have tried relative redirection, absolute, but not
HTTPS, and the full URI. I have also asked tech support, but
gotten no answer. Anyone have any ideas?

TIA.





Report this thread to moderator Post Follow-up to this message
Old Post
Tigerhillside
03-27-04 04:15 AM


Re: Redirect problem
"Tigerhillside" <Tigerhillsideremove@removenetscape.net> wrote in message
 news:cqes505dlovncis95ntrkkifv4lgd8180h@
4ax.com...
> Yes, I have walked through the troubleshooting steps. I have
> tried everything I can. I am trying to get redirection to work.
> Here is a simple script that does not work:
>

<snip repost>

What are you hoping to accomplish by posting the same question here? If you
followed these newsgroups you'd know that almost everyone who regularly
posts here also reads clpm. Did you read what David wrote about relative
paths on secure servers?

Matt



Report this thread to moderator Post Follow-up to this message
Old Post
Matt Garrish
03-27-04 04:15 AM


Re: Redirect problem
In alt.perl, "Matt Garrish" <matthew.garrish@sympatico.ca>, I
read and responded

>
>"Tigerhillside" <Tigerhillsideremove@removenetscape.net> wrote in message
> news:cqes505dlovncis95ntrkkifv4lgd8180h@
4ax.com... 
>
><snip repost>
>
>What are you hoping to accomplish by posting the same question here? If you
>followed these newsgroups you'd know that almost everyone who regularly
>posts here also reads clpm. Did you read what David wrote about relative
>paths on secure servers?

Because I was told that the first group was not appropriate so I
tried an alt group. And I posted this before David posted his
response and his response was not helpful, I did try both
absolute and relative URIs and said so.



Report this thread to moderator Post Follow-up to this message
Old Post
Tigerhillside
03-27-04 04:15 AM


Re: Redirect problem
Xref: kermit alt.perl:26781


"Tigerhillside" <Tigerhillsideremove@removenetscape.net> wrote in message
 news:3emt50hqut214ueptk8j17jgbmkn7b9bq7@
4ax.com...
>
> Because I was told that the first group was not appropriate so I
> tried an alt group. And I posted this before David posted his
> response and his response was not helpful, I did try both
> absolute and relative URIs and said so.
>

You were told it was not appropriate because you have yet to show how you
have a Perl problem. Posting to another Perl group doesn't address that
underlying issue in any way.

Matt



Report this thread to moderator Post Follow-up to this message
Old Post
Matt Garrish
03-27-04 04:15 AM


Re: Redirect problem
Tigerhillside wrote:
> In alt.perl, "Matt Garrish" <matthew.garrish@sympatico.ca>, I read
> and responded 
>
> Because I was told that the first group was not appropriate so I
> tried an alt group.

Try comp.infosystems.www.authoring.cgi instead.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl


Report this thread to moderator Post Follow-up to this message
Old Post
Gunnar Hjalmarsson
03-27-04 04:15 AM


Re: Redirect problem
In alt.perl, Gunnar Hjalmarsson <noreply@gunnar.cc>, I read and
responded

>Tigerhillside wrote: 
>
>Try comp.infosystems.www.authoring.cgi instead.

Thanks


Report this thread to moderator Post Follow-up to this message
Old Post
Tigerhillside
03-27-04 04:15 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PERL Programming archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:07 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.