re: Stopping .htaccess from handling API route VIEW POST

VIEW FULL DISCUSSION

I would say both Meghan and Kamal are right :)

  1. Your rule only matches /api
  2. 500 error looks most likely that your rewrite module isn't up.

As a side note, I usually like debugging my htaccess calls using htaccess.madewithlove.be/ since it explains what it matches based on an url. It's definitely not perfect, but it helped me debug some more complex rewrite rules.

PS:
In the future for easier debugging it would help a lot if you would copy/paste your code as text, not as an image.

code of conduct - report abuse