.htaccess tutorial

htaccess Elite


Deny based on domain name

Security in htaccess: htpasswd, 401 Authentication

Deny based on domain name

New postby produke » 03 Oct 2006 02:11

Code: Select all
order allow,deny
deny from www.theirdomain.com
allow from all


This denies from all subdomains of theirdomain.com
Code: Select all
order allow,deny
deny from .theirdomain.com
allow from all
User avatar
produke
 
Posts: 242
Joined: 25 Sep 2006 04:48

Return to Security and Authentication