Questions tagged [handler-mappings]
18 questions
10
votes
2 answers
apache2: Get a list of registered handlers
Is it possible, to get a list of all handlers from apache? With setHandler it is possible to create handlers.
One possible usage would be to add a handler for a specific file extension (addHandler). Knowing all the possible handlers and their…
![](../../users/profiles/53624.webp)
MaoPU
- 236
- 2
- 8
6
votes
3 answers
IIS 7 - Disable a handler mapping
I have a fresh install of IIS 7, and under the Handler Mappings, I see a section for Disabled mappings and a section for Enabled. I want to disable a bunch of extensions (cshtml, aspq, etc). That is, I want to "move" them from the Enabled section…
![](../../users/profiles/81459.webp)
anon
- 404
- 1
- 5
- 15
4
votes
3 answers
iis7 .net webservice 404 error
I have a webservice /test/Service1.asmx in the same folder as a page /test/test.aspx.
The page works fine but I get the message bellow for the services in the same location. I know the file is there and the url is correct, and I have added the…
![](../../users/profiles/11457.webp)
agilenoob
- 221
- 3
- 7
3
votes
1 answer
IIS Handler Mappings
Given multiple handler mappings are configured to handle a request, in IIS, what is the algorithm for determining which one is used to serve the response?
![](../../users/profiles/44000.webp)
frogstarr78
- 475
- 7
- 17
2
votes
1 answer
Handler mapping on IIS / OWIN /Nancy for a CSV file
I've an issue with IIS and OWIN/Nancy, here is the setup of our server :
Windows Server 2012 R2
IIS 8.5
OWIN with Nancy (middleware)
ASP.NET 4.5
Application developed in F#.
I want to download a .csv file with an URL like this…
![](../../users/profiles/263794.webp)
Denis
- 23
- 3
2
votes
0 answers
Is there any gain in removing old unused Handler Mappings in IIS 7?
I want to clean up my live server after removing a Classic ASP subset from a live web application.
Other than cleaning up configuration, is there any other gains from disabling unused mappings in IIS? I guess performance may be a little faster, but…
![](../../users/profiles/43327.webp)
digiguru
- 235
- 2
- 13
2
votes
2 answers
Setting a handler property in IIS7
In executing the following command with appcmd:
set config -section:system.webServer/handlers /"[name='FCGIEcho’,path='*.exe',verb='*']".ResponsebufferLimit:0
I get the error message:
ERROR ( message:Malformed collection indexer; format is…
![](../../users/profiles/28079.webp)
Mike Trader
- 179
- 1
- 5
- 19
2
votes
3 answers
Running php files on ISS 7 without the file extension
I'm moving a PHP app to my IIS 7 web server.
A lot of the files in the application are php files, but don't have the php extension (in fact they have no file extension). This works fine on the old Apache hosting, but I can't get it to work on IIS…
![](../../users/profiles/13226.webp)
Richard
- 272
- 3
- 18
1
vote
0 answers
.cs files being parsed on IIS 7
I have a C# script I'm trying to call via HTTP on IIS7. When I make a call to it, I get the following.
I am having an issue where I am trying to serve .cs files in iis 7 but I'm not sure what to use as a handler mapping? I have allowed the file to…
![](../../users/profiles/500473.webp)
Billy Lucas
- 11
- 1
1
vote
1 answer
Command Line net use mapped path without Drive letter doen't appear in Windows Explorer
I've searched extensively and have not found a post with the answer.
If you use Explorer to "Add Network Location", it will add that mapped path under the used drive letters area on the left without a drive letter.
Windows Explorer Mapping
Due to…
![](../../users/profiles/391640.webp)
Trezore
- 11
- 1
- 3
0
votes
1 answer
IIS 10 StaticFile handler impeding PHP custom verb for default document
I'm trying to enable IIS 10 to allow custom verbs in PHP. I have PHP_via_FastCGI enabled to accept all verbs. This works correctly when I specify the full path, inclusive of index.php at the end.
The issue is when I don't specify index.php in the…
![](../../users/profiles/448539.webp)
Mike
- 1
- 1
0
votes
1 answer
Add a PHP Handler to a website or even a folder only via AppCmd
I am trying to automatically deploy an IIS webserver (currently 8.5, will need to work it out all the way down to 7.5 as well), using AppCmd.exe
I am using PHP's FastCGI to handle requests.
I have configured the FastCGI pool on server level.
Now I…
![](../../users/profiles/165379.webp)
Worp
- 287
- 1
- 4
- 15
0
votes
1 answer
IIS6 wildcard mapping overriding regular mappings
Has anyone ever run into a problem where a wildcard mapping was overriding a standard mapping? Is this expected behavior? In my case I have my wildcard mapped to aspnet_isapi.dll for a cms application and then the .iirf extension mapped to the…
![](../../users/profiles/94663.webp)
Brian
- 1
0
votes
1 answer
Restrict uploaded file type and browser type to a specific folder in IIS 7
I'm trying to restrict a particular folder on my site to only allow certain files to be posted via mobile device.
We are exporting data and movies from iPhones and iPod touches, so I'd like to limit the browser user-agent type to Safari, as well.…
![](../../users/profiles/76297.webp)
tim m
- 1
- 1
0
votes
1 answer
Handler mappings feature not available on IIS7
I have installed IIS 7 on a Windows 2008 server and I need to enable the "Handler Mappings" feature on it.
I have already installed every single "role service" on IIS 7 but I can't seem to be able to enable the handler mappings.
Any hints?
![](../../users/profiles/45299.webp)
Pablo
- 123
- 5