%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /etc/apache2/sites-enabled/
Upload File :
Create Path :
Current File : //etc/apache2/sites-enabled/tif-dev.conf

<VirtualHost *:80>
  ServerName tif-dev.eco-n-tech.co.uk
  ServerAdmin admin@tif-dev.eco-n-tech.co.uk
  DocumentRoot /var/www/tif-dev
  ErrorLog ${APACHE_LOG_DIR}/error.log
  CustomLog ${APACHE_LOG_DIR}/access.log combined
  RewriteEngine on

    <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/tif-dev/>
    Options Indexes FollowSymLinks
    AllowOverride all
    Require all granted
  </Directory>

RewriteCond %{SERVER_NAME} =tif-dev.eco-n-tech.co.uk
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>

Zerion Mini Shell 1.0