全文検索:
- 18 Let's Encrypt Certbot
- napd ===== 2.snapd準備 ===== systemctl enable --now snapd.socket ln -s /var/lib/snapd/snap /snap
- 19 Let's Encrypt ワイルドカード証明書
- eaders); $response = curl_exec($ch); if (curl_errno($ch)) { echo 'Connection Error: ' . curl_errno($ch) . ' - ' . curl_error($ch);exit; } $info = curl_
- 17 Nginx FastCGI Cache
- arams; ### 以下の設定を追加 ### set $do_not_cache 0; # -- POST or HEAD ? if ($request_method != "GET") { set $do_not_cache 1; } # -- Login or Comment or Pos... press_logged_in|wp-postpass_).*$) { set $do_not_cache 1; } fastcgi_cache cache-zone; ... X-F-Cache $upstream_cache_status; } </code> ^$do_not_cache|0 1|キャッシュ時の条件記述。 \\ $do_not_cache=0の時はキャッシ
- 14 Let's Encrypt無料のSSL証明書
- pd" ==== アクセス制御してある場合 ==== 実際にアクセスされるのは、 .well-known/acme-challeng以下のファイルです。 .well-knownを作ってやって、そこに.htaccessを置き許可していてやればOK <code> $ cat .well-known/.htaccess Order Deny,Allow Allow from all </co... r/bin/certbot-auto: line 583: virtualenv: command not found epel.repoをenableしてやればOK === python2.7
- 32 CentOS5でTLS1.2 Apache PHP
- ==== <code> xml/apr_xml.c:35:19: error: expat.h: No such file or directory xml/apr_xml.c:66: error: e... ’: xml/apr_xml.c:364: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:365: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c: At top level: xm... ’: xml/apr_xml.c:401: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:402: error: ‘apr_
- 31 CentOS5 でTLS1.2
- 014:01:29]] <code> # /opt/wget-1.16.1/bin/wget --no-check-certificate http://curl.haxx.se/ca/cacert.
- 03 SSL中間証明書確認
- mocloudpublic.com verify error:num=27:certificate not trusted verify return:1 depth=0 /C=JP/OU=Domain
- 02 Apache2で自己認証ssl
- Z8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAL+yZuZvRxfsMspNO0Ot sARw5F1ErAUtcHiTKwsPkzyt1nuaspq0nGQnLQbXNNoYaBFGfi+cr2CkCIbWy3wk sS1XcffxFZtLXhyF7wSa4o2fhTml/... シュ値が合致していればOK <code> $ openssl x509 -issuer_hash -noout -in [サーバ証明書].crt 8d28ae65 $ openssl x509 -subject_hash -noout -in [中間証明書].crt 8d28ae65 </code> 中間証明書がちゃんと反映
- 33 PHP56 fsockopenでエラー
- 951 $this->errno, $this->errstr); </code> ===== 対応方法 ===== defa
- 10 Memchached
- cat /etc/sysconfig/memcached PORT="11211" USER="nobody" MAXCONN="1024" CACHESIZE="64" OPTIONS="" </c... OOM 2 120B 535414s 10 82252 no 0 0 0 3 152B 609763s 1 1 no 0 0 0 4 192B 535414s 1 15 no 0 0 0 5 240B 535414s
- 83 PHP複数バージョンを共存
- home/hoge/public_html/.htaccess: suPHP_ConfigPath not allowed her === php.ini設定のマージ === ユーザディレクトリにp... d Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.1.17, Copyright (c) 1999-2018, by Zend Technologies </code> {{tag>suphp php}}
- 15 CentOS6 suPHP7.2
- n DOCUMENT_ROOT check_vhost_docroot=true ;Send minor error messages to browser errors_to_browser=fals... ="/bin:/usr/bin" ;Umask to set, specify in octal notation umask=0077 ; Minimum UID min_uid=100 ; Mi
- 60 Apacheが起動しない AH01760
- い AH01760 ====== ===== エラー ===== [auth_digest:notice] [pid 29978] AH01757: generating secret for d... authentication ... [core:emerg] [pid 29978] (28)No space left on device: AH00023: Couldn't create th... aque mutex [auth_digest:error] [pid 29978] (28)No space left on device: AH01760: failed to create lock (opaque_lock) - all nonce-count checking, one-time nonces, and MD5-sess
- 04 .htaccess で制限時間設定
- 。 RewriteCond で時間 AND 適当なファイル名で指定おく そうすると、、時間内以外はNot Foundになるという <code> RewriteEngine On # 時間設定 Rewr
- 82 CentOS 5.8 + Apache 2.2 + PHP 5.3 + suPHP 0.7.1
- DOCUMENT_ROOT check_vhost_docroot=false ;Send minor error messages to browser errors_to_browser=true... by setting the PHPRC environment variable). # Do *NOT* refer to a file but to the directory the file r... ou compiled suphp with setid-mode "force" or "paranoid", you can # specify the user- and groupname to ... ndle requests with the type <mime-type>. # Please note this only works, if an action for the handler i