asp.net - web.config location element settings -


i have question on sample of location element inside web.config:

    <configuration>       <location path="uploadpage.aspx">         <system.web>           <httpruntime maxrequestlength="128"/>         </system.web>       </location>     </configuration> 

the uploadpage.aspx refer www.mysite.com/uploadpage.aspx or file called uploadpage.aspx inside site? can write path="~/uploadtool/uploadpage.aspx" ? if want rule refer file named uploadpage.aspx

well, "/path" doesnt work need put ~/ @ beginning /* @ end works

here example

    <location path="~/upload-cs/upload.aspx">        <system.web>           <httpruntime maxrequestlength="5378" executiontimeout="300" />        </system.web>     </location> 

Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -