On a test server, I've installed a new multisite instance. It lives in /var/www/html/m
(m=multisite). I've attempted to set up the first site and have given it a path of http://server/m/a
.
However, when I attempt to visit this url, I receive a 404: "Not Found.The requested URL /m/a was not found on this server."
I've set up the .htaccess
file in /var/www/html/m/
as recommended from the admin panel. The vhost file is as follows?
<VirtualHost *:80>
DocumentRoot /var/www/html
</VirtualHost>
<Directory /var/www/html>
AllowOverride All
</Directory>
Do I need to include a separate Directory entry for /var/www/html/m
? Or will this directive propagate?
<VirtualHost>
directive to catch any requests that don't go to any of your sites. Otherwise any request will be diverted to your first<VirtualHost>
directive: Apache 2.2 Manual - Virtual Host Examples