I have installed redmine [ project management web application ] using bitnami on CentOS 6.4
Everything is ok but link of resources like css stylesheets are invalid.
For example I have this in main page :
<script src="//javascripts/jquery-1.8.3-ui-1.9.2-ujs-2.0.3.js?1379141328" type="text/javascript"></script>
This link has one more slash in beginning.
What`s the problem?
Links starting with //
automatically add the correct uri-scheme
, ie http://
or https://
depending on the page which requested such a URL.
That is, lets say, http://google.com
has a script like: //something.com/app.js
, then http://something.com/app.js
will be queried. But, if the requested page is https://google.com
, then https://something.com/app.js
will be queried.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.