Noob mod_rewrite question

software development


Hi I’m trying to learn cake.php and have installed it on my server. It uses mod_rewrite which I know nothing about, and which doesn’t seem to be working during the tutorial. Here is the .htaccess file:

RewriteEngine on RewriteRule ^$ webroot/ [L] RewriteRule (.*) webroot/$1 [L]

My total noob question is do I need to edit this file to make it work on zuma, or should it function as is.

Thanks in advance for any help.


I am still quite new to rewrite rules myself, so don’t mind me if I am wrong.
I was thinking that the word webroot should be replaced with your domain.