ASP - Setting up a blog service...need help

Discussion in 'C#' started by cancer10, Jan 29, 2007.

  1. #1
    cancer10, Jan 29, 2007 IP
  2. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #2
    I believe their are IIS filters that allow you to emulate ModRewrite for Apache. The filters woudl allow you to spoof SubDomains.
     
    ccoonen, Jan 29, 2007 IP
  3. cancer10

    cancer10 Guest

    Messages:
    364
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    urls? links?
     
    cancer10, Jan 29, 2007 IP
  4. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #4
    ccoonen, Jan 30, 2007 IP
  5. VishalVasani

    VishalVasani Peon

    Messages:
    560
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Do you want to create subdomain Dynamically or what?
     
    VishalVasani, Feb 21, 2007 IP
  6. spartan789

    spartan789 Peon

    Messages:
    5
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    that sounds like what he wants to do Vishal. Are you using IIS or Apache?
     
    spartan789, Feb 22, 2007 IP
  7. MarkusJ_NZ

    MarkusJ_NZ Well-Known Member

    Messages:
    240
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    108
    #7
    Hi, when you start placing something before the domain name e.e test.mydomain.com you start running into dns issues and will have to implement a wildcard dns and then capture the associated error and redirect.

    I did this with some asp.net code, let me know if your'e interested and I'll post it.

    If you are using ASP.NET the easiest way to do things is to transform something like

    www. mydomain.com?userid=mark to www. mydomain.com/mark

    do a google on vanity urls for an implementation

    It's been so long since I did anything in classic ASP but at a guess (And off the top of my head) you would probably have to capture the persons name (Catch 404 errors under MMC custom errors and redirect to an asp file). Then in that asp file parse the name from the url and then redirect to the appropriate page..

    Hope this gets you started
    Cheers
    Markus
     
    MarkusJ_NZ, Feb 22, 2007 IP