New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
路由怎么写都不对…… 问题出在哪里了 #26
Comments
基础路由不需要配置 /demo默认会定位到 controller目录下的 demoAction.php文件 |
Object not found! The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. If you think this is a server error, please contact the webmaster. Error 404 biny.site |
<VirtualHost *:80> |
按照这个配置,我也不知道问题出在哪里了 |
看起来是apache的错误 并没有走到index.php里 apache配置我不是很清楚 nginx最主要是try files的配置 apache |
既然定位是给入门者使用的框架,那么应该支持Apache+PHP的环境。建议写个.htaccess文件处理下try files的问题 |
嗯 谢谢你的建议 晚点会更新wiki |
|
//config/config.php 中写道
'routeRule' => array(
'demo' => 'demo',
'demo.html' => 'demo',
'/demo/'=>'demo',
),
//访问 http:///demo/ or http:///demo.html 都不对,显示404
求正解!
The text was updated successfully, but these errors were encountered: