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 problem

Discussion in 'Apache' started by New Jersey Home Inspector, Jun 19, 2005.

  1. #1
    I am using an htaccess patch to allow SSI to be used for htm and html files.

    It works fine on one site but does not on another. On the second site the hack works fine for the htm files but when one inputs just the domain name
    www.NewJerseyHomeInspection.com without www.NewJerseyHomeInspection.com/index.html a message appears asking if you want to save the file.

    Any help anyone can offer I will appreciate.

    Thanks!

    # -FrontPage-

    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName www.newjerseyhomeinspection.com
    AuthUserFile /var/chroot/home/content/n/e/w/newjerseyhome/html/_vti_pvt/service.pwd
    AuthGroupFile /var/chroot/home/content/n/e/w/newjerseyhome/html/_vti_pvt/service.grp

    Options Indexes FollowSymLinks Includes
    AddType application/x-httpd-cgi .cgi
    AddType text/x-server-parsed-html .html
    AddType text/x-server-parsed-html .htm
     
  2. Will.Spencer

    Will.Spencer NetBuilder

    Messages:
    14,789
    Likes Received:
    1,040
    Best Answers:
    0
    Trophy Points:
    375
    #2
    Check the AllowOverride and AccessFileName directives in your httpd.conf.
     
    Will.Spencer, Jun 19, 2005 IP