Category Archives: Howto

How to pilot external processes’ stdin and stdout in real time using Ruby

I finally made it! Regarding my previous post about failing to pilot processes on Windows, I searched again and finally found a solution. [EDIT] I have bundled the solution I explain in this article in a nice gem that you … Continue reading

Howto, Ruby, Windows , , , , , , , , , , , , , ,

How to access a GIT repository over authenticated HTTP

Hi My second headache for today was brought by GIT. I have a simple Apache server providing a restricted access (basic HTTP authentication) on a GIT repository. From my local terminal, I just wanted to access the repository using: git … Continue reading

Git, Howto , , , , , , ,

How to make RewriteCond work with sub-directories needing HTTP authentication

I almost spent 10 minutes trying to figure out a title for this post, as the problem I stumbled upon today is not easy to describe 😉 In a basic Apache environment, I have a rewrite rule routing every incoming … Continue reading

Howto, Web development , , , , , , ,

How to install reCaptcha on your MediaWiki

Lately I just ran into heavy spamming among all my MediaWiki’s wikis. It first began with plain anonymous spamming (I wanted to leave anonymous editing available), then I forced account creation, then spammers were automating new account registrations before updating … Continue reading

Antispam, Howto, Web development , , , , ,

No more STATUS_ACCESS_VIOLATION on Cygwin under Windows7

I recently reinstalled Cygwin 1.7.9-1 on a Windows7 Ultimate edition (64bits), and like many many people, I ran into the problems of randomly thrown exceptions by xterm and alike processes. For example when starting xterm: When googling, some people seem … Continue reading

Cygwin, Howto , , , , , , , ,

How to make a customized Ruby on Rails server work on a hosted shared environment ?

Hi Some of my servers are hosted on Planethoster (shared environment). So far it has been a nice experience, except that their customer support’s technical competencies can vary a lot depending on who gets to help you there. Regarding their … Continue reading

Howto, Web development , , , , , , , , , ,

How to make Apache route all requests except some directories ?

Hi Some context might help: You have an Apache running environment, on which you are not root (therefore no access to the global Apache config). Typically the kind of hosted shared environment. You have full control on the files stored … Continue reading

Howto, Web development , , , , , , ,