HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-172-31-27-128 6.8.0-1033-aws #35~22.04.1-Ubuntu SMP Wed Jul 23 17:51:00 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: //etc/apache2/sites-enabled/www.durafilms.com-le-ssl.conf
<IfModule mod_ssl.c>
<VirtualHost *:443>
	ServerName durafilms.com
	Redirect permanent / http://www.durafilms.com



SSLCertificateFile /etc/letsencrypt/live/www.durafilms.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/www.durafilms.com/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>


<IfModule mod_ssl.c>
<VirtualHost *:443>
   ServerName www.durafilms.com

#        RewriteEngine On
 #   RewriteCond %{HTTP:X-Forwarded-Proto} =http
  #  RewriteRule .* https://%{HTTP:Host}%{REQUEST_URI} [L,R=permanent]

       DocumentRoot /var/www/dura-films



        <Directory /var/www/dura-films>
        Require all granted
        DirectoryIndex index.php
        AllowOverride FileInfo
        AllowOverride all
        FallbackResource /index.php
        </Directory>


       ErrorLog ${APACHE_LOG_DIR}/error.log
       CustomLog ${APACHE_LOG_DIR}/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

SSLCertificateFile /etc/letsencrypt/live/www.durafilms.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/www.durafilms.com/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>