ja:documentation:pandorafms:installation:04_configuration

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
ja:documentation:pandorafms:installation:04_configuration [2026/06/06 07:20] – [log_collector_chunck_size] junichija:documentation:pandorafms:installation:04_configuration [2026/06/06 07:24] (現在) – [php.conf 設定ファイル] junichi
行 3031: 行 3031:
 <WRAP center round info 90%> <WRAP center round info 90%>
  
-**Version 768 or later**: You may authenticate with **API Token** by sending in the [[https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers|HTTP headers]] of a [[https://www.rfc-editor.org/rfc/rfc6750#page-3|bearer token]] generated by each user and for their own private and particular use. See also "[[:en:documentation:pandorafms:management_and_operation:11_managing_and_administration#editing_a_user_by_my_own_user|Edit my user]]".+You may authenticate with **[[:en:documentation:pandorafms:technical_reference:02_annex_externalapi#ks2_4_1|PFMS API 1.0 Token]]** by sending in the [[https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers|HTTP headers]] of a [[https://www.rfc-editor.org/rfc/rfc6750#page-3|bearer token]] generated by each user and for their own private and particular use. See also "[[:en:documentation:pandorafms:management_and_operation:11_managing_and_administration#ks1_1_1|Edit my user]]".
  
 </WRAP> </WRAP>
行 3037: 行 3037:
 <WRAP center round info 90%> <WRAP center round info 90%>
  
-**バージョン 768 以降**: 各ユーザ生成する個別の目的に応じた [[https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers|HTTP ヘッダ]] および [[https://www.rfc-editor.org/rfc/rfc6750#page-3|bearer トークン]] を送信することにより、**API トークン** で認証することができます詳細は、"[[:ja:documentation:04_using:11_managing_and_administration#自分自身のユーザ編集|自分自身ユーザ編集]]" を参照してください。+各ユーザが自身のプライベートかつ特定の用途のために生成した bearer トークンの HTTP ヘッダーを送信することで、**[[:ja:documentation:pandorafms:technical_reference:02_annex_externalapi#ks2_4_1|PFMS API 1.0 トークン]]**を使用して認証できます。詳細については、[[https://www.rfc-editor.org/rfc/rfc6750#page-3|bearer トークン]]を参照してください。[[https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers|HTTP ヘッダ]]も参照してください。[[:ja:documentation:pandorafms:management_and_operation:11_managing_and_administration#ks1_1_1|ユーザの編集]]参照してください。
  
 </WRAP> </WRAP>
  
-For header authentication with bearer token to work properly, the ''HTTP_AUTHORIZATION=$1'' directive must be included in the ''/etc/httpd/conf.d/php.conf'' file:+For header authentication with bearer token to work properly, the directive ''HTTP_AUTHORIZATION=$1'' must be included in the file ''/etc/httpd/conf.d/php.conf'':
  
 bearer トークンを使用したヘッダー認証が正しく機能するには、''HTTP_AUTHORIZATION=$1'' ディレクティブが ''/etc/httpd/conf.d/php.conf'' ファイルに含まれている必要があります。 bearer トークンを使用したヘッダー認証が正しく機能するには、''HTTP_AUTHORIZATION=$1'' ディレクティブが ''/etc/httpd/conf.d/php.conf'' ファイルに含まれている必要があります。
  
-<code> +<code php>
 # Redirect to local php-fpm if mod_php (5 or 7) is not available # Redirect to local php-fpm if mod_php (5 or 7) is not available
 <IfModule !mod_php5.c> <IfModule !mod_php5.c>
-  <IfModule !mod_php7.c> +   <IfModule !mod_php7.c> 
-    <IfModule !mod_php.c> +     <IfModule !mod_php.c> 
-      # Enable http authorization headers +       # Enable http authorization headers 
-      SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1 +       SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1 
-      <Proxy "unix:/run/php-fpm/www.sock|fcgi://localhost"> +       <Proxy "unix:/run/php-fpm/www.sock|fcgi:localhost"> 
-        ProxySet timeout=1200 +         ProxySet timeout=1200 
-      </Proxy>+       </Proxy>
  
-      <FilesMatch \.(php|phar)$> +       <FilesMatch \.(php|phar)$> 
-        SetHandler "proxy:fcgi://localhost" +         SetHandler "proxy:fcgi:localhost" 
-      </FilesMatch>+       </FilesMatch>
  
-    </IfModule> +     </IfModule> 
-  </IfModule>+   </IfModulee>
 </IfModule> </IfModule>
  
  • ja/documentation/pandorafms/installation/04_configuration.txt
  • 最終更新: 2026/06/06 07:24
  • by junichi