[pmg-devel] [PATCH pmg-docs 1/3] pmg-docs-apache: remove default redirect

Stoiko Ivanov s.ivanov at proxmox.com
Wed Aug 21 14:18:19 CEST 2019


pmg.proxmox.com does not host only the documentation the default redirect
to '/pmg-docs' should be removed

Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
 debian/tree/pmg-docs-apache/pmg-docs.conf | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/debian/tree/pmg-docs-apache/pmg-docs.conf b/debian/tree/pmg-docs-apache/pmg-docs.conf
index 8aca013..f2858b5 100644
--- a/debian/tree/pmg-docs-apache/pmg-docs.conf
+++ b/debian/tree/pmg-docs-apache/pmg-docs.conf
@@ -1,5 +1,2 @@
 Alias "/pmg-docs" "/usr/share/pmg-docs/"
 
-# redirect main page to the reference docs
-RewriteEngine on
-RewriteRule  "^/$" "http://%{HTTP_HOST}/pmg-docs/" [R,L]
-- 
2.20.1




More information about the pmg-devel mailing list