Slime Framework on AWS

He all
I am new in Slim framework and i want to Deploy my Slim app on AWS
After i upload the project files to AWS ubuntu instance its give my not found error for all my API urls
however the same code work on the same Os on my local machine but not in AWS apache server
Can any one help my to know what is the problem!!!

If your webserver is apache: Check your rewrite module and .htaccess.
If you are using nginx, make sure you forward all request to index.php

It is Apache server
I installed the same environment as my local server work and upload them to the AWS instance
The same .htaccess
Is there any configuration for Apache ?!
may this is the problem

ITs Working Now
the probelm was the apache,conf fie must be changed

<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted

Change this line
AllowOverride None → AllowOverride All

Thank You For replying