다음과 같은 디렉토리 구조가 있습니다.여러 앱 디렉토리에 대한 fuelphp htaccess가 작동하지 않습니다.
public_html/
/abc/
/xyz/
/pqr/
각 디렉토리에는 abc, xyz, pqr이라는 index.php가 있습니다.
지금 때마다 배치해야한다 무엇 htaccess로 파일이어야하며 domain.com/abc/index.php/def/ghi
domain.com/xyz/def/ghi => domain.com/xyz/index.php/def/ghi
domain.com/pqr/def/ghi => domain.com/pqr/index.php/def/ghi
에 다시 작성해야 domain.com/abc/def/ghi
같은 모든 요청이 있습니까?
아래와 같이 각 디렉토리 (abc, xyz, pqr)에 .htaccess 파일이 있지만 작동하지 않습니다. 404 페이지를 찾을 수 없습니다. 이러한 모든 재 작성 조건을 처리하도록 안내해주십시오.
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
하지만 작동하지 않습니다 ... 맞다면. 나는 이것을 CentOS 서버에 설치하고있다.