IE6 transparent PNG fix with AlphaImageLoader

A CSS based workaround for the IE6 transparent PNG bug. Apply in an IE6 specifc style sheet.

background-image: none;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/icon.png');

This fix can only used in certain scenarios.

  • Will render links unclickable
  • Will cause form elements to be unfocusable
  • When applied to unordered/ordered lists, will hide the list item text

Symfony vhost configuration for Apache

An Apache virtual host configuration for a Symfony project.

<VirtualHost *:80>
  DocumentRoot "/path/to/your/site/web"
  DirectoryIndex index.php
  <Directory "/path/to/your/site/web">
    AllowOverride All
    Allow from All
  Alias /sf "/path/to/your/site/lib/vendor/symfony/data/web/sf"
  <Directory "/path/to/your/site/lib/vendor/symfony/data/web/sf">
    AllowOverride All
    Allow from All