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.

.htaccess file is not working

Discussion in 'Apache' started by sayjohn, Feb 20, 2014.

  1. #1
    hello to all the members
    I want to upload the custom 404 error page and .htaccess file to my website but .htaccess is not working on my web server. I have use the correct file name and try it many time but no result I have found. My web server is Microsoft IIS 7.5
     
    sayjohn, Feb 20, 2014 IP
  2. pr0t0n

    pr0t0n Well-Known Member

    Messages:
    243
    Likes Received:
    10
    Best Answers:
    10
    Trophy Points:
    128
    #2
    With IIS you will have to use web.config instead of .htaccess (which you can use with Apache servers)
     
    pr0t0n, Feb 23, 2014 IP
  3. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #3
    You can't use a .htaccess file on an IIS-server. .htaccess is for Apache webservers. You can, however, replicate some of the features of .htaccess using Helicon Ape : http://www.helicontech.com/ape/ - I've never tested it, but it seems to be the go-to solution for .htaccess needs for IIS.
     
    PoPSiCLe, Feb 23, 2014 IP