2017-11-25 15 views
0

Webアプリケーションをawsサーバに移行しました。ドメイン名を入力すると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] 

ソリューション

を見つけるために私を助けてくださいありがとうございます

+0

テストのために、 '/ bitcoin_new/index.php/Login/login_check'と一緒に使えますか? – Tpojka

+0

@Tpojka私はそれをチェックしますが、それはうまく動作しません – xr33dx

+0

Hm、おそらく 'RewriteRule ^(。*)$ index.php /?$ 1 [L、QSA]'で試してください。 – Tpojka

答えて

0
<IfModule mod_rewrite.c> 
RewriteEngine On 
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteRule ^(.*)$ index.php/$1 [L] 
</IfModule> 

どうしたらいいですか?

関連する問題