Apache (mod_rewrite and .htaccess)

September 27th, 2009

There is something you need to think of in order to use mod_rewrite on an Apache webserver you migth encounter problems when when uploading your .htaccess file with your mod_rewrite directives:

403 Access Denied

Your need to add the following lines to you vhost configuration file.

<Directory "/home/www/web1/html">
AllowOverride All
Options +FollowSymLinks +SymLinksIfOwnerMatch
</Directory>

If you’re using confixx you better ass this to your httpd.conf file, because changes to the vhost configuration files will be overwritten by confixx.
After restarting the Apache webserver you can upload you .htaccess file containing your mod_rewrite directives e.g. as shown below.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

Using the Windows-Keys in Ubuntu

September 13th, 2009

Make use of the Windows keys in Ubuntu linux is fairly simple.

  1. Click on “System => Preferences => Keyboard”
  2. Choose tab “Layouts”
  3. Click on “Layout Options”
  4. Unfold “Alt/Win key behaviour”
  5. Select “Super is mapped to Win keys”

Following that you can use the Windows keys for keyboard short cuts.

  1. Click on “System => Preferences => Keyboard Shortcuts”
  2. Click e.g. on “Home folder” and assign “Windows key”+”e” to open the file manager like in Windows.

Ladies and gentlemen

September 13th, 2009

That blog was meant in the first place as an aide memoire to me. I’d like to note down thigs that strike me, problems I struggled to solve and things I was happy to learn.

As I doubt that all that only occurs to me, I’ll publish here all these thing to serve you as an example following:

Verba docenta, exempla trahunt.

Words can teach, examples carry away.

So far, I hope you enjoy that blog and I’d appreciate som feedback.