全文検索:
- 40 Java Heap Memory確認
- 感謝 <code> #!/bin/sh detected_javahome() { _PID=$1 JAVA_PATH=$(readlink -f `ps -o cmd= ${_PID} | awk '{print $1}'`) || { echo "JAVA_HOME ... awk -F'.' '{print $2}' } print_gcstat () { _PID=$1 java_home="`detected_javahome ${_PID}`" jstat_path="${java_home}/jstat" if [ -e "${jst
- 32 CentOS5でTLS1.2 Apache PHP
- ction) xml/apr_xml.c:424: error: (Each undeclared identifier is reported only once xml/apr_xml.c:424: ... 60,62c60,62 < httpd=${HTTPD-/usr/sbin/httpd} < pidfile=${PIDFILE-/var/log/httpd/${prog}.pid} < lockfile=${LOCKFILE-/var/lock/subsys/${prog}} --- > httpd=${HTTPD-/
- mod_suphp
- e> # service httpd restart </code> ==== with-setid-mode ==== yumからインストールした場合 <color red>デフォルトではparanoidになっています。</color> コンパイルオプション <code> --with-setid-mode=MODE: MODEは下記のいずれかを選択します。 "owner": ownerのUID/GIDでスクリプトを実行します。 "force": Apacheで設定されたUID/G
- 60 Apacheが起動しない AH01760
- ====== ===== エラー ===== [auth_digest:notice] [pid 29978] AH01757: generating secret for digest authentication ... [core:emerg] [pid 29978] (28)No space left on device: AH00023: Coul... authdigest-opaque mutex [auth_digest:error] [pid 29978] (28)No space left on device: AH01760: fail... ces, and MD5-sess algorithm disabled [:emerg] [pid 29978] AH00020: Configuration Failed, exiting =
- 15 CentOS6 suPHP7.2
- sbin/apxs \ --with-apache-user=apache \ --with-setid-mode=owner \ --with-logfile=/var/log/httpd/suphp_log \ --with-min-uid=100 \ --with-min-gid=100 # make # make install </code> ===== /etc/suphp.conf ===== <code> [glob... specify in octal notation umask=0077 ; Minimum UID min_uid=100 ; Minimum GID min_gid=100 [handler
- 82 CentOS 5.8 + Apache 2.2 + PHP 5.3 + suPHP 0.7.1
- docroot=/ env_path=/bin:/usr/bin umask=0022 min_uid=500 min_gid=100 ; Security options allow_file_group_writeable=false allow_file_others_writeable=fals... This is the Apache server configuration file providing suPHP support. # It contains the configuration... ngine on # Disable php when suphp is used, to avoid having both. #<IfModule mod_php5.c> #php_admin_fl
- CentOS5.2でApache2.2インストール
- l/apache2/bin/httpd} 58 prog=httpd 59 #pidfile=${PIDFILE-/var/log/httpd/httpd.pid} 60 pidfile=${PIDFILE-/usr/local/apache2/logs/httpd.pid} </code> -chkconfigに登録 <code console>
- 01 .htaccess
- 設定 ===== .htaccessを利用するにはDirectoryの設定で、AllowOverrideがAllである必要があります。 <code> AllowOverride All </code> === シンボリックリンクを利用している場合以下も注意 === [[50_dialy:2019:04:... thGroupFile /dev/null AuthName "Please enter your ID and password" AuthType Basic require valid-user </code> <color red> **※AuthUserFile は必ずフルパスで記述 相対パスで
- 03 SSL中間証明書確認
- /C=BE/O=GlobalSign nv-sa/CN=GlobalSign Domain Validation CA - G2 verify return:1 depth=0 /C=JP/OU=Domain Control Validated/CN=login.gmocloudpublic.com verify return:1 ... CTED(00000003) depth=0 /C=JP/OU=Domain Control Validated/CN=login.gmocloudpublic.com verify error:num=... erify return:1 depth=0 /C=JP/OU=Domain Control Validated/CN=login.gmocloudpublic.com verify error:num=
- 23 Apache vhost一覧
- ling: using_defaults Mutex proxy: using_defaults PidFile: "/opt/bitnami/apache/var/run/httpd.pid" Define: DUMP_VHOSTS Define: DUMP_RUN_CFG User: name="daemon" id=1 Group: name="daemon" id=1 </code> {{tag>Apache vhost}}
- 31 CentOS5 でTLS1.2
- linux-vdso.so.1 => (0x00007fff5cdfd000) libuuid.so.1 => /lib64/libuuid.so.1 (0x0000003d02c00000) libssl.so.1.0.0 => /opt/openssl-1.0.2r/lib/libssl.s... so.1 => /lib64/libz.so.1 (0x0000003d00400000) libidn.so.11 => /usr/lib64/libidn.so.11 (0x00000036ef000000) librt.so.1 => /lib64/librt.so.1 (0x0000003d01
- 02 Apache2で自己認証ssl
- KFAERTWHGihoVGQ04rflzoaegdjQA 5dmU5eL0l8ktANsZ5QIDAQAB -----END PUBLIC KEY----- # openssl x509 -... KFAERTWHGihoVGQ04rflzoaegdjQA 5dmU5eL0l8ktANsZ5QIDAQAB -----END PUBLIC KEY----- -----BEGIN CERTIFICATE----- MIIDcTCCAtqgAwIBAgIBADANBgkqhkiG9w0BAQUFADCBiDELMAkGA1UEBhMCSkEx EDAOBgNVBAgTB1RvdWt5b3UxEjAQBgNVBAcTCVR
- 19 Let's Encrypt ワイルドカード証明書
- exit; } if($method == "PUT"){ $CERTBOT_VALIDATION=$argv[3]; $IP=$argv[4]; $postfields ... {IP}\na * ${IP}\ntxt _acme-challenge ${CERTBOT_VALIDATION}\n", "ttl" => "120", ); $post... //g'` php $script ${CERTBOT_DOMAIN} ${CERTBOT_VALIDATION} ${IP} sleep 120 exit $? </code> 実行権限だけ付けて
- 04 .htaccess で制限時間設定
- thGroupfile /dev/null AuthName "Please enter your ID and password" AuthType Basic require valid-user satisfy any order allow,deny deny from all </Fi
- 17 Nginx FastCGI Cache
- fastcgi_cache cache-zone; fastcgi_cache_valid 200 60m; add_header X-F-Cache $upstream_cache... コメント中、記事作成中、ログイン中の場合はキャッシュしない。| ^fastcgi_cache_valid|200 60m|HTTPステータス毎にキャッシュの有効期限を設定。 \\ ここではHTTPステータ