Serve yii assets contents via https and fix mixed content SSL security issue

I am trying to force https only on one page of a YII framework website, and let the rest of the pages be http. The page that would be forced https is

[url removed, login to view]

The following creates what I desire, but with a mixed content error. Furthermore, when I go from the mixed content tab to any other tab, it doesn't automatically become http. It takes the movement to one more tab to reach http status.

RewriteEngine On

# Go to https

RewriteCond %{HTTPS} off

RewriteCond %{QUERY_STRING} ^r=user/profile$ [NC]

RewriteRule ^(index\.php)$ [url removed, login to view]$1 [R,L]

# Go to http

RewriteCond %{HTTPS} on

RewriteCond %{HTTP_REFERER} !/index\.php\?r=user/profile

RewriteCond %{REQUEST_URI} !^/index\.php$ [OR]

RewriteCond %{QUERY_STRING} !^r=user/profile$ [NC]

RewriteRule ^(.*)$ [url removed, login to view]$1 [R,L]

The mixed content error is as follows.

Mixed Content: The page at '[url removed, login to view] r=user/profile' was loaded over HTTPS, but requested an insecure image '[url removed, login to view]'. This content should also be served over HTTPS.

As it can be seen, the assets under YII framework is the only folder causing problem. I have to find a way to serve the contents via https to eliminate this problem.

Is there a way to request the files used from assets in a https fashion so I don't get a mixed content error?

Please note that I am not able to give access to the server. I will be able to work via chat.

Compétences : Sécurité Web, Yii

en voir plus : www yii, php show mixed content ssl, fix security issue joomla, ssl security warning safari, safari ssl security warning, web script security issue, ssl security certificate, flash content ssl, flash game save score security issue, showing flash content ssl, plesk security issue

Concernant l'employeur :
( 0 commentaires ) Glen Allen, United States

Nº du projet : #8499053

5 freelance font une offre moyenne de $132 pour ce travail


Nie złożono jeszcze oferty.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(4 Commentaires)

Hi! I will be glad to fulfill your project. My proposal is to use Yii2 framework with Mysql DB. Some of my works 1) participate in the development of the admin's [url removed, login to view] Browser for iOS (iPad) Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(1 Évaluation)

Hi there, We are a team of highly experienced designers, coders and SEO experts. Our skills include Adobe photoshop & Capitative,Storeyline, Os commerce, Scorm, Java, Moodle, Blockly Code Editor Java script, Drupal Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(0 Commentaires)

I are an experienced Web programmer . I Do Wordpress,Magento Drupal,Joomla,E Commerce, PrestaShop,Responsive Designs, Opencart PHP,Jquery, Mysql Jquery, HTML5, Javascript, have been working since 2009 specifically with Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(0 Commentaires)

A proposal has not yet been provided

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(0 Commentaires)