best pactice - apache, rewrite, ssl, virtualhost or .htaccess
- From: "Ernst-Magne Vindal" <ernst@xxxxxxxxxx>
- Date: Mon, 31 Jul 2006 14:41:32 +0200 (CEST)
Hi, I'm running Apache2 on Debian Sarge and redirect some sites to https.
I have:
debian 2.6.8-16sarge1
apache2 - 2.0.54-5 with mod_ssl, mod_rewrite
I have tryed to redir with .htaccess file and by config virtualhosts. Both seams
to work ok, but will be happy for some comments for best practice.
Another thing is redirection, virtualhosts and url's.
I have not managed to redir http://webmail.domain.com to
https://webmail.domain.com. "webmail" is a virtualhost. But i can redirect to
https if I redirect to https://domain.com/webmail. Is that the only way to do
it? If so is there a way to keep the url in browser at webmail.domain.com even
if redirected domain.com/webmail?
I've googled around some and only found the [R] to put at the end of
RewriteRule. But some say that it will show only the url typed, and some says it
will show the url that user is rediredted to.....anyhow it makes no different.
--
/ernst-magne
If you can't explain it simply, you don't understand it well enough. (Albert
Einstein)
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: best pactice - apache, rewrite, ssl, virtualhost or .htaccess
- From: Casey T. Deccio
- Re: best pactice - apache, rewrite, ssl, virtualhost or .htaccess
- From: Roberto C. Sanchez
- Re: best pactice - apache, rewrite, ssl, virtualhost or .htaccess
- From: Jon Dowland
- Re: best pactice - apache, rewrite, ssl, virtualhost or .htaccess
- Prev by Date: Re: konqueror's sftp slower than scp?
- Next by Date: Contact Me For More Details Investment Proposal
- Previous by thread: Suspend removes /sys files needed for touchpad
- Next by thread: Re: best pactice - apache, rewrite, ssl, virtualhost or .htaccess
- Index(es):
Relevant Pages
|
|