replaced AddHandler by AddType to avoid double extensions like ".php.jpg"