• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Windows My website detecting Javascript as insecure script

Tarek

Premium User
Premium User
Joined
Jun 9, 2012
Messages
3,597
Solutions
4
Reaction score
1,186
Location
Sweden
GitHub
Taarek
Hi! I've been trying to get my website working with my "home-made" SSL certification and everything works fine except that the layout I'm using is Ninja made and what HalfAway converted. Is that Login and library is handled by Javascript and my website detects as its insecure script.

What I'm using:
Xampp latest version
Znote AAC 1.5
MetroBlueLayoutConvertedByHalfAway

The "error" I'm recieving. It's in Swedish it's saying:
The website is trying to load in scripts from non unauthenticated sources.

Load in insecure script

L9EyEeE.png


My script for httpd-xampp-conf

yes, I know my IP is there ddos me if you want.
Code:
<IfModule mod_rewrite.c>
    RewriteEngine On

    RewriteCond %{HTTP_HOST} ^xx\.xx\.xxx\.xx$
    RewriteRule ^(.*)$ https://bloxx.sytes.net$1 [L,R=301]

    # Redirect / folder to https
    RewriteCond %{HTTPS} !=on
    RewriteCond %{REQUEST_URI} /
    RewriteRule ^(.*) https://%{SERVER_NAME}$1 [R,L]

    # Redirect /xampp folder to https
    RewriteCond %{HTTPS} !=on
    RewriteCond %{REQUEST_URI} xampp
    RewriteRule ^(.*) https://%{SERVER_NAME}$1 [R,L]

    # Redirect /phpMyAdmin folder to https
    RewriteCond %{HTTPS} !=on
    RewriteCond %{REQUEST_URI} phpmyadmin
    RewriteRule ^(.*) https://%{SERVER_NAME}$1 [R,L]

    # Redirect /security folder to https
    RewriteCond %{HTTPS} !=on
    RewriteCond %{REQUEST_URI} security
    RewriteRule ^(.*) https://%{SERVER_NAME}$1 [R,L]

    # Redirect /webalizer folder to https
    RewriteCond %{HTTPS} !=on
    RewriteCond %{REQUEST_URI} webalizer
    RewriteRule ^(.*) https://%{SERVER_NAME}$1 [R,L]
  
    # Redirect /htdocs folder to https
    RewriteCond %{HTTPS} !=on
    RewriteCond %{REQUEST_URI} htdocs
    RewriteRule ^(.*) https://%{SERVER_NAME}$1 [R,L]
  
</IfModule>
 
Last edited:
Your webserver is not online so I cant test it right now but:

1) It looks like you force SSL with your home made SSL? Meaning each site visitor will be redirected to https://yourip?
If so, make sure your scripts are being linked as
Code:
"://script.js"
(basicly make sure to use relative urls to link your scripts).

2) What js files in particular are being blocked? Can you show us from js console? Go to your website and control+shift+j
 
This is me right now, I have tried re installing XAMPP 1500 times and doesn't work anymore, same with Uniserver, wamp, winginx and other shit. so bye bye otland see you soon going to reinstall Windows
 
Back
Top