Problems, need help? Have a tip or advice? Post it here.
4 posts Page 1 of 1
I need some help with figuring this out. My website is http://www.fouridine.com, built with couch CMS. It looks fine as http:// but after I've installed in SSI certification (my hosting is with GoDaddy), my site as https:// is not displaying properly, i.e. CSS is not being read. According to GoDaddy, it seems there is something in CSS that's not passing the security measures of the SSI certification thus causing it to not display correctly.

On another note, I've received a notification from Godaddy some time back about a possible malware in my files but i can't find it:

rex.multi_vars.004 - html/stats/HOURLYSUM_lines3d_old.php

Not sure if this is affecting the first issue.

If this is a complex issue and needs detailed look into, would be great if you can recommend a developer I can work with on this. Thanks!
Hi.

Saw your code. And I have a feeling that you have hard coded the values in the link and script tags.

For instance:
Code: Select all
<script src="http://www.fouridine.com/js/bootstrap.min.js"></script>


Please change it to:
Code: Select all
<script src="<cms:show k_site_link />js/bootstrap.min.js"></script>


In case you dont want to take the couch approach, and keep using the hard coded values then change it to:
Code: Select all
<script src="//www.fouridine.com/js/bootstrap.min.js"></script>


Pleas let us know if that solves your problem.

Regards,
GenXCoders (Priya)
Image
where innovation meets technology
Hi genxcoders,

I checked and in the related ink file embedded in index.php, is called scripts-foot.html, the link to my bootstrap js files has the script as you said as using the couch script.

<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="<cms:show k_site_link />js/bootstrap.min.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="<cms:show k_site_link />js/ie10-viewport-bug-workaround.js"></script>

So this does not seem to be the issue.

I also checked the links to my css file in scripts-head.html and they also use couch scripts

<link rel="icon" href="<cms:show k_site_link />favicon.ico">

<!-- Bootstrap core CSS -->
<link href="<cms:show k_site_link />css/bootstrap.css" rel="stylesheet">

<!-- Custom styles for this template -->
<link href="<cms:show k_site_link />css/mystyle.css" rel="stylesheet">
<cms:ignore>
<!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
<!-- <!--[if lt IE 9]><script src="<cms:show k_site_link />js/ie8-responsive-file-warning.js"></script><![endif]--> -->
<!-- <script src="<cms:show k_site_link />js/ie-emulation-modes-warning.js"></script> -->
<!-- <script src="<cms:show k_site_link />js/modernizr.custom.js"></script> -->
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
</cms:ignore>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->


Anything else should i be looking at?
Hi!

If that is the condition as you have told, then hotlink protection may be ON.

What to do?
1. Flip the switch to OFF to disable the hotlink protection.

OR

2. use your .htaccess file to leave the hotlink protection ON and still achieve what you want to.

Add the following code to your .htaccess file:
Code: Select all
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?fouridine.com


I hope that should do the maginc.

Regards,
GenXCoders
Image
where innovation meets technology
4 posts Page 1 of 1
cron