How to configure IIS URL Rewrite

moondaddy 916 Reputation points
2023-08-24T05:13:39.5833333+00:00

On Windows Server 2019, I have URL Rewrite installed.

I put a RDF ontology in a website director and configured URL Rewrite with these instructions:

  1. Open IIS Manager.
  2. Select the site that hosts your ontologies.
  3. In the Features view, double-click "URL Rewrite."
  4. In the Actions pane, click "Add Rule(s)…"
  5. Select "Blank rule" and then click "OK."
  6. In the "Match URL" section, enter a Pattern that matches the URL path you want to rewrite, something like ^ontologies/core/persons$.
  7. In the "Action" section, select "Rewrite" and enter the URL of the RDF file, like:

http://somesite/ontologies/core/persons/person-ontology.rdf

Click "Apply" in the Actions pane to save the rule.

But when I test it with this url I get a 404 error:

http://thinkgraph.org/ontologies/core/persons

How can I fix this?

Windows for business Windows Server User experience Other
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.