<VirtualHost *:8021>
    # ServerName movie-here.net
    DocumentRoot /var/www/html/movietellingfe/
    CustomLog /var/log/apache2/access_movie-here.net.log combined
    ErrorLog /var/log/apache2/error_movie-here.net.log


    <Directory /var/www/html/movietellingfe>
        Options -Indexes +FollowSymLinks +MultiViews
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>


# <VirtualHost *:80>
#     ServerName movie-here.net
#     DocumentRoot /var/www/html/movietellingfe/
#     CustomLog /var/log/apache2/access_movie-here.net.log combined
#     ErrorLog /var/log/apache2/error_movie-here.net.log


#     <Directory /var/www/html/movietellingfe>
#         Options -Indexes +FollowSymLinks +MultiViews
#         AllowOverride All
#         Require all granted
#     </Directory>
#     Header set Access-Control-Allow-Origin "*"
#     # RewriteCond %{HTTP:X-Forwarded-Proto} ^$
#     # RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
# </VirtualHost>

# <IfModule mod_ssl.c>
#     <VirtualHost *:443>
#         DocumentRoot /var/www/html/movietellingfe
#         ServerName movie-here.net
#         CustomLog /var/log/apache2/access_movie-here.net.log combined
#         ErrorLog /var/log/apache2/error_movie-here.net.log

#         <Directory /var/www/html/movietellingfe>
#             Options -Indexes +FollowSymLinks +MultiViews
#             AllowOverride All
#             Require all granted
#         </Directory>
#         Header set Access-Control-Allow-Origin "*"
#         Include /etc/letsencrypt/options-ssl-apache.conf
#         SSLCertificateFile /etc/letsencrypt/live/movie-here.net/fullchain.pem
#         SSLCertificateKeyFile /etc/letsencrypt/live/movie-here.net/privkey.pem
#     </VirtualHost>
# </IfModule>