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> Link to comment https://forums.phpfreaks.com/topic/182494-only-allow-my-webserver-access-to-directory/ 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 Link to comment https://forums.phpfreaks.com/topic/182494-only-allow-my-webserver-access-to-directory/#findComment-967515 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.