A
A
Alex Pts2013-01-03 15:37:20
IIS
Alex Pts, 2013-01-03 15:37:20

How to set up aliases in IIS?

I am migrating a site from nginx to IIS. It is required to set up aliases, I found virtual folder settings that allow you to actually set up an alias for level 1. Here is an nginx rule that is implemented through a virtual directory:

location /templates/ { alias /repository/templates/site/; }

But for 2 or more levels it is no longer possible to make a rule through a virtual directory, because you can't use a slash in the path. Analogue in nginx:

location /admin/templates/ { alias /repository/templates/adminka/; }

Tell me if there are aliases in IIS and how to work with them in order to set up example 2.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
kefirr, 2013-01-03
@kefirr

It?
www.iis.net/downloads/microsoft/url-rewrite

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question