IIS6 disallows access to .PCF files

IIS6 disallows access to .PCF files

am 02.02.2007 20:11:18 von Brad Baker

We have some ".pcf" files we would like to store on our IIS6 server. However
when we go to access those files IIS generates a 404 error.

Upon investigating it seems like .PCF is some sort of Microsoft Commerce
Server configuration file. Unfortunately this same extension is used by
non-microsoft products as well. ;)

Since we aren't using our IIS6 server for Commerce Server but we do need to
store other files with the PCF extension on our webserver - how can we
unblock PCF files?

Thanks,
Brad

Re: IIS6 disallows access to .PCF files

am 02.02.2007 22:59:46 von David Wang

By default, IIS6 does not allow resources with unknown MIME-Type
mapping to be served as a static file download. This is for security
reasons. This same logic protects script files, like .asp and .aspx,
from being accidentally downloaded as source code if you turn off
Execute Permissions.

You will need to add the correct MIME-Type mapping for .pcf to allow
it to be download.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//


On Feb 2, 11:11 am, "Brad Baker" wrote:
> We have some ".pcf" files we would like to store on our IIS6 server. However
> when we go to access those files IIS generates a 404 error.
>
> Upon investigating it seems like .PCF is some sort of Microsoft Commerce
> Server configuration file. Unfortunately this same extension is used by
> non-microsoft products as well. ;)
>
> Since we aren't using our IIS6 server for Commerce Server but we do need to
> store other files with the PCF extension on our webserver - how can we
> unblock PCF files?
>
> Thanks,
> Brad

Re: IIS6 disallows access to .PCF files

am 02.02.2007 23:13:03 von Brad Baker

Beautiful - that's what I needed to know. Thanks so much for clueing me in
:)



Brad



"David Wang" wrote in message
news:1170453585.914355.178310@h3g2000cwc.googlegroups.com...
> By default, IIS6 does not allow resources with unknown MIME-Type
> mapping to be served as a static file download. This is for security
> reasons. This same logic protects script files, like .asp and .aspx,
> from being accidentally downloaded as source code if you turn off
> Execute Permissions.
>
> You will need to add the correct MIME-Type mapping for .pcf to allow
> it to be download.
>
>
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
>
>
> On Feb 2, 11:11 am, "Brad Baker" wrote:
>> We have some ".pcf" files we would like to store on our IIS6 server.
>> However
>> when we go to access those files IIS generates a 404 error.
>>
>> Upon investigating it seems like .PCF is some sort of Microsoft Commerce
>> Server configuration file. Unfortunately this same extension is used by
>> non-microsoft products as well. ;)
>>
>> Since we aren't using our IIS6 server for Commerce Server but we do need
>> to
>> store other files with the PCF extension on our webserver - how can we
>> unblock PCF files?
>>
>> Thanks,
>> Brad
>
>

Re: IIS6 disallows access to .PCF files

am 05.02.2007 04:55:36 von wjzhang

Hi Brad,

To manually add this MIME type:

In IIS mmc, right-click the server(computer icon) to open its properties.
Click the MIME type button, add the .pac and its MIME string as below:

Associated Extension: .pac
Content Type(MIME): application/x-ns-proxy-autoconfig

After this, please restart IIS service by running iisreset command and then
please test browsing to the pac in IE again.

If issue persists, please update here to let us know. Thanks.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

==================================================

Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:

http://msdn.microsoft.com/subscriptions/support/default.aspx .

==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.