No Indexing On Windows Server 2008 Running IIS7

From KnowledgeTree Community

Jump to: navigation, search

Contents

What is the problem?

IIS7 has a request filtering feature which prevents URLs with certain words from executing. One of the words is "bin".  As a result, the document processor cannot be executed.

Test for the issue

First go to this URL using a browser on the Window Server 2008.

127.0.0.1/knowledgetree/search2/documentProcessor/bin/documentProcessor.php

If you arrive at a blank page with no error, this fix will not work for you!

If you receive an error similar to the following, continue to the steps that will fix the issue.

HTTP Error 404.8 - Not Found
The request filtering module is configured to deny a path in the URL that contains a hiddenSegment section.


Steps to perform


Editing applicationHost.config

1. Open up the IIS Manager:  Start >> Administrative Tools >> Internet Information Services (IIS) Manager


2. Select your server on the left.


3. Stop IIS under the action menu to the right.


4. Navigate to: C:\windows\system32\inetsrv\config


5. Make a copy of the applicationHost.config file, and place it into another folder.


6. Open applicationHost.config in a text editor.


7. Search for a section similar to the following:

<hiddenSegments applyToWebDAV="true">
<add segment="web.config" />
<add segment="bin" />
<add segment="App_code" />
<add segment="App_GlobalResources" />
<add segment="App_LocalResources" />
<add segment="App_WebReferences" />
<add segment="App_Data" />
<add segment="App_Browsers" />
</hiddenSegments> 

8. Delete the line:

<add segment="bin" />

9. Save and exit the file


10. Start IIS back up in the IIS Manager


Test the fix

Go to the following URL again to see if the issue is fixed.

127.0.0.1/knowledgetree/search2/documentProcessor/bin/documentProcessor.php



Applies to Version/s

Personal tools