全文検索:
- 19 Let's Encrypt ワイルドカード証明書
- "/domains/$argv[2]/dns"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url . $path); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $method); if ($method!=='GET') { curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $post_query); curl_setopt($ch, C
- mod_geoip 接続元国でWebアクセスを制限
- che側の設定 ===== <Location /> Order allow,deny SetEnvIf GEOIP_COUNTRY_CODE CN BlockCountry SetEnvIf GEOIP_COUNTRY_CODE KR BlockCountry SetEnvIf GEOIP_COUNTRY_CODE US BlockCountry Deny from env=... </Location> ===== 特定の国からのWebアクセスを拒否する ===== SetEnvIf GEOIP_COUNTRY_CODE CN BlockCountry # もし国コー
- 01 .htaccess
- れで、POSTは「192.168.10.10」からのみ許可されている状態。 制限を許可するURLは、SetEnvIf で設定する。 <code console> # cat .htaccess <Fil... sMatch ".*"> <Limit POST> SetEnvIf Request_URI "/hogehoge$" Accept SetEnvIf Request_URI "/hogehoge2$" Accept
- 17 Nginx FastCGI Cache
- astcgi_params; ### 以下の設定を追加 ### set $do_not_cache 0; # -- POST or HEAD ? if ($request_method != "GET") { set $do_not_cache 1; } # -- Login or Comment... or_|wordpress_logged_in|wp-postpass_).*$) { set $do_not_cache 1; } fastcgi_cache cache-zo
- 21 グラフ描写(gnuplot)
- で、image.pngというファイルができる。 <code> # gnuplot gnuplot> set terminal png gnuplot> set out 'image.png' gnuplot> set title 'てすとイメージ' gnuplot> plot sin(x) w line lc rgb 'orange' gnuplot> quit
- 13 mod_line_edit
- r: white;\">ステージングページです</div>\ </body>" Ri SetOutputFilter line-editor SetEnv LineEdit "text/html*" </IfModule> </VirtualHo
- 15 CentOS6 suPHP7.2
- sr/sbin/apxs \ --with-apache-user=apache \ --with-setid-mode=owner \ --with-logfile=/var/log/httpd/suph... ment variable env_path="/bin:/usr/bin" ;Umask to set, specify in octal notation umask=0077 ; Minimum
- 82 CentOS 5.8 + Apache 2.2 + PHP 5.3 + suPHP 0.7.1
- hich path to pass on to the PHP-interpreter # (by setting the PHPRC environment variable). # Do *NOT* r... PHP_ConfigPath /etc # If you compiled suphp with setid-mode "force" or "paranoid", you can # specify t
- 83 PHP複数バージョンを共存
- ==== <code|.htaccess> <FilesMatch "\.php$"> SetHandler x-httpd-php71 </FilesMatch> </code> ==== ... ==== <code|.htaccess> <FilesMatch "\.php$"> SetHandler x-httpd-php56 </FilesMatch> </code> ====
- mod_suphp
- sole> # service httpd restart </code> ==== with-setid-mode ==== yumからインストールした場合 <color red>デフォルトではp... ranoidになっています。</color> コンパイルオプション <code> --with-setid-mode=MODE: MODEは下記のいずれかを選択します。 "owner":
- 10 Memchached
- cmd_get 578073 cmd_set 1110516 conn_yields 0
- 32 CentOS5でTLS1.2 Apache PHP
- l=/opt/openssl-1.0.2r \ --enable-proxy \ --enable-setenvif \ --enable-authn-alias \ --enable-file-cache