Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

IIS6 filters URLs?

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  web site cannot be accessed  
Author Message
user969

External


Since: Oct 15, 2003
Posts: 4



(Msg. 1) Posted: Wed Oct 22, 2003 1:42 pm
Post subject: IIS6 filters URLs?
Archived from groups: microsoft>public>inetserver>iis (more info?)

Since upgrading from IIS5 to IIS6, any websites which contain a /bin
directory no longer function, any file in the /bin directory cannot be
retrieved, a 404 is returned. I guess this is IIS6 blocking requests to
download files in a directory with that name in order to provide a level of
protection for ASP.NET applications. However these are not ASP.NET web sites
and so I would prefer them to work properly. Is there a workaround?

Also, is there a workaround for the problem described in:
http://support.microsoft.com/default.aspx?scid=kb;en-us;275601

When execute permissions are granted on a directory? I would like to allow
..exe files in a site to be executed but still allow files contained in a
directory of the form domainname.com to be downloaded.

Many thanks in advance.

 >> Stay informed about: IIS6 filters URLs? 
Back to top
Login to vote
user641

External


Since: Aug 22, 2003
Posts: 1637



(Msg. 2) Posted: Wed Oct 22, 2003 1:42 pm
Post subject: Re: IIS6 filters URLs? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Daniel Conlon" <dan at donhost dot co dot uk> wrote in message
news:3f96511d$1@news.gemsoft.net...
 > Since upgrading from IIS5 to IIS6, any websites which contain a /bin
 > directory no longer function, any file in the /bin directory cannot be
 > retrieved, a 404 is returned. I guess this is IIS6 blocking requests to
 > download files in a directory with that name in order to provide a level
of
 > protection for ASP.NET applications. However these are not ASP.NET web
sites
 > and so I would prefer them to work properly. Is there a workaround?

I have confirmed this behavior. I'll try to figure out what causes it.

 > Also, is there a workaround for the problem described in:
<font color=purple> > <a style='text-decoration: underline;' href="http://support.microsoft.com/default.aspx?scid=kb;en-us;275601</font" target="_blank">http://support.microsoft.com/default.aspx?scid=kb;en-us;275601</font</a>>
 >
 > When execute permissions are granted on a directory? I would like to allow
 > .exe files in a site to be executed but still allow files contained in a
 > directory of the form domainname.com to be downloaded.

IIS simply isn't going to allow you to use folders with executable
extensions in the folder name.

--
Tom Kaminski IIS MVP
<a style='text-decoration: underline;' href="http://www.iistoolshed.com/" target="_blank">http://www.iistoolshed.com/</a> - tools, scripts, and utilities for running IIS
<a style='text-decoration: underline;' href="http://mvp.support.microsoft.com/" target="_blank">http://mvp.support.microsoft.com/</a>
<a style='text-decoration: underline;' href="http://www.microsoft.com/windowsserver2003/community/centers/iis/" target="_blank">http://www.microsoft.com/windowsserver2003/community/centers/iis/</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: IIS6 filters URLs? 
Back to top
Login to vote
qbernard

External


Since: Sep 05, 2003
Posts: 407



(Msg. 3) Posted: Wed Oct 22, 2003 11:16 pm
Post subject: Re: IIS6 filters URLs? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Check out the IIS log file, log at the sub status code.
now - what file extension is to be downloaded ?

try -
IIS 6.0 Does Not Serve Unknown MIME Types
<a style='text-decoration: underline;' href="http://support.microsoft.com/?id=326965" target="_blank">http://support.microsoft.com/?id=326965</a>

--
Regards,
Bernard Cheah
<a style='text-decoration: underline;' href="http://support.microsoft.com/" target="_blank">http://support.microsoft.com/</a>
Please respond to newsgroups only ...



"Daniel Conlon" <dan at donhost dot co dot uk> wrote in message
news:3f96511d$1@news.gemsoft.net...
 > Since upgrading from IIS5 to IIS6, any websites which contain a /bin
 > directory no longer function, any file in the /bin directory cannot be
 > retrieved, a 404 is returned. I guess this is IIS6 blocking requests to
 > download files in a directory with that name in order to provide a level
of
 > protection for ASP.NET applications. However these are not ASP.NET web
sites
 > and so I would prefer them to work properly. Is there a workaround?
 >
 > Also, is there a workaround for the problem described in:
