나는 이것이 많은 사람들이 가지고있는 문제이지만 여전히 모든 결과를 얻지는 못했지만 여전히 문제를 안고 있음을 안다. 나는이Laravel 깨끗한 URL 문제
숏 다리 ../ 공공/index.php에 다음과 같은 얻을 내가
/users가이 서버에서 발견되지 않았습니다.숏 다리로 이동이 순간
.../공공/사용자
하지만 URL 바에 index.php를 추가하면 작동합니다. 합니다 (청소하지 버전)
이 내 htaccess로 파일
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*) index.php/$1 [L]
</IfModule>
입니다 그리고 이것은
<Directory "/Library/WebServer/Documents">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks MultiViews
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride All
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all