rendered paste body
AuthUserFile /usr/local/www/data/.htpasswd
AuthGroupFile /dev/null
AuthName "Postfix Admin"
require valid-user
AuthType Basic
<Files /sugarcrm/WebToLeadCapture.php>
Order Allow,Deny
Allow from all
</Files>
# BEGIN SUGARCRM RESTRICTIONS
RedirectMatch /sugarcrm/sugarcrm.log.* http://www.netragard.com/sugarcrm/log_file_restricted.html
RedirectMatch /sugarcrm/emailman.log http://www.netragard.com/sugarcrm/log_file_restricted.html
RedirectMatch /sugarcrm/not_imported_(.*).txt http://www.netragard.com/sugarcrm/log_file_restricted.html
RedirectMatch /sugarcrm/XTemplate/(.*)/(.*).php http://www.netragard.com/sugarcrm/index.php
RedirectMatch /sugarcrm/data/(.*).php http://www.netragard.com/sugarcrm/index.php
RedirectMatch /sugarcrm/examples/(.*).php http://www.netragard.com/sugarcrm/index.php
RedirectMatch /sugarcrm/include/(.*).php http://www.netragard.com/sugarcrm/index.php
RedirectMatch /sugarcrm/include/(.*)/(.*).php http://www.netragard.com/sugarcrm/index.php
RedirectMatch /sugarcrm/log4php/(.*).php http://www.netragard.com/sugarcrm/index.php
RedirectMatch /sugarcrm/log4php/(.*)/(.*).php http://www.netragard.com/sugarcrm/index.php
RedirectMatch /sugarcrm/metadata/(.*)/(.*).php http://www.netragard.com/sugarcrm/index.php
RedirectMatch /sugarcrm/modules/(.*)/(.*).php http://www.netragard.com/sugarcrm/index.php
RedirectMatch /sugarcrm/soap/(.*).php http://www.netragard.com/sugarcrm/index.php
RedirectMatch /sugarcrm/emailmandelivery.php http://www.netragard.com/sugarcrm/index.php
# END SUGARCRM RESTRICTIONS