[LON-CAPA-cvs] cvs: doc(version_2_11_X) /loncapafiles webserver.piml

raeburn raeburn at source.lon-capa.org
Thu Mar 5 13:35:49 EST 2020


raeburn		Thu Mar  5 18:35:49 2020 EDT

  Modified files:              (Branch: version_2_11_X)
    /doc/loncapafiles	webserver.piml 
  Log:
  - For 2.11
    Backport 1.52
  
  
Index: doc/loncapafiles/webserver.piml
diff -u doc/loncapafiles/webserver.piml:1.43.2.5 doc/loncapafiles/webserver.piml:1.43.2.6
--- doc/loncapafiles/webserver.piml:1.43.2.5	Sun Feb 16 23:43:36 2020
+++ doc/loncapafiles/webserver.piml	Thu Mar  5 18:35:49 2020
@@ -2,7 +2,7 @@
 	"http://lpml.sourceforge.net/DTD/piml.dtd">
 <!-- webserver.piml -->
 
-<!-- $Id: webserver.piml,v 1.43.2.5 2020/02/16 23:43:36 raeburn Exp $ -->
+<!-- $Id: webserver.piml,v 1.43.2.6 2020/03/05 18:35:49 raeburn Exp $ -->
 
 <!--
 
@@ -229,7 +229,7 @@
             my $hostip = Socket::inet_ntoa(scalar(gethostbyname($hostname)) || 'localhost');
             my @expected = ('RewriteCond %{REQUEST_URI} ^/adm/wrapper/ext/(?!https:)',
                             'RewriteCond %{QUERY_STRING} (^|&(|amp;))usehttp=1($|&)',
-                            'RewriteRule ^/adm/wrapper/ext/(?!https:\/\/) http://%{HTTP_HOST}%{REQUEST_URI} [R,L,NE]',
+                            'RewriteRule ^/adm/wrapper/ext/(?!https:) http://%{HTTP_HOST}%{REQUEST_URI} [R,L,NE]',
                             'RewriteCond %{REMOTE_ADDR} 127.0.0.1',
                             'RewriteRule (.*) - [L]');
             if (($hostip ne '') && ($hostip ne '127.0.0.1')) {




More information about the LON-CAPA-cvs mailing list