codeboy89 Posted November 22, 2009 Share Posted November 22, 2009 I would only like to allow my webserver access to a directory. I have put the following code in a .htaccess file in that directory as shown, but it still blocks my webserver too. Anyone help me? <Limit GET POST> order deny,allow deny from all allow from 127.0.0.1 </Limit> Quote Link to comment Share on other sites More sharing options...
steviewdr Posted November 29, 2009 Share Posted November 29, 2009 Try adding: allow from ip.address.of.server -steve Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.