Results 1 to 2 of 2

Thread: SSIs not working and no error generated

  1. #1
    Join Date
    Sep 2012
    Posts
    21
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default SSIs not working and no error generated

    SSI's on my index page work fine when it is found as the default page if I type estateagentsespana.com into browser address bar.

    But if I type estateagentsespana.com/index.htm into the address bar, the SSIs are ignored. SSIs on other pages are also being ignored.

    My htaccess:

    Code:
    AddType text/html .shtml
    AddHandler server-parsed .html
    AddHandler server-parsed .htm
    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    
    # redirect from non-www to www with https
    RewriteCond %{HTTP_HOST} !^www\. [NC]
    RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L] 
    
    # redirect from http to https
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
    </IfModule>
    
    Options -Indexes
    
    ErrorDocument 404 /404.htm

  2. #2
    Join Date
    Sep 2012
    Posts
    21
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default

    Problem solved by web hosting company, but no explanation given of what was causing it.

Similar Threads

  1. PHP Upload - Not Working, No Error.
    By alexjewell in forum PHP
    Replies: 10
    Last Post: 02-16-2011, 09:59 PM
  2. Lightbox is not working in IE 8 - Error on page
    By tintincute in forum JavaScript
    Replies: 0
    Last Post: 11-30-2010, 02:39 PM
  3. Ajax code working standalone, but error when embedd
    By bojomojo in forum JavaScript
    Replies: 0
    Last Post: 01-18-2009, 06:26 AM
  4. Replies: 1
    Last Post: 03-07-2008, 01:37 PM
  5. Error and Slide Show not Working. Please help!
    By johnwboyd in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 02-22-2008, 06:21 PM

Bookmarks

Posting Permissions

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