Apache ACL

/usr/alivecp/home/nuhosting.net/private/users.txt

dmcmorrow@mage-net.net:CRYPT-PASSWORD

/usr/alivecp/home/nuhosting.net/private/groups.txt

stats:dmcmorrow@mage-net.net support@nuhosting.net
conf:dmcmorrow@mage-net.net

<Location /conf/>
AuthType Basic
AuthName “Conf”
AuthUserFile /usr/alivecp/home/nuhosting.net/private/users.txt
AuthGroupFile /usr/alivecp/home/nuhosting.net/private/groups.txt
require group conf
satisfy any
deny from all
allow from 82.136.23.129

RewriteEngine On
RewriteBase /conf
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !\.(js|ico|gif|jpg|png|css|txt|html|xml|xsd|php|pdf)$ index.php
</Location>

Published by

Daniel McMorrow

37 Year old disabled geek,