I just update to 22.1 version and after that I can not enter via webgui:
Error message:
The HTTP_REFERER "https://myAWS-elasticIP/" does not match the predefined settings. You can disable this check if needed under System: Settings: Administration.
I can access via ssh, is there a way to solve this problem via the shell?
I've tried to do this by editing the file /usr/local/etc/config.xml and in the <webgui> section add the tag <nohttpreferercheck> as follows but that not work:
<webgui>
<protocol>https</protocol>
<nohttpreferercheck>1</nohttpreferercheck>
</webgui>
Thanks
Quote<nohttpreferercheck>1</nohttpreferercheck>
<nodnsrebindcheck>1</nodnsrebindcheck>
What do you mean? Like this?
<webgui>
<protocol>https</protocol>
<nohttpreferercheck>1</nohttpreferercheck>
<nodnsrebindcheck>1</nodnsrebindcheck>
</webgui>
Like this do not work for me. The same error continues.
I have also tried at the FreeBSD level:
touch /tmp/disable_security_checks
chflags schg /tmp/disable_security_checks
But it also doesn't work
sorry, don't know where I was looking. nohttpreferercheck flag is correct for this error. should work imho (just tested)
Adjusting the /conf/config.xml on the wrong machine maybe? Stranger things have happened. ;)
Cheers,
Franco
;D and not uncommon
OMG. I was editing the wrong file. The config.xml file located at /usr/local/etc instead of the file located at /conf
Now works!!
Thanks