GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Ip Restrict (https://gfy.com/showthread.php?t=394340)

CAHEK 11-26-2004 02:26 PM

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

qwe 11-26-2004 02:30 PM

put this in .htaccess

<FilesMatch "index2\.php" >
Order deny,allow
allow from 68.15.
Deny from all
</FilesMatch>

Doctor Dre 11-26-2004 02:31 PM

Trying to sell peas ? :P

kmanrox 11-26-2004 02:37 PM

Quote:

Originally posted by Doctor Dre
Trying to sell peas ? :P
ahahaaa

CAHEK 11-26-2004 02:49 PM

Quote:

Originally posted by qwe
put this in .htaccess

<FilesMatch "index2\.php" >
Order deny,allow
allow from 68.15.
Deny from all
</FilesMatch>


do i have to cmod the file ?

qwe 11-26-2004 02:58 PM

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>

Steen2 11-26-2004 02:59 PM

Quote:

Originally posted by CAHEK
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

What site and what directory do you want to protect?

CAHEK 11-26-2004 03:05 PM

doesnt seems to work

CAHEK 11-26-2004 03:15 PM

maybe i have cmod .htaccess or my file which is 1.txt

CAHEK 11-26-2004 03:19 PM

Quote:

Originally posted by Steen2
What site and what directory do you want to protect?
well my file is at C:\Inetpub\wwwroot\1. txt

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