Forum Moderators: phranque

Message Too Old, No Replies

mod_rewrite

Can this be done?

         

ttripp1

2:29 am on Sep 5, 2005 (gmt 0)

10+ Year Member



I have created PHP scripts for various users to use as avatars in other forums. They reference them like sitename/dynamic/username.php. I create one individually for them as they want.

But I would like to simplify this. I am VERY new to learning htaccess files. I've been trying my best to get this to work and I can't.

How can I do this:

Rewrite request of [sitename...] and have it retrieve the file /home/user/public_html/dynamic/dynimage.php?user=myname

Thanks!

jdMorgan

3:13 am on Sep 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



ttripp1,

Welcome to WebmasterWorld!

Yes, possible and quite easy compared to most problems.

Here's a search [google.com] to help you get started.

Jim

ttripp1

3:14 am on Sep 5, 2005 (gmt 0)

10+ Year Member



After a while of playing with it I figured it out.

:)