Mod rewrite problem with Ubuntu |
[eluser]Mohammed Zayan[/eluser]
I use Ubuntu and enable mod_rewrite in Ubuntu by: Code: sudo a2enmod rewrite Code: sudo /etc/init.d/apache2 restart and I use this code in .htaccess file Code: <IfModule mod_rewrite.c> when I use: http://localhost/zayanit/site/index I have this error: The requested URL /zayanit/site/index was not found on this server. Apache/2.2.17 (Ubuntu) Server at localhost Port 80 but if I put index.php in url it works. So what is the problem?!! |
Messages In This Thread |
Mod rewrite problem with Ubuntu - by El Forum - 06-21-2012, 11:43 AM
Mod rewrite problem with Ubuntu - by El Forum - 06-21-2012, 12:48 PM
Mod rewrite problem with Ubuntu - by El Forum - 06-21-2012, 01:02 PM
Mod rewrite problem with Ubuntu - by El Forum - 06-21-2012, 01:05 PM
Mod rewrite problem with Ubuntu - by El Forum - 06-21-2012, 01:10 PM
Mod rewrite problem with Ubuntu - by El Forum - 06-22-2012, 02:59 PM
Mod rewrite problem with Ubuntu - by El Forum - 06-22-2012, 03:22 PM
Mod rewrite problem with Ubuntu - by El Forum - 06-22-2012, 03:38 PM
|