Hi Guys,
I'm seeking for your in Plone. I issue is when I'm not in inspect element mode the embedded javascript is not fully loaded properly but when I'm in inspect element mode the embedded javascript is successfully loaded. I already changed the settings for nasty tags and customized the configuration in my frontend (Apache). Please see below for details:
Below is my configuration in Apache:
UseCanonicalName On
NameVirtualHost *
<VirtualHost *>
ServerName 13.228.28.211
ServerSignature On
Header set X-Frame-Options "SAMEORIGIN"
Header set Strict-Transport-Security "max-age=15768000; includeSubDomains"
Header set X-XSS-Protection "1; mode=block"
Header set X-Content-Type-Options "nosniff"
Header always set Access-Control-Allow-Origin "*"
Header always set Access-Control-Allow-Credentials: true
Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT"
Header always set Access-Control-Max-Age "1000"
Header always set Access-Control-Request-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token"
Header always set Access-Control-Allow-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token"
ProxyVia On
# prevent your web server from being used as global HTTP proxy
<LocationMatch "^[^/]">
Deny from all
</LocationMatch>
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} OPTIONS
RewriteRule ^(.*)$ $1 [R=200,L]
RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/%{HTTP_HOST}:80/PayMaya/VirtualHostRoot/$1 [P,L]
<VirtualHost *>
ServerAlias *
ServerRoot /var/www
ServerSignature On
Thanks,
Jayson