On Thu, Apr 30, 2015 at 04:23:20PM -0300, Daniel Bareiro wrote: > Hi all! > > Currently I have a unique site in sites-enabled which is accessed only > via HTTPS. Hoping to have an access error when trying to access this > site via HTTP, Apache sends me to the default site which is "It's > works!" page in /var/www/html. > > I was looking in the Apache configuration files where is configured the > default site but I have not found it. This was set at low level in the > compilation of the service?
There's no magic going on. If you want a site to be accessible via https only, you have choices: - don't Listen 80 - set a VirtualHost servername:443 rather than servername:* - and you may want to set VirtualHost _default_:80 to some other directory tree entirely. -dsr- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150430193430.ga23...@randomstring.org