development server root url

Last post 06-02-2009 8:53 AM by ejowens. 2 replies.

Sort Posts:

  • development server root url

    05-27-2009, 4:31 PM
    • Member
      10 point Member
    • ejowens
    • Member since 12-14-2007, 4:54 PM
    • St Louis Metro area
    • Posts 95

    I've seen articles all over that explain how to change vwd2005 express in regard to the port and virtual directory; but i need to change the root url.

    I have a custom authentication method that i must use which uses the url of the site in a redirect, but i cannot use the ip address or localhost as values in the development server's root url.  I've edited etch/hosts to include my computer's network name and it doesn't appear that i can use the startup options for the site either.  Is there a way to change the root url?

     

    Thanks,

     

    eric

  • Re: development server root url

    06-02-2009, 3:27 AM

    Hi,

    To better understand your issue, please clarity in detail.

    Did you use ASP.NET built-in server? If so, it is http://localhost:portNumber/WebSiteName/PageName.aspx. We cannot modify http://localhost.

    If you want to redirect user to another page within your application, you can use relative path, such as

    Response.Redirect("PageName.aspx");

     

     I look forward to receiving your test results.

    Thomas Sun
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
  • Re: development server root url

    06-02-2009, 8:53 AM
    • Member
      10 point Member
    • ejowens
    • Member since 12-14-2007, 4:54 PM
    • St Louis Metro area
    • Posts 95

    Thanks, Thomas for the reply.  Yes it is the built in server.  The redirect to the security site where authentication takes place happens correctly, but after authentication the security site redirects back to my url which has 'localhost' and fails (rather than the built in dev server picking up my manully entered etc/host entry).  This is a cookie based authentication (memory cookie, not file), which of course requires my url to have the correct network name.

    Any suggestions for a different web server that would permit use of either my machine's legimate network name or etc/host entry?  I found Tiny Web did not work so well and haven't had time to investigate others as yet.  I figure source forge would have something, but again...time to do so hasn't happened yet.

     

    Thanks,

     

    Eric

Page 1 of 1 (3 items)