Jump to content

.htaccess restrict access


WatsonN

Recommended Posts

Hi,

I'm trying to restrict access to my site except to certain files and folders.

 

<Limit GET POST>
order deny,allow
deny from all
allow from none
</Limit>

I want to add these files to allowed files:

maintenance.php
maintenance.php
maintenance_mode
default.css
images
openx

the folders I just put a .htaccess allowing access and am trying to figure out if I need that.

 

Thanks In advanced

Link to comment
https://forums.phpfreaks.com/topic/209479-htaccess-restrict-access/
Share on other sites

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.