.htaccess again!

Hi Dave,

I think my problem you known to you..im about to begin installing the okapi and but the next message is this:

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.

The .htaccess file is already in the admin folder..and I also make my own .htaccess file from text file and give "create and delete files" permission and I put it in the root application. But it is still not solve the error.

What Should I do now..? :}


Hi, I think you should be able to create an .htaccess file based on the following info, adjusting the path in RewriteBase and RewriteRule as needed:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

Hope that helps

I had the same issue- htaccess in the admin, but not in root. I created a new .htaccess file in the root and pasted in the info above. My error now reads: Access denied for user 'root'@'localhost' (using password: YES). This is stretching beyond my knowledge base, so I apologize for any ignorance. Do you have any suggestions for me?

Hi lhermley,

The .htaccess that comes with Omeka includes a bit more than the code Erin provided. The full contents can be seen in the .htaccess file in SVN:


If you copy/paste those contents into your .htaccess file, it should work. Note there are a few extra lines for the archive directory.

Hope this helps,