I'm trying to implement clean urls for my website. I'd like to use the mod_rewrite module to do this. I have created a .htaccess file to do so. When I upload the file to my hosted webserver, it works just fine but when testing locally with MAMP, it does not. I have searched all around the web and I can't find a solution.
Here's my configuration:
/Users/matthew/Sites/matthewboston/.htaccess
/Applications/MAMP/conf/apache/http.conf
I think that's all the important info...
Help please!!
Here's my configuration:
/Users/matthew/Sites/matthewboston/.htaccess
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^/about/?$ ./about.php [QSA,L]
RewriteRule ^/entry/([0-9]+)/?$ /index.php?id=$1 [QSA,L]
</IfModule>
Code:
...
LoadModule rewrite_module modules/mod_rewrite.so
...
<Directory "/Users/matthew/Sites/matthewboston">
Options All
AllowOverride All
Order allow,deny
Allow from all
</Directory>
...
AccessFileName .htaccess
...
I think that's all the important info...
Help please!!