My Application has been deployed on JBOSS AS 7, Apache Web Server is in the middle and Public IP is there to access the application . Application is based on Java/Spring/JSF/Hibernate. To avoid Clickjacking, I have set X-Frame-Option to SAMEORIGIN in my Application as well as in httpd.conf in Appache server. In couple of modules, few pop ups/ New windows, are being opened to display data. While trying those from App Server, these are working fine. But on the other case, if trying from Public IP, the pop ups are coming blank. On web debugging I found below error.
123456.jsf:1 Multiple 'X-Frame-Options' headers with conflicting values ('SAMEORIGIN , DENY') encountered when loading 'https://xx.xx.xx.xx/xxx/xxxx/123456.jsf?PA1=16208&PA2=A'. Falling back to 'DENY'. 123456.jsf:1 Refused to display 'https://xx.xx.xx.xx/xxx/xxxx/123456.jsf?PA1=16208&PA2=A' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN , DENY'.
I searched the Application as well as conf file in Apache server, But did not find where X-Frame-Options was set to DENY.
The value below has been found is in response header while trying the pop up page: X-Frame-Options:"SAMEORIGIN, DENY". A help is welcome.