Elxis CMS Forum

Support => Elxis 4.x/5.x DEV => Topic started by: exanimo on April 11, 2014, 15:17:08

Title: Tablet error
Post by: exanimo on April 11, 2014, 15:17:08
I tryed to open my new page diadiktio.gr based on elxis 4 and i get:
request droped
you are a bad boy
error code: SEC-DEFB-0002

All subdirectories like diadiktio.gr/directory opens without problem

 
Title: Re: Tablet error
Post by: datahell on April 11, 2014, 19:53:11
Elxis Defender blocks you because your browser sends invalid or empty IP address.

To check the IP the server detects create an empty file test.php with the contents shown below, put it inside your site root folder and visit it with your tablet ( http://www.diadiktio.gr/test.php (http://www.diadiktio.gr/test.php) )

<?php
header('content-type:text/plain; charset=utf-8');
print_r($_SERVER);
?>

Copy-paste here the results you see.
Title: Re: Tablet error
Post by: exanimo on May 06, 2014, 21:41:00
Sorry for the delay but only today i managed to contact the percon that has the tablet in which appeared the above error.
In the mean time i tested my site in three other tablets and two cellphones and all work normaly.
***And today in this specific tablet the site works normaly without any error***

For the history.. the results of "test.php":
 Array ( [CONTEXT_DOCUMENT_ROOT] => /home/exanimo/public_html [CONTEXT_PREFIX] => [DOCUMENT_ROOT] => /home/exanimo/public_html [GATEWAY_INTERFACE] => CGI/1.1 [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 [HTTP_ACCEPT_ENCODING] => gzip,deflate,sdch [HTTP_ACCEPT_LANGUAGE] => en-GB,en;q=0.8,en-US;q=0.6,el;q=0.4 [HTTP_CONNECTION] => Keep-alive [HTTP_COOKIE] => elxis_lang=greek [HTTP_FORWARDED] => for=46.12.60.180 [HTTP_HOST] => www.diadiktio.gr [HTTP_SCHEME] => http [HTTP_USER_AGENT] => Mozilla/5.0 (Linux; Android 4.2.1; AT10-A Build/JOP40D) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.114 Safari/537.36 [HTTP_VIA] => 1.1 Chrome Compression Proxy [HTTP_X_FORWARDED_FOR] => 46.12.60.180 [PATH] => /bin:/usr/bin [QUERY_STRING] => [REDIRECT_STATUS] => 200 [REMOTE_ADDR] => 66.249.81.136 [REMOTE_PORT] => 34644 [REQUEST_METHOD] => GET [REQUEST_SCHEME] => http [REQUEST_URI] => /test.php [SCRIPT_FILENAME] => /home/exanimo/public_html/test.php [SCRIPT_NAME] => /test.php [SERVER_ADDR] => 178.21.171.101 [SERVER_ADMIN] => webmaster@diadiktio.gr [SERVER_NAME] => www.diadiktio.gr [SERVER_PORT] => 80 [SERVER_PROTOCOL] => HTTP/1.1 [SERVER_SIGNATURE] => [SERVER_SOFTWARE] => Apache/2.4.9 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4 [UNIQUE_ID] => U2j927IVq2UACnRSYaQAAAAB [PHP_SELF] => /test.php [REQUEST_TIME] => 1399389659
Title: Re: Tablet error
Post by: datahell on May 07, 2014, 09:09:48
I think the problem is the Chrome Compression Proxy (https://developer.chrome.com/multidevice/data-compression).
Disable it in Chrome or use Firefox ;-)

Elxis is optimized for mobiles and tablets, you dont need third party tools to reduce bandwidth.
Title: Re: Tablet error
Post by: exanimo on May 07, 2014, 12:53:11
The tablet does not belong to me, but anyway yesterday i tested it again and worked normaly without any errors

Thank you gor the reply