Tell me more ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

The .dll files ain't the dynamic link library. That's what the client side software calls for (cannot change).

Its essentially a php script that should run and return specific values.

However currently it simply downloads it and that results in a failure.

That's what it results in on a Apache server:

[Update] NewVersion=1 UpdateFileNumber=1 UpdateFile1=update1/LPServerInfo.dat
ServerNumber=1 Server1=http://88.159.116.217/

here it is on IIS: 198.24.133.74:8080/update.dll?0

renaming it to php works fine for testing - it runs and returns values. I edited the MIME and set .dll to application/x-httpd-php but that doesn't seem to work in IIS.

Any solutions?

share|improve this question

closed as off topic by bybe, John Conde May 4 at 0:06

Questions on Webmasters Stack Exchange are expected to relate to webmastering within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

1 Answer

This can be configured in IIS with a Script Mapping. The path (file type *.dll) is mapped to ISAPI extensions and disabled by default in IIS 6 and 7. To process a dll as PHP in IIS 7, follow these steps:

  1. In IIS Manager, select your website

  2. Under the IIS heading, double-click Handler Mappings

  3. Click Add Script Map under Actions in the right pane

  4. Set Request Path to "*.dll"

  5. Set Executable to the path to your PHP executable

  6. Set any necessary Request Restrictions - in this case I would suggest limiting "Verbs" to GET

  7. Click OK

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.