1
我有一个laravel应用程序,我得到的错误。我的公用文件夹位于根文件夹中,而.htaccess文件位于公用文件夹中。.htaccess重写引擎隐藏目录
我的.htaccess低于
<IfModule mod_rewrite.c>
RewriteEngine On
# Redirect Trailing Slashes...
#RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule^index.php [L]
</IfModule>
导航到根文件夹不显示我在列表中的公用文件夹。当我删除.htaccess的内容时,我能够看到该文件夹。任何想法我错了?
显示目录列表时,您在浏览器中输入了哪个URL? – anubhava