标签: apache2 http-status-code-404 subdomain
我在Raspberry pi上有一个Apache服务器,而子域出现问题。我收到404错误。这会在任何文件和根目录中发生。 Example
这是子域配置:
<VirtualHost *:80> DocumentRoot "/path/to/root/img" ServerName img.domain.com </VirtualHost>
我已经确认DocumentRoot是正确的,并且Apache可以毫无问题地访问目录和其中的文件。