全文検索:
- 23 Apache vhost一覧
- ults 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}}
- 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ステータ
- 32 CentOS5でTLS1.2 Apache PHP
- ttpd} < pidfile=${PIDFILE-/var/log/httpd/${prog}.pid} < lockfile=${LOCKFILE-/var/lock/subsys/${prog}} ... httpd} > pidfile=${PIDFILE-/var/run/httpd-2.2.24.pid} > lockfile=${LOCKFILE-/var/lock/subsys/httpd-2.2... ogs # ln -s /var/run run -PIDファイルを変更確認 # grep ^Pid httpd.conf PidFile run/httpd-2.2.24.pid -ServerRootも変更確認 # grep ^ServerRoot conf/httpd.conf ServerRo
- 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
- 02 Basic認証 httpd.conf
- hName "Basic Auth" AuthType Basic Require valid-user </Directory> </code> {{tag>basic認証}}
- 10 Memchached
- en_disabled_num 0 pid 8768 pointer_size 64
- 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
- 01 .htaccess
- thGroupFile /dev/null AuthName "Please enter your ID and password" AuthType Basic require valid-user </code> <color red> **※AuthUserFile は必ずフルパスで記述 相対パスで
- 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
- 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 =
- 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
- 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... ngine on # Disable php when suphp is used, to avoid having both. #<IfModule mod_php5.c> #php_admin_fl... _ConfigPath /etc # If you compiled suphp with setid-mode "force" or "paranoid", you can # specify the
- mod_suphp
- e> # service httpd restart </code> ==== with-setid-mode ==== yumからインストールした場合 <color red>デフォルトではpar... oidになっています。</color> コンパイルオプション <code> --with-setid-mode=MODE: MODEは下記のいずれかを選択します。 "owner": ownerのUID/GIDでスクリプトを実行します。 "force": Apacheで設定されたUID/GIDでスクリプトを実行します。 (Apache 2を使用している場合のみサ
- CentOS5.2でApache2.2インストール
- 59 #pidfile=${PIDFILE-/var/log/httpd/httpd.pid} 60 pidfile=${PIDFILE-/usr/local/apache2/logs/httpd.pid} </code> -chkconfigに登録 <code console> # /sbin/c... ng \ --enable-mbstr-enc-trans \ --enable-trans-sid \ --enable-versioning \ --enable-gd-native-ttf