<font color=purple> > <a style='text-decoration: underline;' href="http://support.microsoft.com/default.aspx?scid=kb;en-us;275601</font" target="_blank">http://support.microsoft.com/default.aspx?scid=kb;en-us;275601</font</a>>
 >
 > When execute permissions are granted on a directory? I would like to allow
 > .exe files in a site to be executed but still allow files contained in a
 > directory of the form domainname.com to be downloaded.
 >
 > Many thanks in advance.
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS6 filters URLs? 
Back to top
Login to vote
user641

External


Since: Aug 22, 2003
Posts: 1637



(Msg. 4) Posted: Wed Oct 22, 2003 11:16 pm
Post subject: Re: IIS6 filters URLs? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

It's actually generating a 404 in the log. I tested with a simple
<a style='text-decoration: underline;' href="http://myserver/bin/test.htm," target="_blank">http://myserver/bin/test.htm,</a> so it's not a matter of an unknown mime-type
.... : )

--
Tom Kaminski IIS MVP
<a style='text-decoration: underline;' href="http://www.iistoolshed.com/" target="_blank">http://www.iistoolshed.com/</a> - tools, scripts, and utilities for running IIS
<a style='text-decoration: underline;' href="http://mvp.support.microsoft.com/" target="_blank">http://mvp.support.microsoft.com/</a>
<a style='text-decoration: underline;' href="http://www.microsoft.com/windowsserver2003/community/centers/iis/" target="_blank">http://www.microsoft.com/windowsserver2003/community/centers/iis/</a>

"Bernard" <qbernard.RemoveThis@hotmail.com> wrote in message
news:%238TxQfJmDHA.1800@TK2MSFTNGP10.phx.gbl...
 > Check out the IIS log file, log at the sub status code.
 > now - what file extension is to be downloaded ?
 >
 > try -
 > IIS 6.0 Does Not Serve Unknown MIME Types
<font color=purple> > <a style='text-decoration: underline;' href="http://support.microsoft.com/?id=326965</font" target="_blank">http://support.microsoft.com/?id=326965</font</a>>
 >
 > --
 > Regards,
 > Bernard Cheah
<font color=purple> > <a style='text-decoration: underline;' href="http://support.microsoft.com/</font" target="_blank">http://support.microsoft.com/</font</a>>
 > Please respond to newsgroups only ...
 >
 >
 >
 > "Daniel Conlon" <dan at donhost dot co dot uk> wrote in message
 > news:3f96511d$1@news.gemsoft.net...
  > > Since upgrading from IIS5 to IIS6, any websites which contain a /bin
  > > directory no longer function, any file in the /bin directory cannot be
  > > retrieved, a 404 is returned. I guess this is IIS6 blocking requests to
  > > download files in a directory with that name in order to provide a level
 > of
  > > protection for ASP.NET applications. However these are not ASP.NET web
 > sites
  > > and so I would prefer them to work properly. Is there a workaround?
  > >
  > > Also, is there a workaround for the problem described in:
<font color=green>  > > <a style='text-decoration: underline;' href="http://support.microsoft.com/default.aspx?scid=kb;en-us;275601</font" target="_blank">http://support.microsoft.com/default.aspx?scid=kb;en-us;275601</font</a>>
  > >
  > > When execute permissions are granted on a directory? I would like to
allow
  > > .exe files in a site to be executed but still allow files contained in a
  > > directory of the form domainname.com to be downloaded.
  > >
  > > Many thanks in advance.
  > >
  > >
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS6 filters URLs? 
Back to top
Login to vote
qbernard

External


Since: Sep 05, 2003
Posts: 407



(Msg. 5) Posted: Thu Oct 23, 2003 12:37 am
Post subject: Re: IIS6 filters URLs? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Yes. just tested. win32 status is 2. file/path not found.

Thanks for the info.

--
Regards,
Bernard Cheah
<a style='text-decoration: underline;' href="http://support.microsoft.com/" target="_blank">http://support.microsoft.com/</a>
Please respond to newsgroups only ...



"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
news:bn5tk6$2l311@kcweb01.netnews.att.com...
 > It's actually generating a 404 in the log. I tested with a simple
 > <a style='text-decoration: underline;' href="http://myserver/bin/test.htm," target="_blank">http://myserver/bin/test.htm,</a> so it's not a matter of an unknown mime-type
 > ... : )
 >
 > --
 > Tom Kaminski IIS MVP
 > <a style='text-decoration: underline;' href="http://www.iistoolshed.com/" target="_blank">http://www.iistoolshed.com/</a> - tools, scripts, and utilities for running
