[Mono-list] location path in web.config for xsp2

Scott Williams scott.williams at leaseharbor.com
Wed Jul 12 12:58:44 EDT 2006


What is the status of the location tag for web.config?

The following chokes:

<configuration>

	<system.web>

		<authentication mode="Forms">
			<forms name=".WSUSAUTH" loginUrl="login.aspx" protection="All" />
		</authentication>
		
		<authorization>
			<deny users="?"/>
		</authorization>

	</system.web>

	<location path="somePath">

		<system.web>

			<authorization>
				<allow users="*" />
			</authorization>

		</system.web>

	</location>

</configuration>


with the error "The section <authorization> is defined more than once in the 
same configuration file."

The config works for IIS, but chokes on both Windows and Linux xsp2.  I have 
seen prior postings to the list on this, but unclear as to the resolution.



More information about the Mono-list mailing list