If you want to develop with mod_rewrite, you will have to configure your .htaccess file in thte app folder of your project.

Creating your htaccess file:

RewriteEngine On

<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteBase /

	# Do not do anything for already existing files and folders
	RewriteCond %{REQUEST_FILENAME} -f [OR]
	RewriteCond %{REQUEST_FILENAME} -d
	RewriteRule .+ - [L]

	#Respect this rules for redirecting:
	RewriteRule ^([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/(.*)$ index.php?magrathea_control=$1&magrathea_action=$2&magrathea_params=$3 [QSA,L]
	RewriteRule ^([a-zA-Z0-9_-]+)/(.*)$ index.php?magrathea_control=$1&magrathea_action=$2 [QSA,L]
	RewriteRule ^(.*)$ index.php?magrathea_control=$1 [QSA,L]