diff --git a/deploy/apache/avideo.conf b/deploy/apache/avideo.conf index 7683972da..bd86ecf95 100644 --- a/deploy/apache/avideo.conf +++ b/deploy/apache/avideo.conf @@ -1,17 +1,29 @@ - ServerName avideo.localhost - DocumentRoot /var/www/avideo - Options Indexes FollowSymLinks - DirectoryIndex index.html index.php - - - AllowOverride All - - Allow from all - - = 2.4> - Require all granted - - - + DocumentRoot "/var/www/html/AVideo" + ServerName avideo.localhost + ServerAdmin webmaster@localhost + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined + #RewriteEngine on + #RewriteCond %{SERVER_NAME} =www.domain.com [OR] + #RewriteCond %{SERVER_NAME} =domain.com + #RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] + + + DocumentRoot "/var/www/html/AVideo" + ServerName avideo.localhost + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined + #SSLEngine on + #SSLCertificateFile /etc/ssl/certs/apache-selfsigned.crt + #SSLCertificateKeyFile /etc/ssl/private/apache-selfsigned.key + + Options Indexes FollowSymLinks + XSendFile on + XSendFilePath /var/www/html/AVideo/ + AllowOverride All + Require all granted + Order Allow,Deny + Allow from All + \ No newline at end of file