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. problem with web.config

problem with web.config

Scheduled Pinned Locked Moved ASP.NET
helptutorial
2 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.
  • R Offline
    R Offline
    rajmca g
    wrote on last edited by
    #1

    in my website i have to folders. in that two folders i put two web.config files for each one. And in root folder i put another web.config file in that i write below code Now i want to user this authentcation in above two folder but. here. for folder1 i have different login url and defaulturl. and for folder2 i have different login url and default url. how to apply root web.config to those to folders web.config

    A 1 Reply Last reply
    0
    • R rajmca g

      in my website i have to folders. in that two folders i put two web.config files for each one. And in root folder i put another web.config file in that i write below code Now i want to user this authentcation in above two folder but. here. for folder1 i have different login url and defaulturl. and for folder2 i have different login url and default url. how to apply root web.config to those to folders web.config

      A Offline
      A Offline
      Abhishek Sur
      wrote on last edited by
      #2

      You mean you have 2 web config to two subfolders of your virtual directory, and you want to remove them and want to use a single web.config to handle both of them from root. I think you can have 2 different appsettings key to handle this, so that if the url contains the foldername apply one otherwise some other... You need to do the checking programatically. :rose:

      Abhishek Sur My Latest Articles Basics on LINQ and Lambda Expressions
      Create .NET Templates

      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