Hi,
I am starting a free hosting service and would like to use the power of mod_rewrite to add a small frame to the bottom of my members pages.
my members are stored in lettered sub-directories such as:
/var/www/html/a/a...
/var/www/html/C/C...
/var/www/html/8/8...
and so on... what I am trying to do while pulling my hair off for three days now is to rewrite the requested files to
/var/www/html/indexframed.php?file=/a/amemeber/index.html
if the requested file for this example is
http://www.domain.com/a/amember/index.html
How do I do that? Also, how do I restrict to do this rewrite only for HUMANS or browsers, i.e IE, Netscape, Opera, etc, so bots, etc would still be able to spider the members web pages without being redirected to this framed page.
I'm quite devistated to have this work... and are willing to pay $100 for anyone who could help me out with this two tasks by the all-migthy mod_rewrite
If you would like an illustration of how it works, try visiting one of Yahoo Geocities member pages, they always manages to add a frame on the right side of the page.
Please help!
-Jimmy