기존 kohana 환경의 새로운 페이지 설정. httpd.config를 다음과 같이 변경했습니다.Kohana 404 요청 된 URL/리뷰가이 서버에 없습니다.
가상 호스트
이 날 localhost를 입력하고 사이트의 홈페이지를 공격 할 수 conf의/추가/아파치 - vhosts.conf<virtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "C:/wamp/www/site/kohana"
ServerName localhost
</virtualHost>
<virtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "C:/wamp/www/site/kohana"
ServerName localhost
<directory "C:/wamp/www/site/kohana">
Options Indexes FollowSymLinks
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</directory>
</virtualHost>
를 포함합니다. 그러나 어떤 이유로 나는 단지 bootstrap.php 노선 내가 계정 페이지로 이동하여 다른 곳에서 재 시도 후
Route::set('default', '(<controller>(/<action>(/<id>)))')
->defaults(array(
'controller' => 'account',
'action' => 'index',
));
에 정의 된 페이지에 액세스 할 수 있습니다. 아파치에서 404 오류가 발생합니다. 오류가 kohana에서 throw되지 않기 때문에 나는 아파치에서 가정합니다.
Not Found
The requested URL /reviews was not found on this server.
사람이 내가보고해야하는지에 관해서는 제안이 있습니까?