www.webdeveloper.com
Results 1 to 2 of 2

Thread: SSI .htaccess issue, works except in index file

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    11

    SSI .htaccess issue, works except in index file

    I switched to a dedicated server this week and much of it is a bit over my head. One thing I cant seem to resolve is that the includes all work on all sub pages, but do not work in the index.html page.
    All use the same .htaccess file... This is the case for all 5 of my web domains.
    This is what I have in there now.

    Options +FollowSymLinks
    Options +Includes
    AddType text/html .shtml (recently added)
    AddOutputFilter INCLUDES .shtml (recently added)
    AddHandler server-parsed .htm
    DirectoryIndex index.htm index.html (recently added)

    What is different about this which worked in hosting account but not server account?
    Thanx
    Rack

  2. #2
    Join Date
    Mar 2011
    Posts
    26
    rename it to index.shtml and add index.shtml to your Index list.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles