Skip to content

Commit

Permalink
1.0.74 Update Apache conf
Browse files Browse the repository at this point in the history
  • Loading branch information
webpwnized committed Nov 10, 2024
1 parent 0608064 commit f0d31b0
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
Require all granted
</Directory>

# Ensure Authorization header is passed to PHP
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

ErrorLog ${APACHE_LOG_DIR}/mutillidae-error.log
CustomLog ${APACHE_LOG_DIR}/mutillidae-access.log combined
</VirtualHost>
Expand All @@ -26,16 +29,19 @@
Include conf/headers.conf
Include conf/error-pages.conf

<IfModule dir_module>
DirectoryIndex index.php
</IfModule>
<IfModule dir_module>
DirectoryIndex index.php
</IfModule>

<Directory /var/www/mutillidae>
AllowOverride All
Options +Indexes +FollowSymLinks +MultiViews
Require all granted
</Directory>

# Ensure Authorization header is passed to PHP
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

ErrorLog ${APACHE_LOG_DIR}/mutillidae-error.log
CustomLog ${APACHE_LOG_DIR}/mutillidae-access.log combined

Expand All @@ -52,16 +58,19 @@
DocumentRoot /var/www/mutillidae
Include conf/error-pages.conf

<IfModule dir_module>
DirectoryIndex index.php
</IfModule>
<IfModule dir_module>
DirectoryIndex index.php
</IfModule>

<Directory /var/www/mutillidae>
AllowOverride All
Options +Indexes +FollowSymLinks +MultiViews
Require all granted
</Directory>

# Ensure Authorization header is passed to PHP
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

ErrorLog ${APACHE_LOG_DIR}/cors-mutillidae-error.log
CustomLog ${APACHE_LOG_DIR}/cors-mutillidae-access.log combined
</VirtualHost>
Expand All @@ -72,16 +81,19 @@
DocumentRoot /var/www/mutillidae
Include conf/error-pages.conf

<IfModule dir_module>
DirectoryIndex index.php
</IfModule>
<IfModule dir_module>
DirectoryIndex index.php
</IfModule>

<Directory /var/www/mutillidae>
AllowOverride All
Options +Indexes +FollowSymLinks +MultiViews
Require all granted
</Directory>

# Ensure Authorization header is passed to PHP
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

ErrorLog ${APACHE_LOG_DIR}/cors-mutillidae-error.log
CustomLog ${APACHE_LOG_DIR}/cors-mutillidae-access.log combined

Expand All @@ -91,3 +103,4 @@
SSLCertificateKeyFile /etc/ssl/private/mutillidae-selfsigned.key
SSLProtocol +TLSv1 +TLSv1.1 +TLSv1.2 +TLSv1.3
</VirtualHost>

2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.73
1.0.74

0 comments on commit f0d31b0

Please sign in to comment.