0
我在aws服务器上迁移我的webapp,当我键入域名时,它加载了我的web应用程序的登录页面。把用户名和密码时,我打提交按钮后,那么就说明我的错误在此服务器上未找到请求的URL /文件夹/控制器/方法
Not Found
The requested URL /bitcoin_new/Login/login_check was not found on this server.
Apache/2.4.7 (Ubuntu) Server at www.techseed.co.in Port 80
这里是我的.htaccess文件代码
RewriteEngine on
RewriteBase /folder_name/
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]
请帮我找到解决办法
谢谢
为了测试起见,它可以使用'/ bitcoin_new/index.php/Login/login_check'吗? – Tpojka
@Tpojka我检查它,但它不起作用 – xr33dx
嗯,也许尝试'RewriteRule ^(。*)$ index.php /?$ 1 [L,QSA]'。 – Tpojka