httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike McMullen" <...@loanprocessing.net>
Subject Re: [users@httpd] Re: OT: Refresh and different browsers -SOLVED
Date Fri, 23 Jul 2004 18:53:53 GMT


> 
> ----- Original Message ----- 
> From: "Dan Wilga" <dwilga@MtHolyoke.edu>
> To: <users@httpd.apache.org>
> Sent: Friday, July 23, 2004 6:07 AM
> Subject: [users@httpd] Re: OT: Refresh and different browsers
> 
> 
> > >If they are, a simple index.cgi generates a refresh with url = to the
> > >$REMOTE_USER learned from the authentication. The output looks
> > >like this for the username "mlm":
> > >
> > ><head>
> > ><meta http-equiv="refresh" content="0; url=/~mlm/">
> > ></head>
> > 
> > This would probably work with the browsers you listed if you were to 
> > wrap this in <html>...</html>. However, this tag is not recognized by

> > some older browsers. The better way is to sent an HTTP redirect 
> > header, instead of HTML code:
> > 
> > #!/usr/bin/perl -w
> > print "Status: 301\n";
> > print "Location: http://www.myhost.com/~mlm/\n";
> > print "\n";
> > 
> > Note that you should include a fully-qualified URL (not a relative 
> > one), if you use this method.
> > -- 
> > Dan Wilga                                         dwilga@mtholyoke.edu
> 
> Dan,
> 
> Thanks! I'll give this a try.
> 
> Mike
Hi Dan,

This worked perfectly.

Thanks!

Mike



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message