#Rewrite Engine einschalten RewriteEngine on #nur Pfade umleiten die keine Datei sind RewriteCond %{REQUEST_FILENAME} !-f #nur Pfade umleiten die kein Ordner sind RewriteCond %{REQUEST_FILENAME} !-d # alles an meine Datei weiterleiten. Von da kann man dan machen was man will... #Schema: path/$font/[$textColor/[$backgroundColor/]]$text[/img.png] #Beispiel: path/arial.ttf/00FFFF/FFFF00/Hallo+Welt #rewrite: path/font.php?font=arial.ttf&textColor=00FFFF&backgroundColor=FFFF00&text=Hallo+Welt #Beispiel: path/arial.ttf/00FFFF/Hallo+Welt/img.png #rewrite: path/font.php?font=arial.ttf&textColor=00FFFF&text=Hallo+Welt #Beispiel: path/arial.ttf/Hallo+Welt/img.png #rewrite: path/font.php?font=arial.ttf&text=Hallo+Welt RewriteRule ^([^\/]+)\/(?:([[:xdigit:]]{6})\/|)(?:([[:xdigit:]]{6})\/|)(?:(.*(?=\/img.png))|(.*)) font.php?font=$1&textColor=$2&backgroundColor=$3&text=$4$5 [L,QSA]