This is an automated email from the ASF dual-hosted git repository.

thomasdelteil pushed a commit to branch beta-site
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet-site.git


The following commit(s) were added to refs/heads/beta-site by this push:
     new 8e08f72  Update .htaccess
8e08f72 is described below

commit 8e08f7279b8ece2fe5c5b857c3884ad4e85009d4
Author: Thomas Delteil <thomas.delte...@gmail.com>
AuthorDate: Wed Sep 18 16:39:23 2019 -0700

    Update .htaccess
---
 .htaccess | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.htaccess b/.htaccess
index 6cf2812..205d6eb 100644
--- a/.htaccess
+++ b/.htaccess
@@ -7,7 +7,7 @@ garbage
 
 # Show file instead of folder for example /api/docs/tutorials.html
 # instead of /api/docs/tutorials/
-RewriteCond %{REQUEST_FILENAME} -d
+RewriteCond %{REQUEST_FILENAMEGARBAGE} -dGARBAGE
 RewriteCond %{REQUEST_FILENAME}\.html -f
 RewriteRule ^(.*) $1.html [NC,L]
 

Reply via email to