ServerAdmin webmaster@thunix.net ServerName thunix.tilde.chat DocumentRoot /var/www/thunix.cf ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined Order deny,allow Deny from all RewriteEngine on RewriteCond %{SERVER_NAME} =thunix.tilde.chat RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]