Archive for January, 2009

Enable mod_rewrite in Ubuntu 8.04

Mod_rewrite is an apache module which enables rewriting of urls requested by client before the pages are fetched by apache. For example www.site.com/products.php?code=459 can be written as www.site.com/products/459 or www.site.com/products/459.html . The second url is re-written into the first one by mod_rewrite using rewrite rules specified in the .htaccess file.

Change column / field order in OpenOffice Base ( HSQL )

Altering the sequence of fields of a table was a feature I was looking for in OpenOffice Base. It is not directly possible to drag the columns or fields and alter their sequence.
A SQL workaround can do the same thing.

Apache for Multiple Users Linux – Ubuntu

When Apache is installed all web files go in he directory /var/www.
If there are multiple users on a system then every user can have his own web directory to store web files.
On Linux the following commands does that :