|
Posted by joelbyrd on 03/07/06 03:20
Alright, I think I've got everything squared away, but now for the
potentially annoying part - how do I run the thing? Is it simply a
matter of including
RewriteEngine On
RewriteRule ^/admin\/?/$ /admin/index.php [L]
RewriteRule ^/\w+\/?/$ /my_profile.php?user_name=$1
in the .htaccess file? (because I tried that and it didn't work) Or
do I need to include more in the .htaccess
file, or does this code have to go somewhere else besides the .htaccess
file? Is the mod_rewrite module already built in (I think it is)?
I've been trying to read about the mod_rewrite module on
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html, but I'm still
confused as to how to get the thing actually working. Ideally, the
complexity of a task should somewhat reflect the complexity of
implementing that task, but I don't know if that's the case here.
Navigation:
[Reply to this message]
|