Click here to Skip to main content
15,305,361 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello every one.

I have a web site.

I want to keep my sample websites in a subdirectory, say SAMPLE.

I have this SAMPLE on my server's root directory. The problem is that I want to give links for those applications residing inside SAMPLE folder from my main web site.

Whenever I'm clicking the links it's giving an error so I need help to configure my main website's web.confog file, so that I can directly visit those sample websites.
Updated 2-Nov-10 0:01am
Arindam Tewary 2-Nov-10 5:14am
What error did you get?
Sunasara Imdadhusen 2-Nov-10 5:35am
Send details of error.
Dalek Dave 2-Nov-10 6:03am
Edited for Grammar, Spelling and Syntax.

1 solution

This is what you want?
<location path="SAMPLE/default.aspx">
        <allow users="*"/>

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900