%PDF- %PDF-
Direktori : /etc/apache2/sites-enabled/ |
Current File : //etc/apache2/sites-enabled/pn.conf |
<VirtualHost *:80> ServerName pn.eco-n-tech.co.uk ServerAdmin pn@gmail.com DocumentRoot /var/www/pn 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/pn/> Options Indexes FollowSymLinks AllowOverride all Require all granted </Directory> RewriteEngine on RewriteCond %{SERVER_NAME} =pn.eco-n-tech.co.uk RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] </VirtualHost>