damn, new server: forgot to enable mod_rewrite

dont know if someone besides thilo noticed, but since i reinstalled my server (2 weeks ago) all the links in this blog (running wordpress) where broken.

wordpress uses an apache module called mod_rewrite to rewrite the url. so what u see in the adressbar in your browser is not like

www.batterslave.com/?p=9

but

www.batteryslave.com/2009/02/lixhot-boysmeisenfrei-log/

a bit more readable. but i forgot to enable the module. that is an easy step if you running a standard debian 4.0 linux on your server like i do. apache 2 comes with some little helper scripts for managing modules and sites. in my case the script a2enmod will do the job (# will symbolise my prompt):

# a2enmod rewrite

after that you call

# /etc/init.d/apache2 reload

so apache relaods the module and config. and we are ready to run.