RE: how to setup mod_ssl to accept only https requests

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

 



ravindra wrote:
> But when I type "http://localhost " it is still working (showing the
> index.html content in htdocs) . I want my apache server to accept only
> "https "requests.
> 
> How to configure this?

You have two way: remove the 'Listen 80' option, basically disabling the
whole http part, or add a 'RedirectPermanent / https:...' to the default
http vhost to redirect all the http request to https.


Thanks Davide it worked forme.
	
	I have another question. I have Struts2 application running in
Tomcat6.0 and I am using Apache Clustering and load balancing for that
application. I am able to access all my documents under apache htdocs
through https. Somewhere in those documents I have a link to my application
like "http://1.2.3.4:8080/app/login.action";.
 	
How to access this application also in https?
Do I need to setup https in tomcat6.0 or Is there any configuration
procedure in Apache 2.2 webserver?

Thank you,
Ravindra.



---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux