File: //proc/thread-self/root/proc/self/root/etc/apache2/sites-enabled/wpbiancoarte.conf
<VirtualHost *:80>
ServerName biancoarteconcept.com.my
ServerAlias www.biancoarteconcept.com.my
ServerAdmin webmaster@biancoarteconcept.com.my
DocumentRoot /var/www/html/wpbiancoarte
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/html/wpbiancoarte>
Options FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/wpbiancoarte-error.log
CustomLog ${APACHE_LOG_DIR}/wpbiancoarte-access.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
RewriteEngine on
RewriteCond %{SERVER_NAME} =www.biancoarteconcept.com.my [OR]
RewriteCond %{SERVER_NAME} =biancoarteconcept.com.my
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet