How to limit ip access to a lifetype blog

How to limit ip access to a lifetype blog

Postby taihung on Fri Oct 22, 2010 8:23 pm

I've many blogs in LT.
I want to set up ip access limit for one particular blog.
So I tried to modify Apache's httpd.conf as below:

<LocationMatch "/(blog|post)/3">
Order deny,allow
Deny from all
Allow from my company ip
</LocationMatch>

I tried to made blog 3 (http://ip/blog/3) to be accessed only in my company.
The result for url like http://ip/post/3/... is successfully blocked outside my company.
but just couldn't block url http://ip/blog/3 /...

Hot to make blog access ip limit possible?

thanks
OS: windows 2003 server
PHP: Version 5.1.4
Apache Web Server Version 2.2.2
MySQL Database Version 5.0.22
taihung
 
Posts: 6
Joined: Thu Jun 23, 2005 7:57 pm

Re: How to limit ip access to a lifetype blog

Postby jondaley on Sat Oct 23, 2010 11:57 pm

Maybe the hostblock plugin would help you?
jondaley
Lifetype Expert
 
Posts: 6169
Joined: Thu May 20, 2004 6:19 pm
Location: Pittsburgh, PA, USA
LifeType Version: 1.2.11 devel branch


Return to Configuration and Installation

cron