![]() |
Ip Restrict
does anybody have this script ?
i want to block my website from all traffic, only sertain i.ps are allowed. i know scrits goes like this allow from 43.53.63.63.6 deny from :helpme |
put this in .htaccess
<FilesMatch "index2\.php" > Order deny,allow allow from 68.15. Deny from all </FilesMatch> |
Trying to sell peas ? :P
|
Quote:
|
Quote:
do i have to cmod the file ? |
no
if the filename for sampled whatever2.php then u do <FilesMatch "whatever2\.php" > Order deny,allow allow from 68.15. Deny from all </FilesMatch> |
Quote:
|
doesnt seems to work
|
maybe i have cmod .htaccess or my file which is 1.txt
|
Quote:
and .htaccess file is at same folder C:\Inetpub\wwwroot |
All times are GMT -7. The time now is 10:06 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123