June 21, 200619 yr comment_3294 Hey, I tried putting in the # so it shouldn't check for http_refer. But it just wont work, after I did it the links in apanel turns to blank pages and not working. I don't know if it has something to do with the port 82 i'm using now.- - Lars Report
June 22, 200619 yr comment_3297 Yes, it does... BTW: You have to comment the whole enter script... not just one line... Everything. Best Regards Olajide Olaolorun The Uniform Server Development Team Report
June 22, 200619 yr Author comment_3311 # package secure; # # If you want to disable security check - comment the following lines with #. # # if (($ENV{HTTP_REFERER}!~/^http[s]?:\/\/localhost\/apanel/)&&($ENV{HTTP_REFERER}!~/^http[s]?:\/\/127\.0\.0\.\d+\/apanel/)){ # print " # <div id=\"main\"> # <h2>» Security Alert!</h2> # <h3>Possible Attack</h3> # <p> # HTTP_REFERER is not localhost. but '<b>".$ENV{HTTP_REFERER}."</b>'. # <br /> # <br /> # To disable this warning go: /home/admin/www/cgi-bin/secure.pm # <p> # </div>"; # # require footer; # # exit; # }; # # return 1; This should work then? Report
July 9, 200619 yr comment_3480 Wll yes, if everything is commented as i said. Best Regards Olajide Olaolorun The Uniform Server Development Team Report
August 30, 200817 yr comment_6706 Wll yes, if everything is commented as i said. i have the same situation i check my browser ( im using k-meleon ) and i see that my browser is block http referrer so i think the problem maybe with the browser I'm not a coder nor a programmer. I just love learning from error Report
September 11, 200817 yr comment_6721 Yeah, it actually happens on my new PC also. Best Regards Olajide Olaolorun The Uniform Server Development Team Report
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.