You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Michael Louie Loria <mi...@yahoo.com> on 2006/02/01 04:08:00 UTC

[users@httpd] Redirect

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hello,

How do I redirect http://mail.sample.com to http://www.sample.com/mail/src/?

Thanks,

Michael Louie Loria
-----BEGIN PGP SIGNATURE-----
Comment: Public Key: https://www.biglumber.com/x/web?qs=0x4A256EC8
Comment: Public Key: http://www.lorztech.com/GPG.txt
Comment: Google, Skype, Yahoo ID: michaellouieloria

iQEVAwUBQ+F3abXBHi2y3jwfAQpEvQgAoFLo/PexHsE9iuYD5d1RBObL9XtTk3+E
ZUH0xKl2QpuGgXDdN84+gJD+WnWTx+QIandyvCeR43KGDjAz0nP0kbnTC0EMC0dw
PF1ebVSF851m6TEUBZkGiXgRmWvYBC+frMSZZaPl3GeAS1UzByJ0U9inY5Z8hvWh
bp/RBxjeOPw09rv07kNsXsxMI1rwhuhrXbEggSf6mGQ45yefcX/FnVxHM0i+ij0y
K+w/tlLj3TY1qGPlVTDTzlWW1Nyxi7DXptj5dexQmFRPP9In8ZyN+gOPVL2KYNJY
XiPDjr7S00yKbogMRk/hTkonTXffLuQiaoFaRaCQpxe1WxffgVkHdQ==
=Ilbf
-----END PGP SIGNATURE-----

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
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


Re: [users@httpd] Redirect

Posted by Joshua Slive <jo...@slive.ca>.
On 2/1/06, Dr. Stephen Judd <sj...@seas.upenn.edu> wrote:
> Try google on "redirect html" and take the very first link.
> If that's not what you meant, please be more clear.

It's actually better to do this at the http protocol level rather than
using html meta tags.  In httpd.conf:

RedirectMatch ^/$ http://www.sample.com/mail/src/

See:
http://httpd.apache.org/docs/2.2/urlmapping.html#redirect

Joshua.

---------------------------------------------------------------------
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


Re: [users@httpd] Redirect

Posted by "Dr. Stephen Judd" <sj...@seas.upenn.edu>.
Try google on "redirect html" and take the very first link.
If that's not what you meant, please be more clear.
sj

On 2006 Jan 31, at 10:08 PM, Michael Louie Loria wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Hello,
>
> How do I redirect http://mail.sample.com to http://www.sample.com/ 
> mail/src/?
>
> Thanks,
>
> Michael Louie Loria
> -----BEGIN PGP SIGNATURE-----
> Comment: Public Key: https://www.biglumber.com/x/web?qs=0x4A256EC8
> Comment: Public Key: http://www.lorztech.com/GPG.txt
> Comment: Google, Skype, Yahoo ID: michaellouieloria
>
> iQEVAwUBQ+F3abXBHi2y3jwfAQpEvQgAoFLo/PexHsE9iuYD5d1RBObL9XtTk3+E
> ZUH0xKl2QpuGgXDdN84+gJD+WnWTx+QIandyvCeR43KGDjAz0nP0kbnTC0EMC0dw
> PF1ebVSF851m6TEUBZkGiXgRmWvYBC+frMSZZaPl3GeAS1UzByJ0U9inY5Z8hvWh
> bp/RBxjeOPw09rv07kNsXsxMI1rwhuhrXbEggSf6mGQ45yefcX/FnVxHM0i+ij0y
> K+w/tlLj3TY1qGPlVTDTzlWW1Nyxi7DXptj5dexQmFRPP9In8ZyN+gOPVL2KYNJY
> XiPDjr7S00yKbogMRk/hTkonTXffLuQiaoFaRaCQpxe1WxffgVkHdQ==
> =Ilbf
> -----END PGP SIGNATURE-----
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> 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


---------------------------------------------------------------------
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