IIS
<font color=purple> > <a style='text-decoration: underline;' href="http://mvp.support.microsoft.com/</font" target="_blank">http://mvp.support.microsoft.com/</font</a>>
<font color=purple> > <a style='text-decoration: underline;' href="http://www.microsoft.com/windowsserver2003/community/centers/iis/</font" target="_blank">http://www.microsoft.com/windowsserver2003/community/centers/iis/</font</a>>
 >
 > "Bernard" <qbernard RemoveThis @hotmail.com> wrote in message
 > news:%238TxQfJmDHA.1800@TK2MSFTNGP10.phx.gbl...
  > > Check out the IIS log file, log at the sub status code.
  > > now - what file extension is to be downloaded ?
  > >
  > > try -
  > > IIS 6.0 Does Not Serve Unknown MIME Types
<font color=green>  > > <a style='text-decoration: underline;' href="http://support.microsoft.com/?id=326965</font" target="_blank">http://support.microsoft.com/?id=326965</font</a>>
  > >
  > > --
  > > Regards,
  > > Bernard Cheah
<font color=green>  > > <a style='text-decoration: underline;' href="http://support.microsoft.com/</font" target="_blank">http://support.microsoft.com/</font</a>>
  > > Please respond to newsgroups only ...
  > >
  > >
  > >
  > > "Daniel Conlon" <dan at donhost dot co dot uk> wrote in message
  > > news:3f96511d$1@news.gemsoft.net...
   > > > Since upgrading from IIS5 to IIS6, any websites which contain a /bin
   > > > directory no longer function, any file in the /bin directory cannot be
   > > > retrieved, a 404 is returned. I guess this is IIS6 blocking requests
to
   > > > download files in a directory with that name in order to provide a
level
  > > of
   > > > protection for ASP.NET applications. However these are not ASP.NET web
  > > sites
   > > > and so I would prefer them to work properly. Is there a workaround?
   > > >
   > > > Also, is there a workaround for the problem described in:
<font color=brown>   > > > <a style='text-decoration: underline;' href="http://support.microsoft.com/default.aspx?scid=kb;en-us;275601</font" target="_blank">http://support.microsoft.com/default.aspx?scid=kb;en-us;275601</font</a>>
   > > >
   > > > When execute permissions are granted on a directory? I would like to
 > allow
   > > > .exe files in a site to be executed but still allow files contained in
a
   > > > directory of the form domainname.com to be downloaded.
   > > >
   > > > Many thanks in advance.
   > > >
   > > >
  > >
  > >
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS6 filters URLs? 
Back to top
Login to vote
wadeh

External


Since: Sep 03, 2003
Posts: 115



(Msg. 6) Posted: Thu Oct 23, 2003 12:37 am
Post subject: Re: IIS6 filters URLs? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi All,

This is not actually "IIS6 blocking requests to download files in a
directory with that name." It's actually ASP.NET itself that's blocking the
requests with its filter.

I don't know enough about ASP.NET to know how configurable this feature is.
It would be a good question to ask on an ASP.NET dedicated newsgroup.

Thank you,
-Wade A. Hilmo,
-Microsoft

"Bernard" <qbernard DeleteThis @hotmail.com> wrote in message
news:OODLUGKmDHA.1672@TK2MSFTNGP09.phx.gbl...
 > Yes. just tested. win32 status is 2. file/path not found.
 >
 > Thanks for the info.
 >
 > --
 > Regards,
 > Bernard Cheah
<font color=purple> > <a style='text-decoration: underline;' href="http://support.microsoft.com/</font" target="_blank">http://support.microsoft.com/</font</a>>
 > Please respond to newsgroups only ...
 >
 >
 >
 > "Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
 > news:bn5tk6$2l311@kcweb01.netnews.att.com...
  > > It's actually generating a 404 in the log. I tested with a simple
  > > <a style='text-decoration: underline;' href="http://myserver/bin/test.htm," target="_blank">http://myserver/bin/test.htm,</a> so it's not a matter of an unknown
mime-type
  > > ... : )
  > >
  > > --
  > > Tom Kaminski IIS MVP
  > > <a style='text-decoration: underline;' href="http://www.iistoolshed.com/" target="_blank">http://www.iistoolshed.com/</a> - tools, scripts, and utilities for running
 > IIS
