<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.2" -->
<rss version="0.92">
<channel>
	<title>Escene</title>
	<link>http://www.escene.co.nz</link>
	<description>Web Development and Design</description>
	<lastBuildDate>Mon, 29 Mar 2010 23:03:00 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>htaccess file to help prevent sql injection attempts</title>
		<description><![CDATA[I use the text below in a .htaccess file to help prevent sql injection attacks that seem to crop up from time to time.
This will look for common attack methods and redirect them to a page called hack.cfm which I will commonly just leave as a blank page while recording the type of attack.
RewriteEngine On
Options [...]]]></description>
		<link>http://www.escene.co.nz/?p=29</link>
			</item>
	<item>
		<title>Backup FTP/SFTP settings in Aptana/Coldfusion Builder</title>
		<description><![CDATA[I have had a problem with Aptana in the past and also with Coldfusion Builder now (it appears to use Aptana used under the hood). The problem is if Eclipse/Computer freezes up and you have to restart the computer with Eclipse still open. This process seems to corrupt the workspace and you tend to lose [...]]]></description>
		<link>http://www.escene.co.nz/?p=28</link>
			</item>
	<item>
		<title>Changing the user of Coldfusion on Linux</title>
		<description><![CDATA[I made the mistake of setting up Coldfusion 8 on a linux system (centOS) with the user set as &#8216;nobody&#8217;. This proved to be a big mistake when it came to using tags like cffile to write to the filesystem. I had a hunt around for some info on how to do this with Adobe [...]]]></description>
		<link>http://www.escene.co.nz/?p=27</link>
			</item>
	<item>
		<title>Forbidden 403 Error after installing phpMyAdmin</title>
		<description><![CDATA[After I had installed phpMyAdmin (in my case centos, using YUM) I received a 403 forbidden error. By default phpmyadmin installed path is /usr/share/phpmyadmin and the apache configuration file is located in /etc/httpd/conf.d/phpmyadmin.conf.
To fix:
vi /etc/httpd/conf.d/phpmyadmin.conf
Remove or comment these lines
#Order Allow,Deny#Deny from allAllow from 127.0.0.1
Restart the apache server.
/etc/init.d/httpd restart
You should be able to see phpmyadmin working [...]]]></description>
		<link>http://www.escene.co.nz/?p=26</link>
			</item>
	<item>
		<title>Resizing a Amazon EBS Volume</title>
		<description><![CDATA[I struggled to find the answer to resizing an existing Amazon Elastic Block Store Volume.
Here is how I resolved this
1. Created a snapshot of the existing volume (log into Amazons Console for this https://console.aws.amazon.com)
2. Create a new volume based on the snapshot
3. Attach this new volume to my Amazon Instance (after detaching the other volume)
4. [...]]]></description>
		<link>http://www.escene.co.nz/?p=25</link>
			</item>
	<item>
		<title>Arrow and delete keys not working in VMWare on Ubuntu</title>
		<description><![CDATA[Browse to the hidden directory inside your home directory
.vmware
then create the following file
config
and copy the following info into the file
xkeymap.keycode.108 = 0&#215;138 # Alt_Rxkeymap.keycode.106 = 0&#215;135 # KP_Dividexkeymap.keycode.104 = 0&#215;11c # KP_Enterxkeymap.keycode.111 = 0&#215;148 # Upxkeymap.keycode.116 = 0&#215;150 # Downxkeymap.keycode.113 = 0&#215;14b # Leftxkeymap.keycode.114 = 0&#215;14d # Rightxkeymap.keycode.105 = 0&#215;11d # Control_Rxkeymap.keycode.118 = 0&#215;152 # [...]]]></description>
		<link>http://www.escene.co.nz/?p=24</link>
			</item>
	<item>
		<title>Subclipse and Eclipse on Ubuntu</title>
		<description><![CDATA[Install libsvn-java
The package libsvn-java contains JavaHL. 
Install libsvn-java by typing the following into a command line:
sudo  apt-get install libsvn-java
then make sure you add the following to your Eclipse launcher parameters (ie add it to the end of the shortcut to eclipse):
-vmargs -Djava.library.path=/usr/lib/jni
Restart Eclipse.
]]></description>
		<link>http://www.escene.co.nz/?p=23</link>
			</item>
	<item>
		<title>Adding a Column to JSON using Coldfusion8</title>
		<description><![CDATA[I use Spry to output a lot of queries that I use in my projects.
So I call my coldfusion function from Spry
var ts = new Date();var spry_ContactList = newSpry.Data.JSONDataSet(&#8220;module_contacts.cfc?method=qry_ContactsList &#038;returnFormat=json&#038; queryFormat=column&#038;TS=&#8221; + ts.toString(),{path:&#8221;DATA&#8221;, pathIsObjectOfArrays:true});
There are a couple of things to note here, first of I am using Coldfusion 8&#8217;s new returnFormat=json to return the query [...]]]></description>
		<link>http://www.escene.co.nz/?p=22</link>
			</item>
	<item>
		<title>Change the Date and Timezone in Centos</title>
		<description><![CDATA[Log into your server then retrieve the current date and timezone by typing in
date
all timezone information is stored at /usr/share/zoneinfo you can browse to this by typing
cd /usr/share/zoneinfo
you should see a list of all the available timezones including folders for countries which have multiple time zones eg. America
so to change the time zone just enter [...]]]></description>
		<link>http://www.escene.co.nz/?p=21</link>
			</item>
	<item>
		<title>Setting up VSFTPD</title>
		<description><![CDATA[The virtual machine I used was a centos 5 linux distribution, I then installed VSFTP
1. Install VSFTPD 
[root@localhost]# yum install vsftpd
2. Make sure vsftpd starts on bootup 
[root@localhost]# chkconfig vsftpd on
3. Switch of anonymous ftp access
[root@localhost]# vi /etc/vsftpd/vsftpd.conf
then change the line to
anonymous_enable=no
4. You can change the greeting you see when you connect to the ftp [...]]]></description>
		<link>http://www.escene.co.nz/?p=20</link>
			</item>
</channel>
</rss>
