The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Some SSIs not working and no error generated
wkgorey
post Jul 1 2019, 09:52 AM
Post #1





Group: Members
Posts: 4
Joined: 1-July 19
Member No.: 26,921



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:

QUOTE

<Files 403.shtml>
order allow,deny
allow from all
</Files>
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



This post has been edited by wkgorey: Jul 1 2019, 10:11 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
wkgorey
post Jul 2 2019, 05:00 AM
Post #2





Group: Members
Posts: 4
Joined: 1-July 19
Member No.: 26,921



The problem is partially resolved. Web hosting support had a look and told me they'd fixed it, without telling me what the issue was. Strangely, I had to clear browser caches before I could get pages to display correctly.

Today, I loaded the index page, clicked a link, and then selected a link back to the index page, which did not display properly. Refreshing the page got it to load.

All a bit worrying since many visitors are not going to try reloading if they see virtually nothing on a page.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jul 2 2019, 06:57 AM
Post #3


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 18,403
Joined: 9-August 06
Member No.: 6



Ah, that was how I discovered that it worked. I for some reason reloaded. When I wanted to check with other browsers if it worked when reloaded it turned out it worked straight off.

Strange. Wonder what it was. Must have to do with the .htm extension anyway.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 22nd October 2019 - 04:28 PM