Posted on: 3/16/2011 10:33:06 AM | Views : 289

I am creating an application hosted on GoDaddy.com.  The base files are kept in a folder called /sky while the Admin files and User files are kept in /sky/Admin and /sky/User respectively.   I'm having difficulty configuring the security so that when a user tries to access Admin or User files they should be redirected to the login.aspx file in the /sky folder.  I keep getting an error that its trying to access sky/sky/login.aspx instead of just sky/login.aspx.
Here are the relevant sections of my web.config file.
<?xml version="1.0"?>
<configuration>
...
    <location path="sky/admin">
        <system.web>
            <authorization>
                <allow roles="Admin" />
    &nbs ...

Go to the complete details ...