Debian Codegraph @

debian/conf/apache.conf

raw
1 # DmarcSrg default Apache configuration
2
3 Alias /dmarc-srg /usr/share/dmarc-srg/public
4
5 <Directory /usr/share/dmarc-srg/public>
6 Options SymLinksIfOwnerMatch
7 DirectoryIndex index.php
8
9 # limit libapache2-mod-php to files and directories necessary by DmarcSrg
10 <IfModule mod_php7.c>
11 php_admin_value open_basedir /tmp:/usr/share/php:/usr/share/dmarc-srg/:/etc/dmarc-srg/
12 </IfModule>
13
14 # PHP 8+
15 <IfModule mod_php.c>
16 php_admin_value open_basedir /tmp:/usr/share/php:/usr/share/dmarc-srg/:/etc/dmarc-srg/
17 </IfModule>
18
19 </Directory>