Forum Moderators: phranque

Message Too Old, No Replies

Hard task to acomplish , .htaccess can you help me?

         

aliens112

7:38 pm on Mar 25, 2009 (gmt 0)

10+ Year Member



I want to do two things with .htaccess.
First is: am I able to show a percentage of my visitors a different page than other percentage.
For example I want 20% of the visitors to see a different image than 80% of the visitors. Is that possible trough htaccess? Can you give me examples? Thanks.

The other thing is I want a certain page of mine to be seen only once by a certain iP. For example let's say I send a massage to a guy tough e-mail to a private page. He goes there, but after that I don't want him to be able to go there again. Instead of that he should see another page. Can I do this trough htaccess?

Thanks for your help :)

g1smd

8:35 pm on Mar 25, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



First one. No. You need to do that in your script.

Second one. You can do part of that in .htaccess, but you are better off programming it in a script.

[edited by: jdMorgan at 1:14 am (utc) on Mar. 26, 2009]
[edit reason] fixed typo. [/edit]

aliens112

11:57 am on Mar 26, 2009 (gmt 0)

10+ Year Member



can you post an example script? thanks :)