Archive | Linux RSS feed for this section

ImportError: No module named pysqlite2

Currently my favorite web app environment includes:

CentOS 5.5
Python 2.6 (built from source)
Pylons 1.0 (w/ SQLAlchemy 0.5.8)
nginx

Whenever I setup a new environment, and execute “paster serve –reload development.ini” for the first time, I always get a stack trace from SQLAlchemy that ends with the following error message:

ImportError: No module named pysqlite2

And it always takes me a [...]

Using Linux to Get Internet Access on your Verizon Phone for Free

I recently dumped Sprint for Verizon because Sprint provides such shoddy reception in my area. When researching phones online, I came across a few mentions on how to get free Internet access on some of the models. However, because the suggestions included routing through public proxies, I opted not to do it. However, finally purchasing [...]

Using Apache’s mod_speling to catch unneded 404 erorrs caused by mispelligns

(This article is Part 2 in a series about Apache’s loadable modules. The previous topic was mod_ext_filter).
As former Microsoft-ite who made the leap to OSS, one of the things that took a little getting used to with Apache are that filenames are case-sensitive. While that’s long since been hammered into my soul, a great many [...]

Using Apache’s mod_ext_filter to automatically add watermarks to website images

I recently discussed mod_ext_filter, a loadable module used with Apache. It allows you to easily process your content through an external program before it’s passed onto the user’s web browser. I mentioned using mod_ext_filter as a way to automatically add watermarks to images on a website. After receiving a bit of interest in how to [...]

mod_ext_filter: mod_rewrite’s red-headed step sister.

Almost every experienced web developer who works with Apache is at least vaguely familar with mod_rewrite. It’s most frequently used to reformat ugly URLs containing a lot of query values into a nice, search-engine friendly URL. Implementing mod_rewrite is generally one of the first steps to a SEO overhaul on a website with a lot [...]