次のようにさまざまなフォルダにあるWebサイトを提供するように構成されたApache2サーバーがあります。
/var/www/mainホームページファイルが含まれていますindex.html/var/www/sub別のファイルが含まれていますsub.html
私のウェブサイトのホームページにはアクセスできますが、サブパートはアクセスできません。
www.mysite.com(==www.mysite.com/index.html)動作しますẁww.mysite.com/sub動作しませんẁww.mysite.com/sub.html動作しませんẁww.mysite.com/sub/sub.html動作しません
エラーメッセージは常にrequested URL ... was not found on this server
/etc/apache2/sites-available/sub:
<VirtualHost *:80>
ServerName www.mysite.com
DocumentRoot /var/www/sub
<Directory /var/www/sub>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
</VirtualHost>
/etc/apache2/httpd.conf:
<VirtualHost *:80>
DocumentRoot /var/www/main
<Directory /var/www/main>
AllowOverride all
Options -MultiViews
</Directory>
</VirtualHost>
私の構成の何が問題になっていますか?