|
-
Feb 26th, 2004, 05:01 PM
#1
Thread Starter
Hyperactive Member
Security
Hey,
web.conf configuration:
Code:
<authentication mode="Forms">
<forms name="App" loginUrl="login.aspx" />
</authentication>
<authorization>
<deny users="?" />
</authorization>
There are link to register.aspx in login.aspx page. This link isn't workingm becourse user isn't loged on, so register.aspx is protected by server.
How to enable to view this page without loging on?
Thanx
-
Feb 26th, 2004, 08:37 PM
#2
Hyperactive Member
Code:
<configuration>
<location path="YourUnprotectedPage.aspx">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
</configuration>
-
Mar 2nd, 2004, 10:25 AM
#3
Thread Starter
Hyperactive Member
I got error:
Code:
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: 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.
Source Error:
Line 40:
Line 41:
Line 42: <authentication mode="Forms">
Line 43: <forms name="Stoju" loginUrl="index.aspx" />
Line 44: </authentication>
Source File: c:\inetpub\wwwroot\PROJEKTAS\web.config Line: 42
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|