-
Categories
-
Tags/Keywords
Apache bash blog blog.bigsmoke.us CLI CSS Debian DNS Firefox Gentoo Google HTML HTTP iptables Linux MediaWiki mod_rewrite MySQL openssl PHP plugin postfix RAID Ruby samba Screen shell Sicirec smb SSH ssl Subversion svn T61 thunderbird Ubuntu van der Molen VIM Windows WordPress WWW X xen XTerm zimbra -
Recent Posts
-
Recent Comments
Index
Apache rewrite rule to rewrite to sub dir
One one particular site, I wanted to rewrite all requests to a sub dir. It took me over an hour, because of some obscure problem I haven't been able to identify.
Read More »
Working with a postfix mail queue
Some useful commands when working with a postfix mailqueue:
"postsuper -r ALL". Requeues all messages.
"postcat [file]". Views queue files in /var/spool/bla.
"postqueue". Deal with queue.
Read More »
Rewrite rules to redirect to a temporary offline page
Sometimes you want to take a site offline for a while. You can put this in .htaccess or the vhost config:
Read More »
Enabling authentication and SSL for Postfix on Debian
I used this document as main source. This blogpost is also useful.
Read More »
Configuring thunderbird to put date of original message above quote
To put "on [date] x wrote" instead of "x wrote" above a quote, set the mailnews.reply_header_type param to 2.
Read More »Preventing IOerror on stdout with modWSGI
By default, you can't use prints in a django app, because mod_wsgi restricts that. You can change that by putting this in your configuration:
Read More »
Changing an apache virtual host to ssl
To change a virtual host in apache to ssl:
#Redirect all normal traffic to the https site.
RewriteEngine on
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [L,R]
Read More »
