Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have a web page shared as a http site. I then installed SSL certificates and the same site is now available using https. How do I stop the httpd:// version from being available? Both can be accessed right now.
I am running Apache 2.0.52 on a Red Hat ES4 server.
I just looked up the rewrite info on the Apache.org site. It will take a little time to read it (about 20 pages), but it looks like it should work. i will reply with results when i get it implemented. Thanks for the direction.
You should be able to comment out the line Listen 80 (Apache 2.0) and remove references to virtual hosts listening on port 80. That way, you're only listening for requests on port 443.
Thank you all for the suggestions. I have used the suggestion from gilead as I think it is the simplest and most efficient. With Listen 80 remarked out I get page not found with the http:// and only the https:// answers.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.