Forum Moderators: phranque
Option A
Set first line in htaccess to read:
IndexIgnore .htaccess */.?* *~ *# */HEADER* */README* */_vti*
(side note: not positive Option A actually even does the job, would appreciate a confident yeppers or nopers in that regard)
Option B
<Files .htaccess>
order allow,deny
deny from all
allow from ^001.001.000.000$
allow from ^001.001.000.001$
</Files>
(side note: the two allows would permit him/her what
edit the file easy viewing access, but only him/her)
Option C
#block view of htaccess
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ^(Mozilla¦Opera)
RewriteCond %{REMOTE_ADDR}!^001.001.000.000$
RewriteCond %{REMOTE_ADDR}!^001.001.000.001$
RewriteRule ^\.htaccess$ [domain.tld...] [R,L]
(side note: works, not sure if it's the better
choice though)