]> arthur.barton.de Git - ngircd-web.git/blobdiff - .htaccess
.htaccess: Add redirects for renamed documentation files
[ngircd-web.git] / .htaccess
index f776a7f4f12a084c2bf51e71540ce97b994c40d8..cf36d82c9141dd01569c426a13ffa6e51fe5304e 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -1 +1,32 @@
-Redirect /bugzilla http://arthur.barton.de/cgi-bin/bugzilla
+#
+# Apache .htaccess configuration file for the ngIRCd Website
+#
+
+Options +MultiViews
+AddLanguage en .en
+AddLanguage de .de
+AddType application/x-httpd-php .php
+DirectoryIndex index.php index.html
+LanguagePriority en de
+
+# Issue Tracker
+
+Redirect /bugzilla/index.cgi https://github.com/ngircd/ngircd/issues
+Redirect /bugzilla/enter_bug.cgi https://github.com/ngircd/ngircd/issues/new
+Redirect /bugzilla/query.cgi https://github.com/ngircd/ngircd/issues
+
+# Documentation
+
+Redirect /doc/AUTHORS https://github.com/ngircd/ngircd/blob/master/AUTHORS
+Redirect /doc/COPYING https://github.com/ngircd/ngircd/blob/master/COPYING
+Redirect /doc/ChangeLog https://github.com/ngircd/ngircd/blob/master/ChangeLog
+Redirect /doc/INSTALL https://github.com/ngircd/ngircd/blob/master/INSTALL.md
+Redirect /doc/INSTALL.md https://github.com/ngircd/ngircd/blob/master/INSTALL.md
+Redirect /doc/NEWS https://github.com/ngircd/ngircd/blob/master/NEWS
+Redirect /doc/README https://github.com/ngircd/ngircd/blob/master/README.md
+Redirect /doc/README.md https://github.com/ngircd/ngircd/blob/master/README.md
+Redirect /doc/sample-ngircd.conf https://github.com/ngircd/ngircd/blob/master/doc/sample-ngircd.conf.tmpl
+Redirect /doc/FAQ.txt https://github.com/ngircd/ngircd/blob/master/doc/FAQ.md
+Redirect /doc/SSL.txt https://github.com/ngircd/ngircd/blob/master/doc/SSL.md
+# Catch all
+Redirect /doc/ https://github.com/ngircd/ngircd/blob/master/doc/