<font color=green>  > > <a style='text-decoration: underline;' href="http://mvp.support.microsoft.com/</font" target="_blank">http://mvp.support.microsoft.com/</font</a>>
<font color=green>  > > <a style='text-decoration: underline;' href="http://www.microsoft.com/windowsserver2003/community/centers/iis/</font" target="_blank">http://www.microsoft.com/windowsserver2003/community/centers/iis/</font</a>>
  > >
  > > "Bernard" <qbernard DeleteThis @hotmail.com> wrote in message
  > > news:%238TxQfJmDHA.1800@TK2MSFTNGP10.phx.gbl...
   > > > Check out the IIS log file, log at the sub status code.
   > > > now - what file extension is to be downloaded ?
   > > >
   > > > try -
   > > > IIS 6.0 Does Not Serve Unknown MIME Types
<font color=brown>   > > > <a style='text-decoration: underline;' href="http://support.microsoft.com/?id=326965</font" target="_blank">http://support.microsoft.com/?id=326965</font</a>>
   > > >
   > > > --
   > > > Regards,
   > > > Bernard Cheah
<font color=brown>   > > > <a style='text-decoration: underline;' href="http://support.microsoft.com/</font" target="_blank">http://support.microsoft.com/</font</a>>
   > > > Please respond to newsgroups only ...
   > > >
   > > >
   > > >
   > > > "Daniel Conlon" <dan at donhost dot co dot uk> wrote in message
   > > > news:3f96511d$1@news.gemsoft.net...
   > > > > Since upgrading from IIS5 to IIS6, any websites which contain a /bin
   > > > > directory no longer function, any file in the /bin directory cannot
be
   > > > > retrieved, a 404 is returned. I guess this is IIS6 blocking requests
 > to
   > > > > download files in a directory with that name in order to provide a
 > level
   > > > of
   > > > > protection for ASP.NET applications. However these are not ASP.NET
web
   > > > sites
   > > > > and so I would prefer them to work properly. Is there a workaround?
   > > > >
   > > > > Also, is there a workaround for the problem described in:
<font color=brown>   > > > > <a style='text-decoration: underline;' href="http://support.microsoft.com/default.aspx?scid=kb;en-us;275601</font" target="_blank">http://support.microsoft.com/default.aspx?scid=kb;en-us;275601</font</a>>
   > > > >
   > > > > When execute permissions are granted on a directory? I would like to
  > > allow
   > > > > .exe files in a site to be executed but still allow files contained
in
 > a
   > > > > directory of the form domainname.com to be downloaded.
   > > > >
   > > > > Many thanks in advance.
   > > > >
   > > > >
   > > >
   > > >
  > >
  > >
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS6 filters URLs? 
Back to top
Login to vote
user641

External


Since: Aug 22, 2003
Posts: 1637



(Msg. 7) Posted: Thu Oct 23, 2003 12:37 am
Post subject: Re: IIS6 filters URLs? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Wade - FWIW, I'm not seeing this behavior on W2K/IIS5 with .NET 1.1
installed.


"Wade A. Hilmo [MS]" <wadeh.RemoveThis@microsoft.com> wrote in message
news:%23cz1McKmDHA.644@TK2MSFTNGP11.phx.gbl...
 > Hi All,
 >
 > This is not actually "IIS6 blocking requests to download files in a
 > directory with that name." It's actually ASP.NET itself that's blocking
the
 > requests with its filter.
 >
 > I don't know enough about ASP.NET to know how configurable this feature
is.
 > It would be a good question to ask on an ASP.NET dedicated newsgroup.
 >
 > Thank you,
 > -Wade A. Hilmo,
 > -Microsoft
 >
 > "Bernard" <qbernard.RemoveThis@hotmail.com> wrote in message
 > news:OODLUGKmDHA.1672@TK2MSFTNGP09.phx.gbl...
  > > Yes. just tested. win32 status is 2. file/path not found.
  > >
  > > Thanks for the info.
  > >
  > > --
  > > Regards,
  > > Bernard Cheah
