i've got a web.config file in a directory with the following code
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
<authorization>
<allow roles="Members" />
<deny users="*" />
</authorization>
</system.web>
</configuration>
now this file is within a folder called members and is working fine.
i;ve now created another folder within members called 'Test' and placed the same web.config file in there but for some reason it doesn't seem to be working. its letting me in even though i've not logged in as role member.
the funny thing is on my local machine it works but on the web server it doesn't. Any ideas what could be wrong here ?
bit more testing and it seems that tit works so long as the only files in the directory are aspx files, if theres others then the web.config is ignored.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
<authorization>
<allow roles="Members" />
<deny users="*" />
</authorization>
</system.web>
</configuration>
now this file is within a folder called members and is working fine.
i;ve now created another folder within members called 'Test' and placed the same web.config file in there but for some reason it doesn't seem to be working. its letting me in even though i've not logged in as role member.
the funny thing is on my local machine it works but on the web server it doesn't. Any ideas what could be wrong here ?
bit more testing and it seems that tit works so long as the only files in the directory are aspx files, if theres others then the web.config is ignored.
Last edited: