Up to [LON-CAPA] / loncom / rewrites
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
- For servers using Apache/SSL where External Resource points at http:// URL or syllabus is configured to use an external http:// URL, query string for links contains usehttp=1, unless server has Strict-Transport-Security set for Apache with max-age > 0.
- Eliminate jsMath (MathJax used instead). - Rewrite rule no longer needed for external tools with http URLs launch in iframe (lonwrapper.pm ensures launch in tab instead).
- Append ?usehttp=1 to link to syllabus where LON-CAPA syllabus is configured to use external http:// URL, but LON-CAPA server uses https:// to avoid mixed active content issue (see also bug 6662). - Preview of external http:// URL displayed in separate pop-up window instead of in modal window on https:// server.
- Bug 6754. Make LON-CAPA an LTI Tool Consumer (LTI 1.1). Work in progress.
- Bug 6662. - jsMath files need to be served using the same protocol as the page using them (i.e., http for external resources pointing at http:// and syllabus pages).
- Related to bug 6662. - Always serve syllabus from non-SSL (i.e., http). - Syllabus can be set to point at an external URL, in which case the external web page is loaded in an iframe. If the remote URL is http://, the syllabus needs to be served from port 80, if the LON-CAPA server hosting the session has Apache/SSL (otherwise Firefox will block loading of the content in the iframe, by default). - In addition to committed changes in LON-CAPA modules, an appropriate RewriteRule is also needed for <VirtualHost _default_:443> (e.g., in /etc/httpd/conf.d/ssl.conf on the LON-CAPA server. (see: http://bugs.loncapa.org/show_bug.cgi?id=6662).
- Bug 6662 - External Resource items in which the remote URL is http:// need to be served from port 80, if the LON-CAPA server hosting the session has Apache/SSL. - In addition to committed changes in LON-CAPA modules, an appropriate RewriteRule is also needed for <VirtualHost _default_:443> (e.g., in /etc/httpd/conf.d/ssl.conf on the LON-CAPA server. (see: http://bugs.loncapa.org/show_bug.cgi?id=6662).
- Bug 5925. - Support for rewriting of http:// to https:// for external web requests if mod_ssl and mod_rewrite enabled. Default is: Rewrite off. - webserver.piml - Update description to accommodate additional distros. - Error message generated if Apache config file is missing tailored to distro. - Compare LON-CAPA config file to rewrite: http:// -> https:// with default files (rewrite Off and rewrite On); report if neither matches. - loncapafiles.lpml - Only need /etc/httpd/conf directory for CentOS/Red Hat/SL/Fedora - Default files for rewrites Off and rewrites On in loncom/rewrites - loncapa_apache.conf - Include conf/loncapa_rewrite.conf to support rewrite.