Welcome to WebmasterWorld Guest from 220.127.116.11
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?
It would take a little creative perl coding and possibly even cookies but it would be wild to see the look on her face :)
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.
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?
You can't really achieve what you are asking any other way :)
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 18.104.22.168
All IP's will be blocked and still return a 403 error, except for the IP 22.214.171.124, 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://126.96.36.199">
She will have 5 seconds to read your message before being redirected to her own IP address.
Can you help?? Again :-) Thank ya all
.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
You sound like like a bright person, spend your resources in a more sane fashion.
Women ~ deadly creatures! :(