]> arthur.barton.de Git - ngircd-web.git/commitdiff
.htaccess: Add "index.html" to DirectoryIndex
authorAlexander Barton <alex@barton.de>
Mon, 12 Feb 2024 17:15:31 +0000 (18:15 +0100)
committerAlexander Barton <alex@barton.de>
Mon, 12 Feb 2024 17:15:33 +0000 (18:15 +0100)
The Doxygen-generated documentation uses index.html for their main page,
for example.

.htaccess

index 5d122db74ea83426bf9e875a0458988a8121eef7..223f270f2f7f0421e346c6f775d0351a6e00fe12 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -1,12 +1,22 @@
+#
+# 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
+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