システムに仮想ホストを実装しようとしています。apache php Virtualhost
私はそれのために以下のコードを使用しました。
---------------------------------------------------------
Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Error 403
---------------------------------------------------------
は、誰もがこの問題を修正してくださいすることができ:
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "/Users/shanker/Documents/content_booking/"
ServerName content.boking
Alias /booking "/Users/shanker/Documents/content_booking/public/"
</VirtualHost>
も、私は
127.0.0.1 content.booking
しかし、私は取得しています、次のエラーとしてhostsファイルを更新しています。
エラーメッセージを読んだことがありますか? 2番目の行は、問題が何であるかについて非常に明確です。 –
私はその行を読んで、私はファイルのアクセス許可をチェックしました。フォルダには完全な権限があります。 – user1306297
「インデックスなしのドキュメント」の他の部分を読む –