Configuring IIS 6.0 to execute cgi(.exe)

橙三吉。 提交于 2019-12-21 02:46:21

问题


I already create a virtual directory (cgi-bin) with permission : Scripts and Executable... When I test : http://localhost/cgi-bin/mapserv.exe, I got 404 error, The page cannot be found

Am I supposed to Add a EXTENSION mapping to .exe files ? Which executable ?

Thanks!


回答1:


I solved that:

Go to Web Service Extensions in the IIS service manager Select Add a new web service extension. On the required files tab, add C:\YourMapserverInstalldir\mapserv.exe Set it to allow

Thanks anyway...




回答2:


Yes, you will have to create an application mapping between the file name extension of your script and the script interpreter. Check out this link.

Installing CGI Applications in IIS 6.0



来源:https://stackoverflow.com/questions/922234/configuring-iis-6-0-to-execute-cgi-exe

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!