]> Nishi Git Mirror - tewi.git/commitdiff
add some wip docs
authorNishi <nishi@nishi.boats>
Mon, 7 Oct 2024 15:03:00 +0000 (15:03 +0000)
committerNishi <nishi@nishi.boats>
Mon, 7 Oct 2024 15:03:00 +0000 (15:03 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@272 8739d7e6-ffea-ec47-b151-bdff447c6205

Document/input/config/index.md [new file with mode: 0644]
Document/input/directives/showport.md [new file with mode: 0644]
Document/input/release/index.md
Server/server.c

diff --git a/Document/input/config/index.md b/Document/input/config/index.md
new file mode 100644 (file)
index 0000000..e318d73
--- /dev/null
@@ -0,0 +1,4 @@
+\language ^en$
+# Configuration {User guide}
+\language ^jp$
+# コンフィグ {ユーザーガイド}
diff --git a/Document/input/directives/showport.md b/Document/input/directives/showport.md
new file mode 100644 (file)
index 0000000..e53a0cc
--- /dev/null
@@ -0,0 +1,12 @@
+\language ^en$
+# ShowPort/HidePort directive {Directives}
+Shows/Hides the port in the default error page, and directory listing.\
+\
+Syntax: `ShowPort` \
+Syntax: `HidePort` \
+\language ^jp$
+# ShowPort/HidePort命令 {命令}
+ポートをデフォルトのエラーページとファイルリストで出したり消したりします。\
+\
+構文: `ShowPort` \
+構文: `HidePort` \
index 5689abdbf985654e3499e3fdd752d6e08273d9d3..47d5be685f9786693ed9c396752079d723d87d70 100644 (file)
@@ -1,4 +1,11 @@
-\language en
+\language ^en$
 # New features in version $TCL:VERSION {Release notes}
-\language jp
-# Tewi HTTPd $TCL:VERSION の新機能                            
+## New directives
+### MIMEFile
+Supports the `mime.types` from the Apache HTTPd using `MIMEFile` directive.
+
+\language ^jp$
+# Tewi HTTPd $TCL:VERSION の新機能 {リリース情報}
+## 新しい命令
+### MIMEFile
+`MIMEFile`命令を使用してApache HTTPdの`mime.types`が使えるようになりました。      
index 4f190706b23ee3bdd7ec69e57ea12ff2c21da784..f07d4da6140f154017a5d1587622020e62d0f928 100644 (file)
@@ -77,7 +77,7 @@ typedef int socklen_t;
 #endif
 
 #ifndef S_ISDIR
-#define S_ISDIR(x) ((x)&_S_IFDIR)
+#define S_ISDIR(x) ((x) & _S_IFDIR)
 #endif
 
 extern struct tw_config config;