Are you thinking of upgrading your current XP computer? The Windows Vista Upgrade Advisor is a small application that you can run on your current Windows XP-based computer to check if it’s ready for an upgrade to Windows Vista. Upgrade advisor is available at the Microsoft Upgrade.
Read the rest of this entry »
Is you PC Vista capable ?
Posted on September 6th, 2008 by graeinlerFiled under: Microsoft | No Comments »
How to block access to your website based on the IP address for MS hosting
Posted on June 14th, 2008 by graeinlerFiled under: Microsoft, tips - howto's, webhosting, websites | No Comments »
I use Windows for everyday computing generally because this is what I’ve been used. This doesn’t equate to me not being linux fanboy though. This said, I’m not, or will ever use or even suggest a Windows Server for a number of good reasons. This including the simple method of blocking an IP address to access your server. On linux, you can setup a script to dynamically add in the ip addresses to your .htaccess file. On windows this is quite cumbersome. The first method I have provided relies on SSI and Javascript to block the intruder (and in most cases those spam bots are not even using a browser). Nevertheless, if your on Windows the following scripts I have provided below should help you.
<script type=”text/javascript”>
‘var handleips=bannedips.join(”|”) handleips=new RegExp(handleips, “i”)
if (ip.search(handleips)!=-1){ alert(”Your IP has been banned from this site. Redirecting…”) window.location.replace(”http://www.google.com”) } // –>
This script relies on SSI (.shtml extension) in order to work. The ip addresses listed would then be redirected to the site you have provided. Note though that if the intruder disables JavaScript in the browser, the script will become futile.
Here is another asp script that you can use to block certain ip as well and the one which I prefer and would strongly suggest.
<%
EnableSessionState=False
ip = Request.ServerVariables(”REMOTE_HOST”)
if ip = “12.123.1234.123″ or host = “23.23.23.23″ then
response.redirect(”http://database-support.co.uk/access_deny.htm”)
else
response.redirect(”http://domain.com/test.html”)
end if
%>
Do you know of any other method? Please let me know.
Have fun.
Howto publish websites via FTP on Microsoft Frontpage
Posted on May 31st, 2008 by graeinlerFiled under: FTP, Microsoft, applications, tips - howto's, websites | No Comments »
Microsoft FrontPage has been outdated for a while now and replaced by Microsoft Expression Web 2. A number of good folks still use it though and have their websites even running on FPE! (FrontPage Extensions)
What makes things worse is that Microsoft have stopped development and support for FP leaving WebHosts no recourse but to drop FPE from their servers and leaving end-users with a broken website.
An option for them then is to:
If they opt to publish via ftp, this is possible as Microsoft FrontPage supports two methods of publishing files to the web server: HTTP POST and FTP though HTTP POST is the default publishing feature in Microsoft FrontPage (using the PUBLISH button), and the preferred method for uploading the Microsoft FrontPage created web site.
To use Microsoft FrontPage to upload a web via FTP, perform the following steps:
1. Open your web in Microsoft FrontPage Explorer
2. Click FILE -> PUBLISH WEB
3. Type in the destination FTP Server name in the location box in the form of:
ftp://ftp.yourdomain.com
4. Choose whether you wish to publish all pages, or only changed pages since your last publishing session
5. Click the PUBLISH button
6. Enter your FTP username and password when prompted
Hope this helps and let me know just about anything.
