http://www.perlmonks.org?node_id=1187702


in reply to Re^11: global var
in thread global var

Does the test script work when opened with browser. No.

Replies are listed 'Best First'.
Re^13: global var
by poj (Abbot) on Apr 21, 2017 at 13:07 UTC

    When you accessed the script with the browser, what errors did you get in the Error Log in cPanel as shown here Error Log

    poj

      The error log shows nothing

      These are ll hits that go on 24/7

      [Sun Apr 23 09:15:59 2017] [error] [client 116.197.134.130] client den +ied by server configuration: /home/jalamior/public_html/ [Sun Apr 23 09:15:56 2017] [error] [client 88.253.47.69] client denied + by server configuration: /home/jalamior/public_html/ [Sun Apr 23 09:15:24 2017] [error] [client 90.148.214.52] client denie +d by server configuration: /home/jalamior/public_html/ [Sun Apr 23 09:15:24 2017] [error] [client 1.46.41.11] client denied b +y server configuration: /home/jalamior/public_html/ [Sun Apr 23 09:15:18 2017] [error] [client 171.228.82.242] client deni +ed by server configuration: /home/jalamior/public_html/ [Sun Apr 23 09:15:12 2017] [error] [client 116.197.134.130] client den +ied by server configuration: /home/jalamior/public_html/ [Sun Apr 23 09:15:09 2017] [error] [client 72.168.129.72] File does no +t exist: /home/jalamior/public_html/httpsdocs/index.html [Sun Apr 23 09:15:01 2017] [error] [client 89.164.204.46] client denie +d by server configuration: /home/jalamior/public_html/ [Sun Apr 23 09:14:38 2017] [error] [client 14.207.73.5] client denied +by server configuration: /home/jalamior/public_html/ [Sun Apr 23 09:14:34 2017] [error] [client 116.197.134.130] client den +ied by server configuration: /home/jalamior/public_html/ [Sun Apr 23 09:14:33 2017] [error] [client 88.253.47.69] client denied + by server configuration: /home/jalamior/public_html/ [Sun Apr 23 09:14:18 2017] [error] [client 41.218.26.149] client denie +d by server configuration: /home/jalamior/public_html/ [Sun Apr 23 09:13:59 2017] [error] [client 90.148.214.52] client denie +d by server configuration: /home/jalamior/public_html/ [Sun Apr 23 09:13:54 2017] [error] [client 95.47.162.10] client denied + by server configuration: /home/jalamior/public_html/ [Sun Apr 23 09:13:47 2017] [error] [client 81.215.13.42] client denied + by server configuration: /home/jalamior/public_html/

        What date/time did you try accessing moduletest.cgi ?