[domain.com...] -> userslist.html -> [domain.com...] no loop needed
[domain.com...] or *.htm or / loop it.
I hope this makes sense.
I am a little surprised no one has jumped on this, I know there are mod_rewrite gurus floating around.
anyone?
<added>if you are looking for how, there are a bunch of threads about mod_rewrite around just try the site search [searchengineworld.com] as to "is this the best way", I am not totally sure exactly what you mean so I might need some clarification for that.
Using the above method I could grab referer headers and track per user usage, where thier visitors are comming from, rough transfer amounts, etc.
I hope this clears things up.
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://www.domain.com [NC]
RewriteCond %{REQUEST_URI} (/¦\.html¦\.htm)$ [NC]
RewriteRule freeusers/(.*) cgi-bin/loop.cgi?$1 [L]
would rewrite any URL that starts with freeusers and where the referer is not your domain to cgi-bin/loop.cgi and pass anything after the freeusers as a query string to your cgi script.
Additionally to logging any infos that you want to collect the script would have to serve the actual html document that was requested.
BTW I did not test this and hope it helps