httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Horner, Jonathan J. (JH8) " <...@y12.doe.gov>
Subject RE: Webmail Secure !!!
Date Thu, 28 Mar 2002 19:07:18 GMT
We get around this problem by setting up a port 80 virtual host, and a port
443 virtual host.  When you put a redirect in the server-wide configuration
like this (points to itself), you cause it to loop (goes to /webmail,
redirects to https:.../webmail, redirects to https://.../webmail, redirects
to https://.../webmail theoretically).  If you put in a VirtualHost
configuration for port 80, then put the redirect there, you should be okay.

Thanks,

Jon Horner
WebPool
jh8@y12.doe.gov
Office:  (865) 425-5178
Pager:  (865) 417-5012


-----Original Message-----
From: Tiago Fioreze [mailto:tapera@inf.ufsm.br]
Sent: Thursday, March 28, 2002 1:59 PM
To: users@httpd.apache.org
Subject: Re: Webmail Secure !!!


  Hi Pete !!!

  I'm a newbie in apache.

  I put Redirect /webmail https://mywebserver.domain/webmail
  in httpd.conf :

# Redirect allows you to tell clients about documents which used to exist in
# your server's namespace, but do not anymore. This allows you to tell the
# clients where to look for the relocated document.
# Format: Redirect old-URI new-URL
#

Redirect /webmail https://mywebserver.domain/webmail

  but, I get the following when type http://mywebserver.domain/webmail :

Found

The document has moved here.


Apache/1.3.23 Server at mywebserver Port 443


  What's wrong ?

  Tiago Fioreze

Citando Pete Nelson <pete.nelson@ci.stpaul.mn.us>:


> Because https is a different protocol, you must redirect to the SSL
> server (maybe that's what you meant by 'automatically').
> 
> Try using Redirect -
> http://httpd.apache.org/docs/mod/mod_alias.html#redirect 
> 
> # in your 'http' virtual host -
> Redirect /webmail https://mywebserver.domain/webmail
> 
> --
> Pete Nelson, Web Developer
> <pete.nelson@ci.stpaul.mn.us>
> http://www.ci.stpaul.mn.us/
> 
> >>> tapera@inf.ufsm.br 03/28/02 11:48AM >>>
>        Hi !!!
> 
>        I did install a webmail in my webserver and I would
> like that my users access it on SSL Connection. The webserver
> runs PORT 80 and 443.
>        My idea is the following one... when the user type,
> for example, http://mywebserver.domain/webmail, I would like
> the connection automatically became https://....
>        How I define this in the file httpd.conf?
> 
>        PS. Sorry by my bad English.
> 
>        Thanks a lot !!!
> 
>        Tiago Fioreze
> 
> ---------------------------------------------------------------------
> 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 
> 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
> 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
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
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message