Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Html Tags > Re: reduirectio...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 365 of 443
Post > Topic >>

Re: reduirection

by David Dorward <dorward@[EMAIL PROTECTED] > Sep 23, 2005 at 08:37 PM

Jason wrote:

> I need to redirect users from one site to another. What's the tag I'd
need
> to use to accomplish this? Thanks in advance.

Redirection should be handled at the protocol level, not the do***ent
level.
You need to send an appropriate HTTP status code (such as 301 or 301)
along
with a Location header.

HTTP status codes: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
Location header:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30

The most common webserver is Apache, the manual for Apache describes how
to
configure a redirect:
http://httpd.apache.org/docs/1.3/mod/mod_alias.html#redirect

-- 
David Dorward       <http://blog.dorward.me.uk/>
  <http://dorward.me.uk/>
                     Home is where the ~/.bashrc is
 




 3 Posts in Topic:
reduirection
"Jason" <pre  2005-09-23 05:42:15 
Re: reduirection
David Dorward <dorward  2005-09-23 20:37:45 
Re: reduirection
"Jason" <pre  2005-09-23 15:35:14 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Sep 5 2:46:29 CDT 2008.