Form authentication in a virtual directory

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Form authentication in a virtual directory

    Is it possible to get forms authentication to work for a virtual directory
    in a site?
    I have been trying with the simplest MSDN sample but it doesn't seem to
    work. I have tried in a virtual directory on my dev box and on a virtual
    directory on a production server, but I never get authenticated, the login
    page is the ony thing shown. If I on the other hand put it in the root of a
    site it works.

    Regards
    John Boghossian



    John Boghossian Guest

  2. Similar Questions and Discussions

    1. virtual directory
      Our corporate website uses coldfusion. We have developed a web time entry system that also uses coldfusion. I am trying to setup the new timentry...
    2. Web Application, virtual directory
      Hi, here the situation: My purpose is to have one physical directory(PD) (c:\webapplication) and a lot of virtual directory(VD) pointing to ...
    3. Authentication between site and its virtual directory
      I have a site that uses FormsAuthentication. I have a virtual directory on this site, that is configured as a vitrual application and has it's own...
    4. Have to Be A Virtual Directory?
      I have a project named NET. It has .aspx and one .asmx files. This NET is a virtual directory and application in IIS: - All .aspx and one .asmx and...
    5. How to find out the name of the virtual directory in ASP.NET
      Dear Friends How things going well. I have a question. Please help me. Thanks in advance. I like to give our customers a web site in our site i.e...
  3. #2

    Default Re: Form authentication in a virtual directory

    Not sure why this might be occurring but I use virtual directories all the
    time without any issue relating to forms auth. Can yu post the contents of
    your web.config?

    --
    - Paul Glavich
    Microsoft MVP - ASP.NET


    "John Boghossian" <john.boghossian@investorab.com> wrote in message
    news:Oxj$K7qhEHA.3632@TK2MSFTNGP09.phx.gbl...
    > Is it possible to get forms authentication to work for a virtual directory
    > in a site?
    > I have been trying with the simplest MSDN sample but it doesn't seem to
    > work. I have tried in a virtual directory on my dev box and on a virtual
    > directory on a production server, but I never get authenticated, the login
    > page is the ony thing shown. If I on the other hand put it in the root of
    a
    > site it works.
    >
    > Regards
    > John Boghossian
    >
    >
    >

    Paul Glavich [MVP - ASP.NET] Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139