Apache
Vagrant上のCentOSでhttpd.confをVagrant共有ディレクトリのシンボリックリンクにしているとOSブート時にhttpdが自動起動しない #vagrant #apache http://nori3tsu.hatenablog.com/entry/2014/03/22/123313 こちらに記載いただいてる通りに修正しました。 ち…
vagrantで構築したゲストマシンで・・・ apacheが起動しない・・・ こんなエラーが出てる場合 Starting httpd: (13)Permission denied: make_sock: could not bind to address [::]:80 (13)Permission denied: make_sock: could not bind to address 0.0.0.0…
CentOS 6.3に yum でApache 2.2.22をインストール - 迷い家の白猫 技術部この記事の通りに設定して $ yum list --enablerepo=CentALT | grep httpd | grep CentALT すると結果に httpd.x86_64 2.2.25-1.el6 CentALT httpd-devel.x86_64 2.2.25-1.el6 CentALT…
Apacheを再起動剃る前にこれをすれば Syntaxエラーで起動しない・・・なんてこともなくなるはず # /etc/init.d/httpd configtest
前回も同じようなことがあったけど http://d.hatena.ne.jp/purazumakoi/20110124 とにかく原因がよくわからない。 xenのドメインUとして動かしていたサーバのapacheが起動しない。 エラーログ(/var/log/httpd/error_log)には (13)Permission denied: httpd…
via http://takayuki.tumblr.com/post/24406455/adddefaultcharset-off htmlファイルで <meta http-equiv="Content-Type" content="text/html; charset=shift_jis" /> って書いてあるのに文字化けする。 最初はかならずUTF-8として表示するがshift_jisで書いてあるので文字化けするわけだ その設定の修正は 「/etc/httpd/conf/httpd.con</meta>…
ほぼ症状はここと同じ via エラーでApacheが立ち上がりません httpdを起動後、apachectlを.. - 人力検索はてな エラーメッセージ /etc/rc.d/init.d/httpd restartで 再起動しようとすると httpd を起動中: (13)Permission denied: httpd: could not open err…
前にも同じようなものを書いたけど、凄く見にくいのでライトバージョンを書く #mod rewriteを使うために必須な宣言 Options +FollowSymLinks RewriteEngine On #例 index.html → index.php として実行 RewriteRule ^index.html$ ./index.php [L] #例 index_1…
タグクラウドを作ることになったので しばらく前の事例の.htaccessのソースをがんばって解読していこう。 1. Options +FollowSymLinks 2. RewriteEngine on 3. RewriteCond %{REQUEST_FILENAME} !-f 4. RewriteRule ^([0-9]{2})\.html$ http://%{HTTP_HOST}/…