IE ignoring hosts file

By , 18/08/2013 11:13

I switched from developing on a server to running development on my local computer as a part of my effort to better document and package the websites and their dependencies that I maintain. Therefor it also doesn’t make sense to maintain the DNS entries in my local server but instead I use the excellent Firefox add-on HostAdmin Host Editor.

I noticed however that IE was ignoring these entries in the hosts file for some reason. After some googling I stumbled into this blog post describing the solution which is to disable the “Automatically detect settings” check box in the IE options.

Flattr this!

Exim + GreyListing

By , 04/06/2013 21:00

I recently followed this excellent guide to implement GreyListing on my server. The hardest part was to get sqlite3 support activated in Exim. Since the software is managed through DirectAdmin you have to enable this in the custombuild Makefile.

Flattr this!

Load firmware on network boot

By , 07/04/2013 20:17

Have a look here if you have problems with slow network boot because the firmware is not available.

Flattr this!

NFS as root filesystem

By , 23/03/2013 23:21

If you have a NFS 4 server you need to specify that you want to use version 3 for the root system in your boot parameters.

LABEL ro
KERNEL path/to/kernel
APPEND ip=dhcp root=/dev/nfs nfsroot=:/path/to/root,nfsvers=3 init=/linuxrc

Flattr this!

Putty vs UTF-8 & Num-Lock

By , 23/03/2013 09:27

Whenever I used mc or another ncurses-based program on my Gentoo the output would show strange characters instead of the proper line drawing. Also, the numbers on the numpad didn’t work inside for example nano. The fix is in your default putty settings:

  • Window → Translation → Received data assumed to be in which character set: UTF-8
  • Window → Translation → Handling of line drawing characters: Use Unicode line drawing code points
  • Connection → Data → Terminal-type string: putty

I got this solution from here.

Flattr this!

Windows 7 GPO logon scripts

By , 24/02/2013 22:19

I had trouble with a logon script not working in a Windows 7 GPO object. The solution is described in this thread over at Microsoft forums. I list it here again for easy reference

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
EnableLinkedConnections = 1 (DWord)

Flattr this!

It moved again!

By , 16/10/2012 00:48

If you see this message it means you are getting this page from my new VPS hosting. I decided to forgo the Plesk control panel and now have a DirectAdmin powered setup. It also means that I cleaned up this blog and some spam comments. If you had a user registered, that’s gone too.

Flattr this!

Django admin change only classes in a fieldset

By , 09/08/2011 00:11

I’ve been playing around with Django lately and while I love the framework (and especially the admin interface) it does have some minor points. It might be because of my lack of understanding of the framework and/or Python but some stuff is hard to find. One problem I was faced with was that I wanted to use the .wide class that is provided by the admin to use in case the labels are to big and get overlapped by the form fields.

Continue reading 'Django admin change only classes in a fieldset'»

Flattr this!

Log analyzing behind reverse proxy

By , 14/07/2011 23:59

Plesk has AWStats built-in but since I use a reverse proxy on my server to redirect certain sites to separate virtual containers, the log files always showed the internal IP of my reverse proxy. mod_rpaf solved this issue. It looks for the X-Forwarded-For header added by the proxy and puts it back as the original IP.

Another solution would be to change the LogFormat of the plesklog lines to incorporate the header but experience in the past has learned me to leave Plesk alone for as much as possible.

Flattr this!

And we’re back…

By , 14/07/2011 22:34

After a hardware failure of my old server and reinstalling new hardware I hadn’t gotten around to reinstating this blog but now that I’m evaluating the Plesk control panel it’s back since this is a domain I can muck about with :-).

Flattr this!

Panorama Theme by Themocracy