I have configured IIS Express to have multiple virtual directories with a forward slash in the path by editing applicationhost.config. Is this the only way to have a path with a forward slash - hand edit the config file?

<virtualDirectory path="/docs/patha" physicalPath="\\unc\a\d" />
<virtualDirectory path="/docs/pathb" physicalPath="\\unc\b\d" />
<virtualDirectory path="/docs/pathc" physicalPath="\\unc\c\d" />
<virtualDirectory path="/docs/pathd" physicalPath="\\unc\d\d" />
  • What syntax have you tried with appcmd.exe and how does it fail? – Peter Hahndorf Jun 23 '15 at 3:43
  • @PeterHahndorf: I did not use appcmd.exe, I used Visual Studio 2013 – jmoreno Aug 14 '15 at 1:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.