我已经将我的codeigniter项目与Ubuntu 14.04集成在一起.在默认控制器(登录控制器)之后,它给了我url not found错误.
请查找以下.htaccess文件
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /myapp/
#Removes access to the system folder by users.
#Additionally this will allow you to create a System.php controller,
#previously this would not have been possible.
#'system' can be replaced if you have renamed your system folder.
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
#When your application folder isn't in the system folder
#This snippet prevents user access to the application folder
#Submitted by: Fabdrol
#Rename 'application' to your applications …Run Code Online (Sandbox Code Playgroud) 我在Symfony 2.4.5 for symblog教程[[第4部分] - 注释模型:添加注释,Doctrine存储库和迁移]中出现此错误,值"with"的意外标记"name"("语句块结束"预期)在BloggerBlogBundle:Blog:show.html.twig.在更新博客节目模板以呈现添加博客表单之后,就会发生这种情况.