"ワイルドカードでApacheのVirtualHost-はてなブログでやってるあれ"を参考にして
サブドメイン毎の設定を行いました。ログもサブドメイン単位でのディレクトリを作成しようとしましたが、エラーになります。
サブドメイン単位のディレクトリー作成方法をご教授ください。
1.設定
ServerName abc.def.com
ServerAlias abc.def.com *.def.com
VirtualDocumentRoot "D:\def.com/%1/public_html"
ErrorLog "logs/def.com/%1/error.log"
CustomLog "logs/def.com/%1/access.log" common
2.エラーメッセージ
(OS 2)指定されたファイルが見つかりません。 : AH02291: Cannot access directory 'C:/Apache24/logs/def.com/%1/' for error log of vhost defined at C:/Apache24/conf/extra/httpd-vhosts.conf:32

回答1件
あなたの回答
tips
プレビュー