How to use Apache 2 with HTTPS only?

Vinicius cviniciusm at uol.com.br
Mon Jul 31 05:53:36 UTC 2006


Matthew Miller escreveu:
> On Sun, Jul 30, 2006 at 07:14:48AM -0500, Anthony Messina wrote:
>>>> what about having it listen *only* on port 443?
>>> [...] if you do that, someone who connects to
>>> http://yoursite.example.org would get an error. That's confusing to
>>> non-technical people. So it's generally better to run on port 80 as
>>> well, but redirect all requests.
>> that's true.  i guess i was considering that he said "HTTPS only",
> 
> The effect of doing the redirect is that everything is served via https
> only, but yeah, if you literally want only https, you could not listen on
> port 80..
> 

Thanks.

I did do "RedirectPermanent / https://myserver.com/", but the site is
presenting an error.

Both the server and the client use certificates issued by a local CA,
and I created a SSLRequire rule to allow only the client to enter the
site. I think the SSL check failed because of the RedirectPermanent.

Any ideas, please?


Regards,
Vinicius.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060731/4d3da300/attachment-0001.sig>


More information about the fedora-list mailing list