Using mod_rewrite on mac os x 10.3 panther from .htaccess It is quite simple. MacOS X 10.3 comes with mod_rewrite built in and turned on for the default apache. You just have to ensure that the Options and rewrite engine are setup correctly. Here is a simple .htaccess file that I am using to answer requests for domain.com/articles/XXX with the PHP script that would normally be found at domain.com/article.php?id=XXX. This .htaccess file is located in the /articles folder.# either SymLinksIfOwnerMatch or FollowSymLinks must be on Options +SymLinksIfOwnerMatch
RewriteEngine On RewriteBase / RewriteRule ^(.*)$ article.php?id=$1
|