eole-syspass/tmpl/syspass-apache.conf

9 lines
317 B
Plaintext
Raw Normal View History

2019-08-13 11:13:16 +02:00
%set %%allowed_networks = ' '.join(['/'.join([%%str(ip), ip.syspass_allowed_netmask]) for ip in %%getVar('syspass_allowed_ip', [])])
2019-08-13 14:23:44 +02:00
Alias /syspass /var/www/html/syspass
<Directory "/var/www/html/syspass">
2019-08-13 11:13:16 +02:00
DirectoryIndex index.php
Order Deny,Allow
Deny from All
Allow from %%allowed_networks
</Directory>