Form authentication in a virtual directory

Discussion in 'ASP .Net Security' started by John Boghossian, Aug 20, 2004.

  1. 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, Aug 20, 2004
    #1
    1. Advertising

  2. 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" <> wrote in message
    news:Oxj$...
    > 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], Aug 25, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John Boghossian

    Form authentication in a virtual directory

    John Boghossian, Aug 20, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    420
    John Boghossian
    Aug 23, 2004
  2. Jack Wright
    Replies:
    1
    Views:
    472
    sonikchopra
    Apr 19, 2005
  3. COHENMARVIN
    Replies:
    0
    Views:
    362
    COHENMARVIN
    Aug 18, 2005
  4. =?Utf-8?B?SmVmZiBCZWVt?=

    physical path to virtual path under virtual directory

    =?Utf-8?B?SmVmZiBCZWVt?=, Aug 1, 2007, in forum: ASP .Net
    Replies:
    4
    Views:
    1,049
    Eliyahu Goldin
    Aug 1, 2007
  5. rockdale

    include virtual in virtual directory?

    rockdale, Sep 3, 2008, in forum: ASP General
    Replies:
    3
    Views:
    445
    rockdale
    Sep 4, 2008
Loading...

Share This Page