Code Comments
Programming Forum and web based access to our favorite programming groups.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.
Post Follow-up to this message"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
Post Follow-up to this messageIn 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.
Post Follow-up to this messageXref: 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
Post Follow-up to this messageTigerhillside 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
Post Follow-up to this messageIn alt.perl, Gunnar Hjalmarsson <noreply@gunnar.cc>, I read and responded >Tigerhillside wrote: > >Try comp.infosystems.www.authoring.cgi instead. Thanks
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.