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 b68af6a  Update .htaccess
b68af6a is described below

commit b68af6a62c2ed8877207a3e65f1889dc17f6dbd8
Author: Thomas Delteil <[email protected]>
AuthorDate: Sat Sep 28 07:33:47 2019 +1000

    Update .htaccess
---
 .htaccess | 25 -------------------------
 1 file changed, 25 deletions(-)

diff --git a/.htaccess b/.htaccess
index 2396601..8b13789 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,26 +1 @@
-Options -Indexes
-DirectorySlash off
-RewriteEngine on
-RewriteOptions AllowNoSlash
-
-# Show file instead of folder for example /api/docs/tutorials.html
-# instead of /api/docs/tutorials/
-RewriteCond %{REQUEST_FILENAME} -d
-RewriteCond %{REQUEST_FILENAME}\.html -f
-RewriteRule ^(.*) $1.html [NC,L]
-
-# Prettify some files like tutorials/io to tutorials/io.html
-RewriteCond %{REQUEST_FILENAME}\.html -f
-RewriteRule ^(.*) $1.html [NC,L]
-
-#API docs needs specific root
-RewriteCond %{REQUEST_URI} \/docs\/api$|\/docs\/tutorials$
-RewriteRule ^(.*) %{REQUEST_URI}/ [R,NC,L]
-
-# Prettify folders like /get_started
-RewriteCond %{REQUEST_URI} !\/$
-RewriteCond %{REQUEST_FILENAME} -d
-RewriteCond %{REQUEST_FILENAME}/index.html -f
-RewriteRule ^(.*) $1/index.html [NC,L]
-
 

Reply via email to