Hello there I want to password protect one of my controllers in codeigniter. This is the code in .htaccess
# password-protect single file
<Files my_controller.php>
AuthName "my_controller.php"
AuthType Basic
AuthUserFile /home2/afolder/.htpasswds/.htpasswd
require valid-user
</Files>
the problem is that myController.php will show up in my url as /my_controller/
(no .php) so the protection has no effect...can I do something to overcome this problem?
thanks in advance