我有一个。htaccess文件
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
vhost的配置如下所示
<VirtualHost *:80>
ServerName elements
DocumentRoot /works/web/elements
<Directory /works/web/elements>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from 127.0.0.1
</Directory>
</VirtualHost>
但当我查看页面时,我仍然得到404,为什么?