How to configure IIS URL Rewrite

Anonymous
2023-08-24T04:38:46+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 /ontologies/core/persons/person-ontology.rdf.
  8. Click "Apply" in the Actions pane to save the rule.

But when I test it with this url I get a 404 error: http://mysite/ontologies/core/persons

how can I fix this?

Windows for business | Windows Server | User experience | Remote desktop services and terminal services

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-08-24T05:59:22+00:00

    Hello GeorgePadvorac,

    Thank you for posting in Microsoft Community forum.

    Based on the description, I understand your question is related to IIS URL Rewrite .

    Since there are no engineers dedicated to IIS in this forum. in order to be able to get a quick and effective handling of your issue, I recommend that you repost your question in the Q&A forum, where there will be a dedicated engineer to give you a professional and effective reply.

    Here is the link for Q&A forum.
    Questions - Microsoft Q&A

    Click the "Ask a Question" button in the upper right corner to post your question and select "Internet Information Services" tag.

    Thank you for your understanding and support. If you have any question or concern, please feel free to let us know.

    Have a nice day.

    Best Regards,
    Daisy Zhou

    0 comments No comments