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

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

20221005: PHP - builtin http server で phtml

* 承前 - [[20220929: PHP - builtin http server で phtml]] * 状況 ** DOCUMENT_ROOT の問題 承前で =|| $requestedAbsoluteFile = rtrim(dirname(__FILE__) . $exploded_REQUEST_URI[0], "/"); ||= とかしてたら、 =|| + docroot1 | + index.phtml | + router.php + docroot2 + index.pht…

https://seesaawiki.jp/w/kou1okada/d/20221005%3a%20... - 2022年10月05日更新

20220929: PHP - builtin http server で phtml

* 状況 拡張子が .phtml のファイルを PHP に食わせて動的生成してるサイトがあるんだけど、手元のフォルダで http server 立ち上げて、出力を確認したい。 また、出来れば apache とかは入れたくない。PHP 関連のパッケージを最小限のインストールで留めたい。 * 解法 「[[php web server>https://google.com/search?q=php+web+server]]」でググったら、PHP にも built in http server があるんだ…

https://seesaawiki.jp/w/kou1okada/d/20220929%3a%20... - 2022年10月05日更新

20160215: .htaccess による https の強制

まった。 どうやら https 用の httpd.conf が腐っている(多分 HTTP_HOST=new.host.name って書かれている)らしいのだが、 今回 .htaccess を書こうとしたサーバーは ~/ 以下しか管理下になかったため、 しばらく頭を抱える羽目になった。 http 側の redirect は httpd.conf よりも ~/public/.htaccess の方が先に処理されている事が分かったため https に飛ばす前にあらかじめ http://exampl…

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

ai(22) android(29) bash(40) c++(52) cxx(54) cygwin(128) debian(39) deeplearning(32) diary(765) excel(21) font(30) free-book(47) git(21) github(28) gnu-r(77) google(26) hdd(22) html(25) java(26) javascript(118) latex(57) lcd(22) library(24) linux(97) machinelearning(31) memo(462) microsoft(42) oss(25) pdf(38) powershell(65) programming(32) proxy(23) python(100) r-lang(47) ruby(86) security(72) ssh(34) tex(37) tips(397) troubleshooting(443) ubuntu(114) unicode(22) usb(21) virtualization(24) vscode(28) windows(126) windows10(50) wsl(26) zfs(32) 数式(21)

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