CodeIgniter 3 - 403 Forbidden on POST from jQuery.ajax() asynchronous request |
Preset Apache mod_rewrite Flags modified RewriteRules causing AJAX requests to fail.The solution is either:
1. Deactivate mod_rewrite if you can on your hosting (not recommended) 2. Change .htaccess of codeigniter installation from: Code: RewriteEngine On to: Code: <IfModule mod_rewrite.c> $string = $this->load->view('return_view_as_data', '', TRUE);
|
Messages In This Thread |
CodeIgniter 3 - 403 Forbidden on POST from jQuery.ajax() asynchronous request - by josephgodwinke - 04-12-2021, 02:53 PM
RE: CodeIgniter 3 - 403 Forbidden on POST from jQuery.ajax() asynchronous request - by kleber - 04-19-2021, 06:45 AM
RE: CodeIgniter 3 - 403 Forbidden on POST from jQuery.ajax() asynchronous request - by josephgodwinke - 04-20-2021, 12:39 AM
RE: CodeIgniter 3 - 403 Forbidden on POST from jQuery.ajax() asynchronous request - by kleber - 04-20-2021, 08:35 AM
|