[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tim escreveu:
> On Sun, 2006-07-30 at 07:45 -0300, Vinicius wrote:
> 
>> I'm using FC5 and Apache 2. Apache 2 is using SSL, but I would like to
>> serve only HTTPS.
>>
>> How to use Apache 2 with HTTPS only, please?
> 
> If you're talking about to the public, and it not mattering about to the
> localhost, and you mean not serving HTTP and HTTPS, then that's probably
> easy enough to do in a few different ways, probably in combination:
> 
> Change the Listen directive in the main (HTTP / port 80) configuration
> to not listen to the public interface.
> 
> Set the DocumentRoot directive in the main configuration so that it
> can't serve out the files that your HTTPS site does.  Additionally, use
> a re-write rule so that visitors are redirected to the HTTPS address.
> 
> You can set up firewall rules blocking port 80, but I'd recommend
> against doing this by itself.  You'd be relying on your firewall,
> instead of simply configuring the server appropriately.
> 

Hello,

If I do an iptables rule to deny access to port 80 then any TCP/IP
packets  will be dropped, so the redirect will not work, is that correct?


Regards,
Vinicius.

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]
  Powered by Linux