[libsigcplusplus] website: Remove and replace with redirect.



commit c0a1a9205d3a0b397bebfea101df7adc9372bb13
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Mar 13 22:05:06 2018 +0100

    website: Remove and replace with redirect.

 docs/website/.htaccess                             |    2 +
 docs/website/Makefile                              |    2 +-
 docs/website/devel.shtml                           |   40 --------------
 docs/website/doc.shtml                             |   21 -------
 docs/website/fragments/footer.html_fragment        |   18 ------
 .../fragments/html_declaration.html_fragment       |   47 ----------------
 docs/website/glossary.shtml                        |   54 ------------------
 docs/website/index.shtml                           |   57 --------------------
 docs/website/license.shtml                         |   30 ----------
 docs/website/link.shtml                            |   46 ----------------
 docs/website/pix/active.gif                        |  Bin 141 -> 0 bytes
 docs/website/pix/anvil24.gif                       |  Bin 215 -> 0 bytes
 docs/website/pix/blank.gif                         |  Bin 252 -> 0 bytes
 docs/website/pix/bug.gif                           |  Bin 261 -> 0 bytes
 docs/website/pix/home.gif                          |  Bin 265 -> 0 bytes
 docs/website/pix/inactive.gif                      |  Bin 129 -> 0 bytes
 docs/website/pix/logo.gif                          |  Bin 9136 -> 0 bytes
 docs/website/pix/mail.gif                          |  Bin 661 -> 0 bytes
 docs/website/pix/news.gif                          |  Bin 115 -> 0 bytes
 docs/website/pix/save.gif                          |  Bin 308 -> 0 bytes
 docs/website/stable.shtml                          |   30 ----------
 docs/website/style.css                             |   32 -----------
 22 files changed, 3 insertions(+), 376 deletions(-)
---
diff --git a/docs/website/.htaccess b/docs/website/.htaccess
new file mode 100644
index 0000000..6fac27a
--- /dev/null
+++ b/docs/website/.htaccess
@@ -0,0 +1,2 @@
+RedirectMatch permanent ^/(.*).shtml https://libsigcplusplus.github.io/libsigcplusplus/$1.html
+Redirect permanent / https://libsigcplusplus.github.io/libsigcplusplus/
diff --git a/docs/website/Makefile b/docs/website/Makefile
index 0841efa..9db6c62 100644
--- a/docs/website/Makefile
+++ b/docs/website/Makefile
@@ -1,7 +1,7 @@
 web_path = /home/groups/l/li/libsigc/htdocs/
 
 post-html:
-       rsync -avz --rsh ssh --cvs-exclude * $$USER,libsigc web sourceforge net:$(web_path)
+       rsync -avz --rsh ssh --cvs-exclude .htaccess $$USER,libsigc web sourceforge net:$(web_path)
 
 #post-html:
 #      scp $$SSH_OPT -r *.shtml *.css fragments images $$USER shell sourceforge net:$(web_path)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]