The path to the file: /Users/user_name/Sites/example.com
Viewable: http://localhost/~user_name/example.com/
In the child directory ( chrome) I got .htaccessas follows:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^rgba\((\d{1,3}%?,\s?\d{1,3}%?,\s?\d{1,3}%?,\s?[0-1]?\.?\d+)\)$ rgba.php?rgba=$1 [PT]
This matches the query, for example:
http:
and should rewrite the request:
http:
I put rgba.php in the directory chrome. However, I get this msg error:
The requested URL /Users/user_name/Sites/example.com/chrome/rgba.php was not found on this server.
I read part of the extension guide for the Home directory and the [PT] flag, but that doesn't make any difference.
If I set vhost pointing to a directory example.com, it works. I would like it to work in both directions = P
So how do I do this?
I am running Apache / 2.2.15 (Unix) on Mac OS X
AllowOverride Sites All. , .