Hi, what is from your angle of view more secure option: --Install apache 2.2 from source , with modules u want , and chroot it. --apt-get install apache2 with default ...
It depends on your knowledge. Normally I'd prefer the apt-get way. It's sufficient to build a secure server. Afterwards, you should enable only those modules you really need.
i apt-get apche2. i put that he listen on 80 and 443. how can i redirect automatic user to use 443and https. when he put http:// domain . com to redirect him on https i use RedirectMatch permanent (/.*) https://ip but now when i want to access for example ip.test it redirect me on https://ip not on https://ip/folder
Did you have a look at the Apache rewriting guide? http://httpd.apache.org/docs/1.3/misc/rewriteguide.html