04-19-2008, 08:05 PM
|
#12 (permalink)
|
|
is cute and cuddly
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
|
Are you sure the rewrite module is loaded in the apache config too? You can check the httpd.conf (search for rewrite), or run phpinfo() and search for mod_rewrite in apache2handler to find out.
I can get this to work on mine,
Code:
RewriteEngine On
RewriteRule ^YML/profile/([0-9]+)/?$ YML/profile.php?id=$1 [L]
(will turn http://yourhost/YML/profile/12/ into http://yourhost/YML/profile.php?id=12 for example. Substitute [A-Za-z0-9]+ for [0-9]+ if you wish to use alphanumeric profile designations too.)
-m
|
|
|
|