Jump to content

Only allow my webserver access to directory


codeboy89

Recommended Posts

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>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.