스크립트에 문제가 있습니다. 그것은 작동하는데 필요한 htaccess 파일로 작동하지 않습니다. 여기에 htaccess가 포함되어 있습니다. 나는 그것을 wamp localhost에 설치하려하고있다. 코드는 다음과 같습니다Wamp가있는 로컬 호스트의 .htaccess에서 RewriteEngine 500 내부 오류
#AddType x-mapp-php5 .php
#AddHandler x-mapp-php5 .php
RewriteEngine ON
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]
#RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]
Options All -Indexes
내가 이것을 제거하면 그것은 작동 :
RewriteEngine ON
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]
#RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]
그러나 이런 식으로 스크립트로드를하지만, 모든 페이지 표시 오류 (404)는이 문제를 해결하는 방법이 있나요?
그래서'Options All -Indexes'가 500 오류를 일으키고 있습니까? 아파치 error.log를 확인할 수 있습니까? – anubhava