<font color=green>  > > <a style='text-decoration: underline;' href="http://support.microsoft.com/</font" target="_blank">http://support.microsoft.com/</font</a>>
  > > Please respond to newsgroups only ...
  > >
  > >
  > >
  > > "Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
  > > news:bn5tk6$2l311@kcweb01.netnews.att.com...
   > > > It's actually generating a 404 in the log. I tested with a simple
   > > > <a style='text-decoration: underline;' href="http://myserver/bin/test.htm," target="_blank">http://myserver/bin/test.htm,</a> so it's not a matter of an unknown
 > mime-type
   > > > ... : )
   > > >
   > > > --
   > > > Tom Kaminski IIS MVP
   > > > <a style='text-decoration: underline;' href="http://www.iistoolshed.com/" target="_blank">http://www.iistoolshed.com/</a> - tools, scripts, and utilities for
running
  > > IIS
<font color=brown>   > > > <a style='text-decoration: underline;' href="http://mvp.support.microsoft.com/</font" target="_blank">http://mvp.support.microsoft.com/</font</a>>
<font color=brown>   > > > <a style='text-decoration: underline;' href="http://www.microsoft.com/windowsserver2003/community/centers/iis/</font" target="_blank">http://www.microsoft.com/windowsserver2003/community/centers/iis/</font</a>>
   > > >
   > > > "Bernard" <qbernard.RemoveThis@hotmail.com> wrote in message
   > > > news:%238TxQfJmDHA.1800@TK2MSFTNGP10.phx.gbl...
   > > > > Check out the IIS log file, log at the sub status code.
   > > > > now - what file extension is to be downloaded ?
   > > > >
   > > > > try -
   > > > > IIS 6.0 Does Not Serve Unknown MIME Types
<font color=brown>   > > > > <a style='text-decoration: underline;' href="http://support.microsoft.com/?id=326965</font" target="_blank">http://support.microsoft.com/?id=326965</font</a>>
   > > > >
   > > > > --
   > > > > Regards,
   > > > > Bernard Cheah
<font color=brown>   > > > > <a style='text-decoration: underline;' href="http://support.microsoft.com/</font" target="_blank">http://support.microsoft.com/</font</a>>
   > > > > Please respond to newsgroups only ...
   > > > >
   > > > >
   > > > >
   > > > > "Daniel Conlon" <dan at donhost dot co dot uk> wrote in message
   > > > > news:3f96511d$1@news.gemsoft.net...
   > > > > > Since upgrading from IIS5 to IIS6, any websites which contain a
/bin
   > > > > > directory no longer function, any file in the /bin directory
cannot
 > be
   > > > > > retrieved, a 404 is returned. I guess this is IIS6 blocking
requests
  > > to
   > > > > > download files in a directory with that name in order to provide a
  > > level
   > > > > of
   > > > > > protection for ASP.NET applications. However these are not ASP.NET
 > web
   > > > > sites
   > > > > > and so I would prefer them to work properly. Is there a
workaround?
   > > > > >
   > > > > > Also, is there a workaround for the problem described in:
<font color=brown>   > > > > > <a style='text-decoration: underline;' href="http://support.microsoft.com/default.aspx?scid=kb;en-us;275601</font" target="_blank">http://support.microsoft.com/default.aspx?scid=kb;en-us;275601</font</a>>
   > > > > >
   > > > > > When execute permissions are granted on a directory? I would like
to
   > > > allow
   > > > > > .exe files in a site to be executed but still allow files
contained
 > in
  > > a
   > > > > > directory of the form domainname.com to be downloaded.
   > > > > >
   > > > > > Many thanks in advance.
   > > > > >
   > > > > >
   > > > >
   > > > >
   > > >
   > > >
  > >
  > >
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS6 filters URLs? 
Back to top
Login to vote
qbernard

External


Since: Sep 05, 2003
Posts: 407



(Msg. 8) Posted: Thu Oct 23, 2003 2:15 am
Post subject: Re: IIS6 filters URLs? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Now I remembered that such access /bin/ is prohibited
with asp.net and it's actually at filter level. I remove the filter
and restart entire IIS services, IIS will serve the folder right away.

Will try to ping aspnet group.. thanks.

--
Regards,
Bernard Cheah
<a style='text-decoration: underline;' href="http://support.microsoft.com/" target="_blank">http://support.microsoft.com/</a>
Please respond to newsgroups only ...



"Wade A. Hilmo [MS]" <wadeh DeleteThis @microsoft.com> wrote in message
news:#cz1McKmDHA.644@TK2MSFTNGP11.phx.gbl...
 > Hi All,
 >
 > This is not actually "IIS6 blocking requests to download files in a
 > directory with that name." It's actually ASP.NET itself that's blocking
