I have been trying to get my HTACCESS file to work on my website. This is what I want to do: 1) Have ONE page displayed that is accessible to everyone; 2) Restrict all other files and subdirs from ALL.
Can this be done???
I have tried a LIMIT GET, but it doesn't work and the server says 403 FORBIDDEN.
If someone would be able to tell me what I should do in order to accomplish my goal, I would reall appreciate it!
Thanks,
WJK
CODE FROM HTTPD.CONF FILE...
<Directory />
order allow,deny
deny from all
</Directory>
<Directory /home/httpd/html/>
AllowOverride None
<Limit GET>
order allow,deny
allow from 137.112
deny from all
</Limit>
</Directory>
CODE FROM .HTACCESS FILE in /home/httpd/html DIRECTORY...
<Files .htaccess>
order allow,deny
deny from all
</Files>
DirectoryIndex index_temp.htm
<Limit GET>
order allow,deny
allow from 137.112
deny from all
</Limit>
Bookmarks