Hi,
I’m trying to disallow a folder. In box 6 of the htaccess file custom code page, I have the following:
# DENY ACCESS TO PROTECTED SERVER FILES AND FOLDERS
# Use BPS Custom Code to modify/edit/change this code and to save it permanently.
# Files and folders starting with a dot: .htaccess, .htpasswd, .errordocs, .logs
RedirectMatch 403 \.(htaccess|htpasswd|errordocs|logs)$
disallow: /specifiedfolder/
The last line causes the web server to return a Status Code 500 error, with the only fix being to ftp the previous version of the htaccess file, exactly the same in every way except not having the disallow line.
Any ideas gratefully received.