[ 
https://issues.apache.org/jira/browse/PHOENIX-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14494475#comment-14494475
 ] 

Mujtaba Chohan commented on PHOENIX-1853:
-----------------------------------------

[~thecarlhall] Specifying protocolRelativeURLs as true would strip out http:// 
for external js scripts and make them relative to phoenix web site. As these 
resources are external and not available locally, those links would lead to 404 
not found. 

As an example, after your patch:
{code} <script 
src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js";></script> 
{code} would become: {code} <script 
src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> 
{code}

However _jquery.min.js_ is not available locally, hence website would cease to 
function properly.

2. May I know the reason why do you want to use https://phoenix.apache.org 
instead of http://phoenix.apache.org?

> Remote artifacts on website use wrong protocol
> ----------------------------------------------
>
>                 Key: PHOENIX-1853
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1853
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Carl Hall
>            Priority: Trivial
>         Attachments: phoenix-1853-site.diff, phoenix-1853.diff
>
>
> When accessing https://phoenix.apache.org, the remote site artifacts still 
> reference {{http}} and many browsers won't load content from mixed protocols.
> {code}
> Blocked loading mixed active content 
> "http://netdna.bootstrapcdn.com/bootswatch/2.3.2/flatly/bootstrap.min.css";
> Blocked loading mixed active content 
> "http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-responsive.min.css";
> Blocked loading mixed active content 
> "http://yandex.st/highlightjs/7.5/styles/default.min.css";
> Blocked loading mixed active content 
> "http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js";
> Blocked loading mixed active content 
> "http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js";
> Blocked loading mixed active content 
> "http://yandex.st/highlightjs/7.5/highlight.min.js";
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to