1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

support .htaccess

Discussion in 'C#' started by bomit, Mar 17, 2011.

  1. #1
    Hi guy.
    I have a asp.net site. but i do not know how to create .htaccess. Help me?
     
    bomit, Mar 17, 2011 IP
  2. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #2
    .htaccess doesn't work with IIS which is the webserver that .Net normally runs on (PHP normally runs on Apache which does use .htaccess).

    What version of IIS are you using?
    What are you trying to achieve with .htaccess?
     
    AstarothSolutions, Mar 18, 2011 IP
  3. wsrinivas

    wsrinivas Member

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #3
    speak to your server chap and ask him to setup server url redirects
     
    wsrinivas, Mar 21, 2011 IP
  4. bomit

    bomit Greenhorn

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #4
    thanks
    I want to create .htaccess file
    my version IIS: Microsoft-IIS/6.0
     
    bomit, Mar 23, 2011 IP
  5. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Well create it then, it wont do anything though on IIS6. Depending on if you were wanting to do URL rewriting or access control using the .htaccess will dictate on how you achieve the same on IIS
     
    AstarothSolutions, Mar 24, 2011 IP