I produced a zend project on localhost on ubuntu OS which is working perfectly on my small local system. Now I wish to upload this project online. I bought domain title and hosting. I acquired following directory structure to upload files.


So world wide web.example.com is pointing to /www.example.com/web/content/ folder. Ezinearticles structure is unchangeable. I invest public folder files to /www.example.com/web/content/ and application, library and tests folders into /www.example.com/web/. So it's exactly the same directory as my local system only public folder is re-named to content folder.

Now home page is effectively proven but whenver I click any link or redirect holiday to a web page, I acquired following error.

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache/2.2 Server at example.com Port 80

Any idea ?


Internal server (HTTP 500) errors can happen for a lot of reasons. You can examine your internet server's error log for additional particulars. Without having use of your vhosts' error log, request your host to determine what is going on wrong.

It's solved after reading through following thread:


So it's working using following .htaccess:

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