I am configuring apache2 on debian and would like to allow only robots.txt to be accessed for searching engines, while other .txt files are restricted, I tried to add the followings to .htaccess but no luck:
Allow from All
Deny from All
Can anyone help or give me some hints? I am new comer to apache, thanks a lot.