Homebrew/apache/古い情報20140426
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
&tag(Homebrew/apache/古い情報20140426);
*目次 [#w08b27e2]
#contents
*関連ページ [#r308e592]
*参考情報 [#tce3b9d6]
-次のようなインストラクションが表示される
#pre{{
You should reload httpd:
launchctl unload ~/Library/LaunchAgents/homebrew.mxcl...
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.h...
}}
*設定ファイルなど [#s415330a]
-/usr/local/etc/apache2/httpd.conf を編集する。
*起動 [#t209dc83]
-デフォルト設定のポート80で動かす場合root権限が必要。この...
sudo cd /Library/LaunchAgents
sudo ln -s /Library/LaunchAgents/homebrew.mxcl.httpd.plist
sudo chown root:wheel homebrew.mxcl.httpd.plist
sudo launchctl load -w /Library/LaunchAgents/homebrew.mx...
-一般ユーザーで動かす場合
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.h...
*未確認情報[#i738145d]
**brew servicesって何? [#icb13c46]
-以下のコマンドを実行すると/Library/LaunchDaemonsにplist...
sudo brew services start httpd
-/Library/LaunchAgents/homebrew.mxcl.httpd.plistが作られ...
sudo launchctl load -w /Library/LaunchAgents/homebrew.m...
**run、logディレクトリが作られない? [#k662a466]
※[[httpd log and run directories not being created ·...
*トラブルシューティング [#laa2340b]
**ユーザーディレクトリにアクセスできない。 [#nd11dfc3]
-extra/httpd-userdir.confがまちがっていないか確認する。
-初期状態だと、UserDir public_html、Directory /home/*/pub...
#pre{{
UserDir Sites
#
# Control access to UserDir directories. The following i...
# for a site where these directories are restricted to re...
#
<Directory "/Users/*/Sites">
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch Inclu...
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
}}
終了行:
&tag(Homebrew/apache/古い情報20140426);
*目次 [#w08b27e2]
#contents
*関連ページ [#r308e592]
*参考情報 [#tce3b9d6]
-次のようなインストラクションが表示される
#pre{{
You should reload httpd:
launchctl unload ~/Library/LaunchAgents/homebrew.mxcl...
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.h...
}}
*設定ファイルなど [#s415330a]
-/usr/local/etc/apache2/httpd.conf を編集する。
*起動 [#t209dc83]
-デフォルト設定のポート80で動かす場合root権限が必要。この...
sudo cd /Library/LaunchAgents
sudo ln -s /Library/LaunchAgents/homebrew.mxcl.httpd.plist
sudo chown root:wheel homebrew.mxcl.httpd.plist
sudo launchctl load -w /Library/LaunchAgents/homebrew.mx...
-一般ユーザーで動かす場合
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.h...
*未確認情報[#i738145d]
**brew servicesって何? [#icb13c46]
-以下のコマンドを実行すると/Library/LaunchDaemonsにplist...
sudo brew services start httpd
-/Library/LaunchAgents/homebrew.mxcl.httpd.plistが作られ...
sudo launchctl load -w /Library/LaunchAgents/homebrew.m...
**run、logディレクトリが作られない? [#k662a466]
※[[httpd log and run directories not being created ·...
*トラブルシューティング [#laa2340b]
**ユーザーディレクトリにアクセスできない。 [#nd11dfc3]
-extra/httpd-userdir.confがまちがっていないか確認する。
-初期状態だと、UserDir public_html、Directory /home/*/pub...
#pre{{
UserDir Sites
#
# Control access to UserDir directories. The following i...
# for a site where these directories are restricted to re...
#
<Directory "/Users/*/Sites">
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch Inclu...
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
}}
ページ名: