Igor Sysoev wrote: >location ~ ^/(galleries|poll|news)/ { Just did some further testing... In IE7: calling /galleries/ causes a 404 calling /galleries runs the script as expected In Firefox: calling /galleries/ causes a 404 calling /galleries gives a "Open with.../Save to disk" octet stream dialogue. Interesting...