Ich m�chte ein bestimmtes Verzeichnis (admin) meines Webs mit folgendem Code in der
web.config sch�tzen:
<location path="admin">
<system.web>
<authentication mode="Forms">
<forms loginUrl="/login.aspx/">
<credentials passwordFormat="Clear">
<user name="Test" password="test"/>
</credentials>
</forms>
</authentication>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
Leider erhalte ich jedoch folgende Fehlermeldung:
"It is an error to use a section registered as allowDefinition='MachineToApplication'
beyond application level. This error can be caused by a virtual directory not being
configured as an application in IIS."
Muss das zu sch�tzende Verzeichnis etwa als virtuelles Verzeichnis im IIS angelegt
sein ?!
Wenn ich das location-Tag weglasse, funktioniert alles wunderbar - nur halt f�r die
ganze Website.
Wer weiss Rat ?
Thorsten
_______________________________________________
Asp.net Mailingliste, Postings senden an:
[EMAIL PROTECTED]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/asp.net