On Sat, 2 Oct 1999, David Harris wrote:

> 
> Dirk Lutzebaeck wrote:
> > ie.
> >
> > <Location /PERL>
> > Options ExecCGI
> > SetHandler perl-script
> > PerlHandler Apache::OutputChain Apache::GzipChain Apache::Registry
> > </Location>
> >
> > and /PERL/x.pl
> >
> > use Apache;
> > use Apache::Constants qw(REDIRECT);
> > $r = Apache->request;
> > $r->header_out("Location" => "/y.html");
> > $r->status(REDIRECT);
> >
> > this works.
> 
> Is it legal to issue a redirect header relative to the server base? I didn't
> think you were allowed to do that, so I was using this function to get a
> reference back to the specific ipaddr/port on the server:

it works for netscape, probably others.  internal_redirect is also an
option.

-Doug

Reply via email to