Author Archives: admin - Page 7

X-Robots-Tag in headers – fine grained crawlers control in apache

xrobotsI was asked to implement X-Robots-tag on one of our dedicated servers the other day.
This google document explains in the great details what it does and how it influences your site presentation on the search engine.
Read more »

Django on cpanel server for shared web hosting

django congrats on successful install

django congrats on successful install


I had a customer request to install Django on cpanel server shared account the other day – took me some time to get it going, mostly because of easyapache not willing to play nice.
Other then that, Jimmy’s blog entry here provides excellent instructions on how to configure it, the only difference being that his cpanel server already had mod_fcgid installed.
So, what I’ll do is just quick recap:
Things to do as root

  1. Make sure your apache had mod_fcgid compiled, if not – run easyapache script from SSH or from WHM web page and make sure mod_fcgid option checked
  2. Install easy_install script –
  3. Use easy_install to install a couple Python packages –
  4. Restart apache, make sure mod_fcgid is loaded

This is it – you can notify customer that he can do his django magic – all prerequisites are in place.

Wordpress: spambots mating season

wp-spamDid anyone notice how quadrupled number of spam comments during last week? I usually check Comments->SPAM folder on daily basis and where usually was about 3-8 comments a day now no less then 70.
It’s interesting and educating to observe how spamming technologies and tools evolve over time – just a few weeks ago there was a wave of spam comments masquerading as pingbacks from completely unrelated blogs, then (mostly from russian origins) spam comments containing couple of paragraphs of text from some text book, now almost every other spam comment contains url from gravatar.com site.
Thanks to the excellent anti-captcha plugin nobody ever sees these comments on my blog except me, in spam folder, and if a real person will decide to leave the comment he will not need to strain his vision trying to recognize graphical captcha (I hate it too).

Macbook Pro 2010 (A1278,MC374LL/274LL) RAM upgrade

mbproA week ago we’ve bought [amazon_link id=”B003GSLU3E” target=”_blank” ]MacBook Pro MC374LL/A 13.3″[/amazon_link] for my wife. I had 4Gb SO-DIMM lying around – leftover from my unsuccessfull attempt to stuff HP Mini 311 with 5GB ram, so I decided to bump Macbook RAM to 6Gb.

As it turned out this is not your regular Macbook Pro – “just press the tab on the bottom to unlock battery cover…”

Since I couldn’t find any instructions on the web I decided to try it myself and put together short instruction.
Read more »