diff --git a/exploitation/https_apache.md b/exploitation/https_apache.md index 5883add9b024dbd3dc096e00e0add217dec56e66..fc63d4f78e084fbb56f7c506c67fb07e5124f136 100644 --- a/exploitation/https_apache.md +++ b/exploitation/https_apache.md @@ -19,9 +19,13 @@ Vhost https: ``` <IfModule mod_ssl.c> <VirtualHost *:443> + +### identité vhost DocumentRoot /var/www/html/MaarchCourrier/ ServerName xxxx.site.com +### fin identité vhost +### SSL engine SSLEngine on SSLCertificateFile /etc/ssl/certs/fullchain.pem SSLCertificateKeyFile /etc/ssl/private/privkey.pem @@ -32,7 +36,9 @@ Vhost https: <Directory /usr/lib/cgi-bin> SSLOptions +StdEnvVars </Directory> +### Fin ssl +### Vhost maarch <Directory /var/www/html/> Options Indexes FollowSymLinks MultiViews AllowOverride All @@ -72,6 +78,7 @@ Vhost https: Allow from all </FilesMatch> </Directory> +### fin vhost maarch </VirtualHost> </IfModule> ``` \ No newline at end of file