۰۵
شهریور ۹۴
http://www.lavluda.com/2007/07/15/how-to-enable-mod_rewrite-in-apache22-debian/
a2enmod rewrite
Then edit /etc/apache2/sites-available/default or /etc/apache2/sites-available/000-default (check which one available on your system)
Find the following
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
and change it toOptions Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all
and finally restart Apache
/etc/init.d/apache2 restart
orservice apache2 restart
very important :
copy of cake php dont move .htaccess
please move all of folder & check if htaccess is exit
۹۴/۰۶/۰۵