I have a script named gallery.php the behaviour I am looking for is the following url: http://mysite.com/images/gallery/sample.jpg rewrite: http://mysite.com/images/gallery/gallery.php?src=sample&thumb= url: http://mysite.com/images/gallery/thumb/sample.jpg rewrite: http://mysite.com/images/gallery.php?src=sample&thumb=thumb So the gallery.php script when called with thumb=thumby fwarren - Migration from Other Servers