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
Post a Comment