RE: httpModules in IIS 6?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi again Walter

You're right, the "Enable Parent Paths" option didn't make any difference to
the URL Rewriting - it must have been an anomaly. Very strange.

Unfortunately, I just had a look at IIS on the server, and "Verify file
exists" is NOT checked for *.aspx - and yet it still doesn't work.

Is this something to do with me trying to pass a URL..
"http://website/ourwork/stories/my-story/"; - the idea being that the url
takes you to "http://website/story.aspx?id=xxx";.

This works in the VS Devleopment Server perfectly, but I don't know how to
make it work in IIS6?

Any ideas? Thanks again,



Dan

""Walter Wang [MSFT]"" wrote:

Hi Dan,

According to the help file:

--------------
Enable parent paths

Select to allow ASP pages to use relative paths to the parent directory of
the current directory (paths using .. syntax).

If you enable this option, do not give parent directovies execute access
because a script could execute an unauthorized program in a parent
directory.
-------------

I'm not sure why this option would have impact on your URL rewriting module.

For the "Verify that file exists" option:

In IIS manager:

1) Open properties dialog of your web application
2) on tab "Directory", click button "Configuration", this will bring up the
"Application Configuration" dialog
3) Select the file extension that is handled by ASP.NET, for example,
".aspx", click button "Edit", this will bring up the "Add/Edit Application
Extension Mapping" dialog
4) Uncheck the "Verify that file exists" checkbox


Regards,
Walter Wang (wawang@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

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


.


Quantcast