the
 > requests with its filter.
 >
 > I don't know enough about ASP.NET to know how configurable this feature
is.
 > It would be a good question to ask on an ASP.NET dedicated newsgroup.
 >
 > Thank you,
 > -Wade A. Hilmo,
 > -Microsoft
 >
 > "Bernard" <qbernard DeleteThis @hotmail.com> wrote in message
 > news:OODLUGKmDHA.1672@TK2MSFTNGP09.phx.gbl...
  > > Yes. just tested. win32 status is 2. file/path not found.
  > >
  > > Thanks for the info.
  > >
  > > --
  > > Regards,
  > > Bernard Cheah
<font color=green>  > > <a style='text-decoration: underline;' href="http://support.microsoft.com/</font" target="_blank">http://support.microsoft.com/</font</a>>
  > > Please respond to newsgroups only ...
  > >
  > >
  > >
  > > "Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
  > > news:bn5tk6$2l311@kcweb01.netnews.att.com...
   > > > It's actually generating a 404 in the log. I tested with a simple
   > > > <a style='text-decoration: underline;' href="http://myserver/bin/test.htm," target="_blank">http://myserver/bin/test.htm,</a> so it's not a matter of an unknown
 > mime-type
   > > > ... : )
   > > >
   > > > --
   > > > Tom Kaminski IIS MVP
   > > > <a style='text-decoration: underline;' href="http://www.iistoolshed.com/" target="_blank">http://www.iistoolshed.com/</a> - tools, scripts, and utilities for
running
  > > IIS
<font color=brown>   > > > <a style='text-decoration: underline;' href="http://mvp.support.microsoft.com/</font" target="_blank">http://mvp.support.microsoft.com/</font</a>>
<font color=brown>   > > > <a style='text-decoration: underline;' href="http://www.microsoft.com/windowsserver2003/community/centers/iis/</font" target="_blank">http://www.microsoft.com/windowsserver2003/community/centers/iis/</font</a>>
   > > >
   > > > "Bernard" <qbernard DeleteThis @hotmail.com> wrote in message
   > > > news:%238TxQfJmDHA.1800@TK2MSFTNGP10.phx.gbl...
   > > > > Check out the IIS log file, log at the sub status code.
   > > > > now - what file extension is to be downloaded ?
   > > > >
   > > > > try -
   > > > > IIS 6.0 Does Not Serve Unknown MIME Types
<font color=brown>   > > > > <a style='text-decoration: underline;' href="http://support.microsoft.com/?id=326965</font" target="_blank">http://support.microsoft.com/?id=326965</font</a>>
   > > > >
   > > > > --
   > > > > Regards,
   > > > > Bernard Cheah
<font color=brown>   > > > > <a style='text-decoration: underline;' href="http://support.microsoft.com/</font" target="_blank">http://support.microsoft.com/</font</a>>
   > > > > Please respond to newsgroups only ...
   > > > >
   > > > >
   > > > >
   > > > > "Daniel Conlon" <dan at donhost dot co dot uk> wrote in message
   > > > > news:3f96511d$1@news.gemsoft.net...
   > > > > > Since upgrading from IIS5 to IIS6, any websites which contain a
/bin
   > > > > > directory no longer function, any file in the /bin directory
cannot
 > be
   > > > > > retrieved, a 404 is returned. I guess this is IIS6 blocking
requests
  > > to
   > > > > > download files in a directory with that name in order to provide a
  > > level
   > > > > of
   > > > > > protection for ASP.NET applications. However these are not ASP.NET
 > web
   > > > > sites
   > > > > > and so I would prefer them to work properly. Is there a
workaround?
   > > > > >
   > > > > > Also, is there a workaround for the problem described in:
<font color=brown>   > > > > > <a style='text-decoration: underline;' href="http://support.microsoft.com/default.aspx?scid=kb;en-us;275601</font" target="_blank">http://support.microsoft.com/default.aspx?scid=kb;en-us;275601</font</a>>
   > > > > >
   > > > > > When execute permissions are granted on a directory? I would like
to
   > > > allow
   > > > > > .exe files in a site to be executed but still allow files
contained
 > in
  > > a
   > > > > > directory of the form domainname.com to be downloaded.
   > > > > >
   > > > > > Many thanks in advance.
   > > > > >
   > > > > >
   > > > >
   > > > >
   > > >
   > > >
  > >
  > >
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS6 filters URLs? 
Back to top
Login to vote
user641

