Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. web.config problems

web.config problems

Scheduled Pinned Locked Moved ASP.NET
tutorialquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jarow
    wrote on last edited by
    #1

    I would like to put all my "admin" pages such as user login, default (protected page, send password, change password in an admin folder off the root directory. But if I have use the following deny user line in my web.config (which I place inside the admin folder)any link I have on a page to another admin page always defaults back to the login.aspx. For example: on my login.aspx page users should be able to click on the text "forgot password" or "change password" and be directed to the corresponding sendpassword.aspx or changepass.aspx pages within the admin folder. But when the text is clicked on it just diverts back to the login.aspx page. What am I doing wrong? many thanks

    J 3 Replies Last reply
    0
    • J jarow

      I would like to put all my "admin" pages such as user login, default (protected page, send password, change password in an admin folder off the root directory. But if I have use the following deny user line in my web.config (which I place inside the admin folder)any link I have on a page to another admin page always defaults back to the login.aspx. For example: on my login.aspx page users should be able to click on the text "forgot password" or "change password" and be directed to the corresponding sendpassword.aspx or changepass.aspx pages within the admin folder. But when the text is clicked on it just diverts back to the login.aspx page. What am I doing wrong? many thanks

      J Offline
      J Offline
      Joeisanerd
      wrote on last edited by
      #2

      in your admin folder you should have a new web.config file and in that file you can give access to the files that you want all users to have access to like this you can change the allower users="*" if they should be authenticated at all Put this within the section

      1 Reply Last reply
      0
      • J jarow

        I would like to put all my "admin" pages such as user login, default (protected page, send password, change password in an admin folder off the root directory. But if I have use the following deny user line in my web.config (which I place inside the admin folder)any link I have on a page to another admin page always defaults back to the login.aspx. For example: on my login.aspx page users should be able to click on the text "forgot password" or "change password" and be directed to the corresponding sendpassword.aspx or changepass.aspx pages within the admin folder. But when the text is clicked on it just diverts back to the login.aspx page. What am I doing wrong? many thanks

        J Offline
        J Offline
        Joeisanerd
        wrote on last edited by
        #3

        I had to repost it because I forgot to change the < and > tags in your admin folder you should have a new web.config file and in that file you can give access to the files that you want all users to have access to like this you can change the allower users="*" if they should be authenticated at all Put this within the section

        1 Reply Last reply
        0
        • J jarow

          I would like to put all my "admin" pages such as user login, default (protected page, send password, change password in an admin folder off the root directory. But if I have use the following deny user line in my web.config (which I place inside the admin folder)any link I have on a page to another admin page always defaults back to the login.aspx. For example: on my login.aspx page users should be able to click on the text "forgot password" or "change password" and be directed to the corresponding sendpassword.aspx or changepass.aspx pages within the admin folder. But when the text is clicked on it just diverts back to the login.aspx page. What am I doing wrong? many thanks

          J Offline
          J Offline
          Joeisanerd
          wrote on last edited by
          #4

          I had to repost it because I forgot to change the < and > tags in your admin folder you should have a new web.config file and in that file you can give access to the files that you want all users to have access to like this you can change the allower users="*" if they should be authenticated at all Put this within the section

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups