ブラウザを立ち上げて
http://localhost/
ってやると/usr/local/apache2/htdocs/index.htmlが見えるのですが、
taroというユーザーを作ってホームディレクトリのしたに
~taro/public_html/index.html
をつくってやると
Forbidden
You don't have permission to access /~taro on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.0.39 Server at localhost Port 80
といわれちゃいます。ちなみに.httpd.confの中の所では
#UserDir public_html
<IfModule mod_userdir.c>
UserDir public_html
</IfModule>
となっています。
どうすれば見れるようになるのでしょうか?
No.2ベストアンサー
- 回答日時:
それでは不適切です。
taro 701
public_html 701
index.html 604
に変更してください。
# index.html は644でもいいですが。
お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!
関連するカテゴリからQ&Aを探す
おすすめ情報
- ・漫画をレンタルでお得に読める!
- ・14歳の自分に衝撃の事実を告げてください
- ・架空の映画のネタバレレビュー
- ・「お昼の放送」の思い出
- ・昨日見た夢を教えて下さい
- ・【お題】絵本のタイトル
- ・【大喜利】世界最古のコンビニについて知ってる事を教えてください【投稿~10/10(木)】
- ・メモのコツを教えてください!
- ・CDの保有枚数を教えてください
- ・ホテルを選ぶとき、これだけは譲れない条件TOP3は?
- ・家・車以外で、人生で一番奮発した買い物
- ・人生最悪の忘れ物
- ・【コナン30周年】嘘でしょ!?と思った○○周年を教えて【ハルヒ20周年】
- ・ハマっている「お菓子」を教えて!
- ・最近、いつ泣きましたか?
- ・夏が終わったと感じる瞬間って、どんな時?
- ・10秒目をつむったら…
- ・人生のプチ美学を教えてください!!
- ・あなたの習慣について教えてください!!
- ・牛、豚、鶏、どれか一つ食べられなくなるとしたら?
- ・都道府県穴埋めゲーム
デイリーランキングこのカテゴリの人気デイリーQ&Aランキング
-
iframeの中でページ内リンクは...
-
相対パスから絶対パスの取得
-
メール本文に変な文字が
-
この鐘状の花の名前は何でしょ...
-
lang 英語と日本語など混ざる時は
-
腎障害の食事療法
-
仙台からの日帰り入浴
-
エアジョーダン6 カーマインを...
-
マカロンって常温だとどれくら...
-
日本人20歳男身長170cm...
-
田んぼの稲刈り
-
日サロSOLE
-
googlemapapi複数マーカー10個...
-
桐蔭学園卒業生があつまるBBS
-
アメリカの最初に独立した13州...
-
Excelで、社外秘(閲覧のみ)と...
-
HTMLからフォルダを開きたい
-
htmlファイルの表示が真っ白
-
VBA URLDownloadToFileについて
-
googleドライブで、PDFファイル...
マンスリーランキングこのカテゴリの人気マンスリーQ&Aランキング
-
Excel VBA :URLの中で変数を使...
-
中埜酢店 のよみかた
-
lang 英語と日本語など混ざる時は
-
ベーシック認証時、キャンセル...
-
html4.01とxhtmlではレスポンシ...
-
javaでhtmlファイルを開く方法
-
メール本文に変な文字が
-
京都駅から延暦寺へのアクセス
-
相対パスから絶対パスの取得
-
You Are The Sunshine Of My Li...
-
桐蔭学園卒業生があつまるBBS
-
<HTML>タグについて
-
インラインフレームの横スクロ...
-
複数のファイルをdiffで比較す...
-
デキャンタをさがしています(...
-
HTMLの内容をテキストエリアに...
-
磯野貴理子について
-
この鐘状の花の名前は何でしょ...
-
甲府市にあった穂積という料亭...
-
iframeの中のページのリンクを...
おすすめ情報