svn commit: r1842499 - /ofbiz/site/.htaccess

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1842499 - /ofbiz/site/.htaccess

Deepak Dixit-5
Author: deepak
Date: Mon Oct  1 13:39:35 2018
New Revision: 1842499

URL: http://svn.apache.org/viewvc?rev=1842499&view=rev
Log:
Excluded dtds url to be redirected.
(OFBIZ-10590)

Modified:
    ofbiz/site/.htaccess

Modified: ofbiz/site/.htaccess
URL: http://svn.apache.org/viewvc/ofbiz/site/.htaccess?rev=1842499&r1=1842498&r2=1842499&view=diff
==============================================================================
--- ofbiz/site/.htaccess (original)
+++ ofbiz/site/.htaccess Mon Oct  1 13:39:35 2018
@@ -1,6 +1,8 @@
 ErrorDocument 404 /404.html
 
 RewriteCond %{HTTPS} off
+RewriteCond %{REQUEST_URI} !^/dtds
+RewriteCond %{REQUEST_URI} !^/dtds/(.*)$
 RewriteRule ^\/?(.*)$ <a href="https://%">https://%{HTTP_HOST}/$1 [R=301,L]
 
 RewriteRule ^documentation.html /index.html [R=301,NC,L]