イメージを構築する php スクリプトを作成しました。素敵な URL に htaccess を使用したいと考えています。
スクリプトは、いくつかの変数に応じてイメージを構築します。
例えば:
All options given
php url: image.php?width=300&height=400&color=red&var1=something&var2=somethingelse
nice url: image-w300-h400-cred-v1something-v2something.png
Few options given
php url: image.php?var1=something&color=black
nice url: image-v1something-cblack.png
すべての組み合わせに対して rewriteRule を作成する方法は知っていますが、それを自動化する方法はありませんか?