Disable HTTP_REFERER from the Shell

Started by Meik, September 08, 2017, 07:29:23 PM

Previous topic - Next topic
Hi all,

i would install a 17.7 on a vserver at my Provider.

there is a special, they route the public ip to a private 172.1.1.1
i only have one Network Interface so i set wan to the "Internet" IP.

when i would access the Webinterface this comes:

QuoteThe HTTP_REFERER "http://1.2.3.4/" does not match the predefined settings. You can disable this check if needed under System: Settings: Administration.

Is there a way to disable the HTTP_REFERER check from the Shell, or include the "real" secound IP to it?.


Thanks for helping ways :-)
                                         Meik

Hi Meik,

Not entirely sure, but try this:

# touch /tmp/disable_security_checks


Cheers,
Franco