re: Stopping .htaccess from handling API route VIEW POST


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 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.

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