Resolved: cannot access url string something missing on my code?

Question:

I have a problem with apache giving me a “not found” error.
scenario:
I have a url of the form –> 10.17.10.19/webapps/api/index.php?url=auth
I want to rewrite the url in the form –> 10.17.10.19/webapps/api/auth
im Using Ubuntu 20.04 apache2
vhost:
htaccess:
apache.conf
Please help me to correct the condition to recognize the parameter

Best Answer:

i found the answer i need to enable header so the htaccess can work
https://httpd.apache.org/docs/2.4/mod/

If you have better answer, please add a comment about this, thank you!

Source: Stackoverflow.com