What's the equivalent of <Location> in .htaccess?
This is just a guess, but can you place that in a .htaccess file, minus the <Location>
and </Location>
tags, inside the /trac/login directory?
Also, be sure to have your htpasswd
file outside the document root (commonly public_html) otherwise it can be downloaded and cracked.