I needed to convert a repository from SVN to GIT a while ago and created a little script to help move everything over. It works on standard SVN repositories so if you have one that is configured in a different manor to the default it may not work as expected.
Always make a backup, or better yet run this script on a copy of the repository. Use git svn
to clone the repository, then run the scrip…
Read more...
Its no secret that Apache is bloated, or that there are many decent replacements. Cherokee is one of them and a good one at that. I have been running Cherokee for a couple of years now without any issues, for both personal and client applications. One of the things that drew me to Cherokee was the GUI admin interface. GUI's may not be to every ones taste, but it beats sifting through config files…
Read more...
We started using Amazon AWS at work for hosting and I landed up being the server admin. I've been stuck in terminal for more than 3 weeks and not touched a line of code (apart from turning debug on after this move to make sure the cache was cleared) and one awesome bash backup script.
After building a monster development box on AWS to host git (new application), SVN (old application), gitweb, …
Read more...
For the most part, the www in a domain is pretty pointless. In general it's only there to make you type 4 extra characters to get to the site you want. It can also cause you a lot of pain trying to develop Ajax applications as I once found out.
There I was tying to get some Ajax working on a client site I was busy with only to be given some error about cross domain Ajax being disabled or not a…
Read more...
One thing that is asked quite a lot on #cakephp is how to use other apps alongside CakePHP, and the answer giving is normally pretty ugly. Stick the files/folders in side webroot/. Although that does work, its not very nice. So ill show you a little trick with .htaccess files.
The first (really simple way) is to use a .htaccess inside the sub folder. For example you can have a copy of Joomla! …
Read more...