Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
CJ Webmaster Forums Forum Index -> PHP Scripts » CJ Send Page

   
RewriteCond
View previous topic :: View next topic  
Author Message
hulk



Joined: 08 Jan 2006
Posts: 1

Posted: Sun Jan 08, 2006 6:37 am    Post subject: RewriteCond

Hello

I need to block the range 111.111.0.0 - 111.111.112.255. Is it correct to write the RewriteCond like below?

Code:
RewriteCond %{REMOTE_ADDR} ^(111.111.[0-112].*)$ [OR]



Thank you.
Back to top
PHPDUMMY
CJ-Design.com Moderator



Joined: 09 Mar 2005
Posts: 534
Location: South East Kentucky,U.S.A.

Posted: Sun Jan 08, 2006 12:24 pm    Post subject:

This is an server query.

Code:

<Directory "C:/Program Files/Apache Group/Apache2/htdocs">
 Options Indexes FollowSymLinks
 AllowOverride None
 Order allow,deny
 Allow from all
 Deny from 111.111.0.0
</Directory>


and try this site for Apache configurations: http://www.webservertalk.com/
_________________
Cheers,
Danny
C-J Search Engine All Tidied Up V4.0http://www.cj-design.com/forum/viewtopic.php?t=1820

C-J Search Engine MySQL !http://www.cj-design.com/forum/viewtopic.php?t=1555
Back to top
Display posts from previous:   
       CJ Webmaster Forums Forum Index -> PHP Scripts » CJ Send Page All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional, Mods by CJ Website Design