sparq
06-07-2005, 08:54 AM
Ok here is my problem. I keep a personal blog site that I only have linked in my AIM profile. I constantly update my link (weekly) so I can just keep tabs on who is clicking on it etc.
Well I have a need to block access to certain people, and I figured since the link would come in as the referrer it should be easy to do. I am using the Rewrite, but I am new to this so im not sure if I have it right. BUT, this is an example of the link the users click in my profile...
http://r.imchaos.net/link/a/?a=(mylinkcodehere)&b=(screen name here)
Now, in Rewrite, if I simply do a .*(screen name here)$ for my referrer would that not block out the ENDING part (where the screen name would be) and work for me? Or am I missing something? Obviously they could just change their username to view, but I also have the IP block banned -- I am just trying to come up with a way to block out access based on the LAST "chunk" of information from the referrer... Does the above look right? Also for Rewrites, does it matter where it is placed when I am blocking IP's and other stuff? Should it go ABOVE the IP blocking section? Or should it not matter?
If anyone could throw something together real quick so I can verify im doing it right I would appreciate it.
Well I have a need to block access to certain people, and I figured since the link would come in as the referrer it should be easy to do. I am using the Rewrite, but I am new to this so im not sure if I have it right. BUT, this is an example of the link the users click in my profile...
http://r.imchaos.net/link/a/?a=(mylinkcodehere)&b=(screen name here)
Now, in Rewrite, if I simply do a .*(screen name here)$ for my referrer would that not block out the ENDING part (where the screen name would be) and work for me? Or am I missing something? Obviously they could just change their username to view, but I also have the IP block banned -- I am just trying to come up with a way to block out access based on the LAST "chunk" of information from the referrer... Does the above look right? Also for Rewrites, does it matter where it is placed when I am blocking IP's and other stuff? Should it go ABOVE the IP blocking section? Or should it not matter?
If anyone could throw something together real quick so I can verify im doing it right I would appreciate it.