Re: How to use Apache 2 with HTTPS only?

[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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux