I'm able to view the images, but I'm no longer asked for my login/pass with any browser that i try.. I get the "401 Authorization Required".. heres my htaccess file in public_html
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName "Restricted Area"
AuthType Basic
AuthUserFile /home/nyc/.htpasswd
AuthGroupFile /dev/null
<Files *.php>
require valid-user
</Files>
<Files *.js>
require valid-user
</Files>
seems like its the <Files> part thats the reason y its not working because i can login with this:
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName "Restricted Area"
AuthType Basic
AuthUserFile /home/nyc/.htpasswd
AuthGroupFile /dev/null
require valid-user
I dont know about that stuff above AuthName, but it was in my htaccess so i didnt remove it form the file.. i tried removing it also and i wasnt able to login.. only when i removed the <Files> part did it work but of course the images werent viewable to unauthorized people