Probaj sa ovim ..
First of all, set your httpd configuration to this (the path may differ with one another. In my ubuntu it's placed at /etc/apache2/sites-available/default):
Options Indexes FollowSymLinks MultiViews
allow from all
After that, you should enable mod_rewrite with this command:
sudo a2enmod rewrite
The last one, restart your apache service:
sudo service apache2 restart
To ensure that, you can check it again from phpinfo in Configuration > apache2handler > Loaded Modules there must be written mod_rewrite and it means mod_rewrite is enabled.