hack のためのネタ帳, etc,,,

タグ検索でmod_rewrite1件見つかりました。

20160215: .htaccess による https の強制

れないよう HTTPS を強制したくて mod_rewrite を用いてオーソドックスに以下のようなルールを書いてみた。 =|| RewriteEngine on RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] ||= とりあえずこれで、 http://example.com/~username/dir/ はきちんと http&color(red){…

https://seesaawiki.jp/w/kou1okada/d/20160215%3a%20... - 2016年02月15日更新

3d(18) algorithm(14) androidone(13) api(15) authentication(14) backup(18) benchmark(18) book(17) c(19) console(17) css(13) dell(16) diagram(16) dns(16) docker(20) emacs(18) equation(16) firefox(18) framework(14) grub(16) hacks(17) kvm(21) make(18) markdown(17) mb(16) opencv(14) package(14) parallelcomputing(15) password(16) php(19) python3(20) salvage(14) samba(18) search(15) smb(19) ssl(17) statistics(20) terminal(14) texteditor(17) unix(17) unresolved(19) usb(21) vcs(14) virtualbox(18) web(15) webapi(14) winget(15) wpad(14) 数式(21) 未解決案件(18)

管理人/副管理人のみ編集できます