help installing okapi

I have uploaded okapi and put information into the db.ini file and when I go to load the page it says Error: Missing .htaccess File
Omeka's .htaccess file is missing. Please make sure this and any other hidden files, such as the .htaccess file in the admin/ directory, have been uploaded correctly and try again.

Error: mod_rewrite is not enabled
Apache's mod_rewrite extension must be enabled for Omeka to work properly. Please enable mod_rewrite and try again.

what should i do

The OKAPI package uses a previous version of Omeka (0.9), but like 0.10 it requires you to transfer the .htaccess files in both the root of your application, and the admin directories. These are sometimes not viewable by default, depending on your FTP client. Omeka needs both of these files to function.

Dave,

for some reason I dont have an .htaccess file in the root. I copied the one from omeka 10, and that got rid of the .htaccess error, but I am left with this:

Error: mod_rewrite is not enabled
Apache's mod_rewrite extension must be enabled for Omeka to work properly. Please enable mod_rewrite and try again.

The Test of the .htaccess file I took from omeka 10 looks like this:

<IfModule mod_php5.c>
php_value display_errors 0
php_flag register_globals off
</IfModule>

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d [OR]
# This ensures that Apache will not mistake the URL mysite.com/archive/ for a request for the physical directory that stores files
RewriteCond %{REQUEST_URI} .+\/archive\/
RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php

<FilesMatch "\.(php|ini)$">
Order Allow,Deny
Deny from all
</FilesMatch>

<Files index.php>
Allow from all
</Files>

# Uncomment the lines below in order to enable caching of some files via Apache (after a finished site has gone live)
<IfModule mod_expires.c>
# <FilesMatch "\.(js|css|gif|png)$">
# ExpiresActive on
# ExpiresDefault "access plus 10 day"
# </FilesMatch>
</IfModule>

What do you think I should do?

Thanks