%PDF- %PDF-
Direktori : /etc/apache2/sites-enabled/ |
Current File : //etc/apache2/sites-enabled/cwg.conf |
<VirtualHost *:80> ServerName cwg.eco-n-tech.co.uk ServerAdmin cwg@gmail.com DocumentRoot /var/www/cwg ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined <FilesMatch \.php> # Apache 2.4.10+ can proxy to unix socket SetHandler "proxy:unix:/var/run/php/php7.4-fpm.sock|fcgi://localhost/" </FilesMatch> <Directory /var/www/cwg/> Options Indexes FollowSymLinks AllowOverride all Require all granted </Directory> RewriteEngine on RewriteCond %{SERVER_NAME} =cwg.eco-n-tech.co.uk RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] </VirtualHost>