If I read correctly, you want to process static files using extesion pac, i.e. MyFile.pac from your virtual site.
Open IIS7 and go to your virtual site, in the function view, double-click the MIME types , then click "Add" .. and add the extension and the corresponding MIME type, for example, "text / plain".
This is an IIS way, but as you say, it can be done using a special static file handler.
(it is assumed that your static files have an extension with which they are not processed already, like many of them)
source
share