.htaccess "deny from...." not working

Status
Not open for further replies.

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
Domain [ realhandydata.info ] is a Addon domain

in the last line of "deny from ...." in the ~/public_html/realhandydata.info/.htaccess file - I have ==> 117.0.0.0/8 <== as per Premium Ticket #870904
but I received this hit notice
==>
realhandydata.x10host.com at server 09/08/2013 21:15:07
hit #11
Domain of Program ==>/home/bdistler/public_html/realhandydata.info/index.php<==
User IPadd ==>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;)<==
User IPhost ==>no IP - Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;)<==
PHP session_id() ==>71d1ac456e837a2c677c4c1c1895a318<==


*** Start $_SERVER data ***
array (
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_ACCEPT_LANGUAGE' => 'zh-cn',
'HTTP_CONNECTION' => 'keep-alive',
'HTTP_HOST' => 'realhandydata.info',
'HTTP_USER_AGENT' => 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;)',
'DOCUMENT_ROOT' => '/home/bdistler/public_html/realhandydata.info',
'REMOTE_ADDR' => '117.26.78.73',
'REMOTE_PORT' => '65281',
'SERVER_ADDR' => '198.91.81.3',
'SERVER_NAME' => 'realhandydata.info',
'SERVER_ADMIN' => 'webmaster@realhandydata.realhandydata.x10host.com',
'SERVER_PORT' => '80',
'REQUEST_URI' => '/',
'SCRIPT_FILENAME' => '/home/bdistler/public_html/realhandydata.info/index.php',
'QUERY_STRING' => '',
'SCRIPT_URI' => 'http://realhandydata.info/index.php',
'SCRIPT_URL' => '/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => 1378689307.32,
'REQUEST_TIME' => 1378689307,
'argv' =>
array (
),
'argc' => 0,
)
*** End $_SERVER data ***
<==

the issue is - how did IP 117.26.78.73 get a 200 status code and not a 403 status code?
 

usama_rasab27

Member
Messages
208
Reaction score
15
Points
18
Hi, it seems to be working for me: "This is a private website and you do not have the proper authorization for access!".
 
Status
Not open for further replies.
Top