全文検索:
- 32 CentOS5でTLS1.2 Apache PHP
- tpd=${HTTPD-/usr/sbin/httpd} < pidfile=${PIDFILE-/var/log/httpd/${prog}.pid} < lockfile=${LOCKFILE-/var/lock/subsys/${prog}} --- > httpd=${HTTPD-/opt/httpd/httpd-2.2.24/bin/httpd} > pidfile=${PIDFILE-/var/run/httpd-2.2.24.pid} > lockfile=${LOCKFILE-/var/lock/subsys/httpd-2.2.24} 67c67 < CONFFILE=/etc/http
- 70 WordPress + PostgreSQL
- ress/]] ===== インストール ===== ==== 1.ファイル設置 ==== /var/www/html/ がDocumentRootとして http://[[Domain]]/wp/ ... 定 ・wordpress <code> $ cp wordpress-3.1.4-ja.zip /var/www/html/ $ unzip wordpress-3.1.4-ja.zip $ mv wor... p <code> $ cp postgresql-for-wordpress.1.3.1.zip /var/www/html/ $ unzip postgresql-for-wordpress.1.3.1.zip $ mv postgresql-for-wordpress/pg4wp/db.php var/www/html/wp/wp-content/ $ mv postgresql-for-wordp
- 01 .htaccess
- === [[50_dialy:2019:04:01]] ==== Basic認証 ==== /var/www/html/ にBasic認証をかける場合 === .htaccess === <code console> # cat /var/www/html/.htaccess AuthUserFile /var/www/.htpasswd AuthGroupFile /dev/null AuthName "Please enter you... === .htpasswd === <code console> # htpasswd -c /var/www/.htpasswd hoge_user New password: ***** Re-ty
- 15 CentOS6 suPHP7.2
- pache \ --with-setid-mode=owner \ --with-logfile=/var/log/httpd/suphp_log \ --with-min-uid=100 \ --with... ===== <code> [global] ;Path to logfile ;logfile=/var/log/suphp.log logfile=/var/log/httpd/suphp.log ;Loglevel loglevel=info ;User Apache is running as we... rowser errors_to_browser=false ;PATH environment variable env_path="/bin:/usr/bin" ;Umask to set, spe
- 18 Let's Encrypt Certbot
- = systemctl enable --now snapd.socket ln -s /var/lib/snapd/snap /snap ===== 3.snapdアップデート ===== ... = 5.証明書作成 ===== certbot certonly --webroot -w /var/www/html -d hogehoge.com ===== 6.証明書更新 ===== ... new --renew-hook "systemctl restart httpd" -q >> /var/log/certbot-renew.log {{tag>SSL Let's Encrypt}}
- 82 CentOS 5.8 + Apache 2.2 + PHP 5.3 + suPHP 0.7.1
- ocal/etc/suphp.conf === <code> [global] logfile=/var/log/httpd/suphp_log loglevel=info webserver_user=... P-interpreter # (by setting the PHPRC environment variable). # Do *NOT* refer to a file but to the dire
- mod_suphp
- session-start'>function.session-start</a>]: open(/var/lib/php/session/sess_8ei24n25r7pg56vce3cp8ifnu3, ... <code> # vi /etc/php.ini session.save_path = "/var/lib/php/session" ↓ session.save_path = "/
- 02 Basic認証 httpd.conf
- ==== 特定ディレクトリにBasic認証をかける場合 <code> <Directory "/var/www/phpMyAdmin/"> AuthUserFile /etc/httpd/c
- 17 Nginx FastCGI Cache
- out 300; fastcgi_pass unix:/opt/bitnami/php/var/run/www.sock; fastcgi_index index.php; f
- 23 Apache vhost一覧
- oxy: using_defaults PidFile: "/opt/bitnami/apache/var/run/httpd.pid" Define: DUMP_VHOSTS Define: DUMP_R
- CentOS5.2でApache2.2インストール
- d} 58 prog=httpd 59 #pidfile=${PIDFILE-/var/log/httpd/httpd.pid} 60 pidfile=${PIDFILE-/u