I'm using IIS7.5. Root directory is mapped to a path 'wwwroot', under which I have directories containing individual websites.
Just started working through the documentation for Symfony 2. The symfony site is under a folder called 'Symfony', ie 'wwwroot/symfony'.
I can access a path on this site using url: symfony/web/controller/param
How can i get rid of the 'web' part so it is: symfony/controller/param?
Here is relevant part of web.config:
<rule name="RewriteRequestsToPublic" stopProcessing="true">
<match url="^(web/)(.*)$" />
<action type="Rewrite" url="web/app_dev.php?{R:2}" logRewrittenUrl="true"/>
</rule>
I tried this and it ain't working:
<rule name="RewriteRequestsToPublic" stopProcessing="true">
<match url="^(/)(.*)$" />
<action type="Rewrite" url="web/app_dev.php?{R:2}" logRewrittenUrl="true"/>
</rule>