Forum Moderators: phranque
it's me again! I have a silly question, but would love it if it worked.
I do not want to block this person as I think she tends to take herself to seriously afterwards. What I would like is to be able to somehow have something prompting her on the screen everytime she comes to the site which is 10 times a day :) Something like "Source traced and logged"- yup evil I know :)
Is that possible?
DGirl
It would take a little creative perl coding and possibly even cookies but it would be wild to see the look on her face :)
You know I catch on fast, will you tell me what to do?
If so you can put this in the pages
<!--#if expr="$REMOTE_ADDR=192.168.0.12" -->
<h2>Source traced and logged</h2>
You are not allowed to access this site, your connection details have been logged.
<!--#endif -->
replace 192.168.0.12 with her ip and only she will see whatever message you put there.
IP Based Cloaking? Any hints on that one?
I had her blocked already, so she changed services, I still can block her, but this makes her feel that she is SO important + makes her check my site 20-50 times a day from somewhere else-
I just wanna poke fun at her with some pop up (java like) script. Now I cannot have my customers involved in this thus do not want to add anything in my code-
What ya all think?
DGirl ;)
I think I have to look in to what Oilman was talking about-one more thing to learn! Clocking is a mystery to me, so that is what I was asking about.
ErrorDocument 403 /goodbye/index.html
to .htaccess all denied IP's will be directed to /goodbye/index.html
Create a directory goodbye and add .htaccess to that directory with the following lines.
deny from all
allow from 222.222.222.222
All IP's will be blocked and still return a 403 error, except for the IP 222.222.222.222, in this example.
Create a webpage in goodbye directory and put what ever message you like there. Now if you want to be really nasty add to the webpage
<META HTTP-EQUIV="refresh" CONTENT="5; URL=http://222.222.222.222">
She will have 5 seconds to read your message before being redirected to her own IP address.
:) Thank ya! *evil grin* I love the redirect thing. Thanks so much again!
DGirl
Thanks :)
Can you help?? Again :-) Thank ya all
DG
.htaccess should work in any directory. There are two reasons why it may not work with your new hosting company.
1) If your site is hosted on a Microsoft/IIS server .htaccess will not work.
2) On an Apache web server, the hosting company has configured it to not allow the use of .htaccess
Thanks :-)
You sound like like a bright person, spend your resources in a more sane fashion.
Women ~ deadly creatures! :(
commander
go navy