External


Since: Aug 22, 2003
Posts: 1637



(Msg. 9) Posted: Thu Oct 23, 2003 2:15 am
Post subject: Re: IIS6 filters URLs? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Where's the filter?

"Bernard" <qbernard RemoveThis @hotmail.com> wrote in message
news:%23TTvg9KmDHA.2676@TK2MSFTNGP11.phx.gbl...
 > Now I remembered that such access /bin/ is prohibited
 > with asp.net and it's actually at filter level. I remove the filter
 > and restart entire IIS services, IIS will serve the folder right away.
 >
 > Will try to ping aspnet group.. thanks.
 >
 > --
 > Regards,
 > Bernard Cheah
<font color=purple> > <a style='text-decoration: underline;' href="http://support.microsoft.com/</font" target="_blank">http://support.microsoft.com/</font</a>>
 > Please respond to newsgroups only ...
 >
 >
 >
 > "Wade A. Hilmo [MS]" <wadeh RemoveThis @microsoft.com> wrote in message
 > news:#cz1McKmDHA.644@TK2MSFTNGP11.phx.gbl...
  > > Hi All,
  > >
  > > This is not actually "IIS6 blocking requests to download files in a
  > > directory with that name." It's actually ASP.NET itself that's blocking
 > the
  > > requests with its filter.
  > >
  > > I don't know enough about ASP.NET to know how configurable this feature
 > is.
  > > It would be a good question to ask on an ASP.NET dedicated newsgroup.
  > >
  > > Thank you,
  > > -Wade A. Hilmo,
  > > -Microsoft
  > >
  > > "Bernard" <qbernard RemoveThis @hotmail.com> wrote in message
  > > news:OODLUGKmDHA.1672@TK2MSFTNGP09.phx.gbl...
   > > > Yes. just tested. win32 status is 2. file/path not found.
   > > >
   > > > Thanks for the info.
   > > >
   > > > --
   > > > Regards,
   > > > Bernard Cheah
<font color=brown>   > > > <a style='text-decoration: underline;' href="http://support.microsoft.com/</font" target="_blank">http://support.microsoft.com/</font</a>>
   > > > Please respond to newsgroups only ...
   > > >
   > > >
   > > >
   > > > "Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
   > > > news:bn5tk6$2l311@kcweb01.netnews.att.com...
   > > > > It's actually generating a 404 in the log. I tested with a simple
   > > > > <a style='text-decoration: underline;' href="http://myserver/bin/test.htm," target="_blank">http://myserver/bin/test.htm,</a> so it's not a matter of an unknown
  > > mime-type
   > > > > ... : )
   > > > >
   > > > > --
   > > > > Tom Kaminski IIS MVP
   > > > > <a style='text-decoration: underline;' href="http://www.iistoolshed.com/" target="_blank">http://www.iistoolshed.com/</a> - tools, scripts, and utilities for
 > running
   > > > IIS
<font color=brown>   > > > > <a style='text-decoration: underline;' href="http://mvp.support.microsoft.com/</font" target="_blank">http://mvp.support.microsoft.com/</font</a>>
<font color=brown>   > > > > <a style='text-decoration: underline;' href="http://www.microsoft.com/windowsserver2003/community/centers/iis/</font" target="_blank">http://www.microsoft.com/windowsserver2003/community/centers/iis/</font</a>>
   > > > >
   > > > > "Bernard" <qbernard RemoveThis @hotmail.com> wrote in message
   > > > > news:%238TxQfJmDHA.1800@TK2MSFTNGP10.phx.gbl...
   > > > > > Check out the IIS log file, log at the sub status code.
   > > > > > now - what file extension is to be downloaded ?
   > > > > >
   > > > > > try -
   > > > > > IIS 6.0 Does Not Serve Unknown MIME Types
<font color=brown>   > > > > > <a style='text-decoration: underline;' href="http://support.microsoft.com/?id=326965</font" target="_blank">http://support.microsoft.com/?id=326965</font</a>>
   > > > > >
   > > > > > --
   > > > > > Regards,
   > > > > > Bernard Cheah
