htaccess: Magento Url Rewrite

Place the following code in the .htaccess file:

RewriteEngine on#RewriteBase
/magento/RewriteRule
.* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_URI} !^/(media|skin|js)/RewriteCond
%{REQUEST_FILENAME} !-fRewriteCond
%{REQUEST_FILENAME} !-dRewriteCond
%{REQUEST_FILENAME} .-lRewriteRule
.* index.php [L]






.