お知らせ
サポート環境の変更
本バージョンでのお知らせはありません。
その他
Apache1で全文検索と関連するCGIのKeepAliveをonにする手順
INSUITEのApache設定上、デフォルトではKeepAliveがoffに設定されています。
Luxor側のコネクションはKeepAliveがonにしているため、INSUITE側もLuxorと関連するCGIのKeepAliveをonに設定する場合、下記を基づいて設定してください。
前提: INSUITEがApache1環境を利用する
設定ファイル: httpd.conf
KeepAlive on # デフォルトはoff、onに変更してください
SetEnvIf Request_URI /cgi-bin/ nokeepalive # まずすべてのCGIをnokeepaliveにする
UnsetEnv Request_URI /cgi-bin/sr_luxor_(attach_download|permit_check)\.cgi # 全文検索関連するCGIをnokeepaliveから除外する
<Location ~ "/cgi-bin/sr_luxor_(attach_download|permit_check)\.cgi">
AuthType Basic
AuthName "UserDatabaseRealm"
AuthUserFile /home/DreamArts/data/system/luxor_htpass.dat
Require valid-user
</Location>
設定前後のDiff情報は下記をご参照ください。
# diff -u /etc/httpd/conf/httpd.conf.before /etc/httpd/conf/httpd.conf
--- /etc/httpd/conf/httpd.conf.before 2018-11-07 13:15:57.000000000 +0900
+++ /etc/httpd/conf/httpd.conf 2018-11-07 14:04:12.000000000 +0900
@@ -7,7 +7,7 @@
ScoreBoardFile /var/run/httpd.scoreboard
Timeout 300
-KeepAlive off
+KeepAlive on
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 30
@@ -532,10 +532,11 @@
</FilesMatch>
</DirectoryMatch>
+SetEnvIf Request_URI /cgi-bin/ nokeepalive
+UnsetEnv Request_URI /cgi-bin/sr_luxor_(attach_download|permit_check)\.cgi
<Location ~ "/cgi-bin/sr_luxor_(attach_download|permit_check)\.cgi">
AuthType Basic
AuthName "UserDatabaseRealm"
AuthUserFile /home/DreamArts/data/system/luxor_htpass.dat
Require valid-user
</Location>