<font color=brown>   > > > > > <a style='text-decoration: underline;' href="http://support.microsoft.com/</font" target="_blank">http://support.microsoft.com/</font</a>>
   > > > > > Please respond to newsgroups only ...
   > > > > >
   > > > > >
   > > > > >
   > > > > > "Daniel Conlon" <dan at donhost dot co dot uk> wrote in message
   > > > > > news:3f96511d$1@news.gemsoft.net...
   > > > > > > Since upgrading from IIS5 to IIS6, any websites which contain a
 > /bin
   > > > > > > directory no longer function, any file in the /bin directory
 > cannot
  > > be
   > > > > > > retrieved, a 404 is returned. I guess this is IIS6 blocking
 > requests
   > > > to
   > > > > > > download files in a directory with that name in order to provide
a
   > > > level
   > > > > > of
   > > > > > > protection for ASP.NET applications. However these are not
ASP.NET
  > > web
   > > > > > sites
   > > > > > > and so I would prefer them to work properly. Is there a
 > workaround?
   > > > > > >
   > > > > > > Also, is there a workaround for the problem described in:
<font color=brown>   > > > > > > <a style='text-decoration: underline;' href="http://support.microsoft.com/default.aspx?scid=kb;en-us;275601</font" target="_blank">http://support.microsoft.com/default.aspx?scid=kb;en-us;275601</font</a>>
   > > > > > >
   > > > > > > When execute permissions are granted on a directory? I would
like
 > to
   > > > > allow
   > > > > > > .exe files in a site to be executed but still allow files
 > contained
  > > in
   > > > a
   > > > > > > directory of the form domainname.com to be downloaded.
   > > > > > >
   > > > > > > Many thanks in advance.
   > > > > > >
   > > > > > >
   > > > > >
   > > > > >
   > > > >
   > > > >
   > > >
   > > >
  > >
  > >
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS6 filters URLs? 
Back to top
Login to vote
user969

External


Since: Oct 15, 2003
Posts: 4



(Msg. 10) Posted: Thu Oct 23, 2003 2:32 pm
Post subject: Re: IIS6 filters URLs? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

  > > Is there a workaround for the problem described in:
<font color=green>  > > <a style='text-decoration: underline;' href="http://support.microsoft.com/default.aspx?scid=kb;en-us;275601</font" target="_blank">http://support.microsoft.com/default.aspx?scid=kb;en-us;275601</font</a>>
  > >
  > > When execute permissions are granted on a directory? I would like to
allow
  > > .exe files in a site to be executed but still allow files contained in a
  > > directory of the form domainname.com to be downloaded.
 >
 > IIS simply isn't going to allow you to use folders with executable
 > extensions in the folder name.

Is there a way to configure which extensions IIS regards as those of
executable files, i.e. make IIS regard .exe as an executable file but not
..com?<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS6 filters URLs? 
Back to top
Login to vote
wadeh

External


Since: Sep 03, 2003
Posts: 115



(Msg. 11) Posted: Thu Oct 23, 2003 2:32 pm
Post subject: Re: IIS6 filters URLs? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Daniel,

IIS is hard coded to recognize .exe and .com as executable by the CGI
handler (and .dll and .isa are recognized as executable by the ISAPI
handler.) IIS will only execute files with these extensions if the virtual
directory that contains them has execute permissions, otherwise it will
download them to the client.

If you have a virtual directory where you want to mix the above file
extensions and only have some of them be executable, it may be possible to
set the containing directory up so that it does not have execute permissions
and then set execute permissions on only the files you want to run. The UI
does not support this, so you would have to create a node in the metabase
for the file and set the AccessPerm property directly, using something like
adsutil.

Thank you,
-Wade A. Hilmo,
-Microsoft

"Daniel Conlon" <dan at donhost dot co dot uk> wrote in message
news:3f97ae35$1@news.gemsoft.net...
   > > > Is there a workaround for the problem described in:
<font color=brown>   > > > <a style='text-decoration: underline;' href="http://support.microsoft.com/default.aspx?scid=kb;en-us;275601</font" target="_blank">http://support.microsoft.com/default.aspx?scid=kb;en-us;275601</font</a>>
   > > >
   > > > When execute permissions are granted on a directory? I would like to
 > allow
   > > > .exe files in a site to be executed but still allow files contained in
a
   > > > directory of the form domainname.com to be downloaded.
  > >
  > > IIS simply isn't going to allow you to use folders with executable
  > > extensions in the folder name.
 >
 > Is there a way to configure which extensions IIS regards as those of
 > executable files, i.e. make IIS regard .exe as an executable file but not
 > .com?
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS6 filters URLs? 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]