Re: [users@httpd] block directories using Apache22

2013-06-12 Thread motty cruz
you're right I did not have htaccess override set to allow, I just fixed it too; yeah, them busters are giving me headache lately, Thanks again! On Wed, Jun 12, 2013 at 9:17 AM, David Guerra wrote: > Glad I could help. > > Your issue is probably that you don't have htaccess override set to all

Re: [users@httpd] block directories using Apache22

2013-06-12 Thread David Guerra
Glad I could help. Your issue is probably that you don't have htaccess override set to allow. :) Kick those bots! On Wed, Jun 12, 2013 at 12:16 PM, motty cruz wrote: > I am not using virtual host, I'm adding to .htaccess in the root directory > of web site. > > but after adding this to my htt

Re: [users@httpd] block directories using Apache22

2013-06-12 Thread motty cruz
I am not using virtual host, I'm adding to .htaccess in the root directory of web site. but after adding this to my httpd.conf file it worked perfectly fine. Thank you very much David for your help, -Motty On Wed, Jun 12, 2013 at 9:09 AM, David Guerra wrote: > Yes, it should work just fine.

Re: [users@httpd] block directories using Apache22

2013-06-12 Thread David Guerra
Yes, it should work just fine. Are you putting this in the virtual host? On Wed, Jun 12, 2013 at 12:08 PM, motty cruz wrote: > Thanks for your help David, > > can this be accomplish in httpd.conf? > > Thanks, > > > On Wed, Jun 12, 2013 at 9:07 AM, motty cruz wrote: > >> 192.168.9.43 - - [12/J

Re: [users@httpd] block directories using Apache22

2013-06-12 Thread motty cruz
Thanks for your help David, can this be accomplish in httpd.conf? Thanks, On Wed, Jun 12, 2013 at 9:07 AM, motty cruz wrote: > 192.168.9.43 - - [12/Jun/2013:09:05:23 -0700] "GET /wp-login.php HTTP/1.1" > 200 1085 > > I am still able to get access from a different IP than the one allow in > .h

Re: [users@httpd] block directories using Apache22

2013-06-12 Thread motty cruz
192.168.9.43 - - [12/Jun/2013:09:05:23 -0700] "GET /wp-login.php HTTP/1.1" 200 1085 I am still able to get access from a different IP than the one allow in .htaccess as you suggest: order deny,allow Deny from all allow from 192.168.8.4 On Wed, Jun 12, 2013 at 9:01 AM, David Guerra wrote: > T

Re: [users@httpd] block directories using Apache22

2013-06-12 Thread David Guerra
Try this format: order deny,allow Deny from all allow from xx.xxx.xx.xx allow from xx.xxx.xx.xx On Wed, Jun 12, 2013 at 11:52 AM, motty cruz wrote: > Hello David, > > this is the content on .htaccess > # BEGIN WordPress > > RewriteEngine On > RewriteCond %{REQUEST_METHOD} POST > RewriteCon

Re: [users@httpd] block directories using Apache22

2013-06-12 Thread motty cruz
Hello David, this is the content on .htaccess # BEGIN WordPress RewriteEngine On RewriteCond %{REQUEST_METHOD} POST RewriteCond %{HTTP_REFERER} !^http://(.*)?mydomain\.com [NC] RewriteCond %{REQUEST_URI} ^/(.*)?wp-login\.php(.*)$ [OR] RewriteCond %{REQUEST_URI} ^/(.*)?wp-admin$ RewriteRule ^(.*)$

Re: [users@httpd] block directories using Apache22

2013-06-12 Thread David Guerra
Flop Allow and Deny so that your IP is whitelisted after the Deny from all. On Wed, Jun 12, 2013 at 11:20 AM, motty cruz wrote: > Hello, > I am trying to block a directory from being access except my IP but I had > being unsuccessful in doing so, please help: First I place this in > httpd.conf

[users@httpd] block directories using Apache22

2013-06-12 Thread motty cruz
Hello, I am trying to block a directory from being access except my IP but I had being unsuccessful in doing so, please help: First I place this in httpd.conf Options Indexes FollowSymLinks Options ALL -Indexes IndexIgnore * AllowOverride None Order allow,deny Allow from a