Welcome Guest, Not a member yet? Register   Sign In
Ajax not working without index.php
#1

Hy!

First of all, I checked every google result and no solution have been found. So I have the following problem.
If i try to access one normal route (Controller/method) and I omit index.php, everything works alright. But if there is index.php present, the Ajax call (also tried with postman) throws an 404 error on a POST method. The GET method is working properly with Postman call.

I tried many different htaccesses and not even one is working. But that is just a problem on ma local computer. I have a page on 3 different servers and it works ok on them. It also works on local server at my collegues.
I changed vhost configuration where I set AllowOverride All but nothing helps.

I am using CodeIgniter 3 but two days ago I updated to the newest version from develop branch.
My local server is:
Server version: Apache/2.4.10 (Ubuntu)
Server built: Jul 22 2014 22:50:56

Does anyone have a clue what should be wrong?

Thanks in advance!
Reply


Messages In This Thread
Ajax not working without index.php - by sasos90 - 03-14-2015, 02:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB