After lots of time to find a smart solution on Mac OSX 10.4 (tiger) with only modifying the /etc/httpd/users/USERNAME.conf (here michel) for permalinks in user’s sites – here the solution (I don’t like to modify main httpd.conf) – (see notes at the end)
<Directory "/Users/michel/Sites/">
Options Indexes MultiViews +FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /~michel/wp2
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
</IfModule>
</Directory>
Notes:
RewriteEngine don’t work in the .htaccess = must be written in the USERNAME.conf
RewriteBase must like /~USERNAME/FOLDEROFWP
RewriteRule don’t contain here a folder (as suggested in wp-admin).
the url is here to see wp and permalinks – 127.0.0.1/~michel/wp2/
enjoy!