I have an open directory currently called "hax" and I wanted to use deny and allow in the .htaccess to block people from viewing the directory and any files in the directory. I also have a page on my website that uses iframe to embed a HTML form in the hax directory. Every time I try anything, the form always stops working.
The form only ever works when I'm not trying to add this block in the .htaccess. The form should look like this when it's working: http://prntscr.com/4hm9t9 and when it's not working it looks like this: http://prntscr.com/4hm8ud.
I've tried all of this:
order allow,deny
allow from 69.195.124.70
also:
order deny,allow
deny from all
allow from 69.195.124.70"
and:
order deny,allow
deny from all
allow from localhost"
None of them work. I'm trying to allow 69.195.124.70 because I presumed that the block was blocking my own server from being able to read the HTML file and embed it on the site.