Can't get SSI working

This is a good starting point

Can't get SSI working

Postby cmoset » Tue Jun 18, 2013 6:51 am

I have an shtml file (conferences.shtml) that includes this line:

<!--#include file="included.txt" -->

The file included.txt is in the same directory as conferences.shtml. I have also added these three lines to my .htaccess file:

AddType text/html .shtml
AddHandler server-parsed .shtml
Options Indexes FollowSymLinks Includes

The .htaccess file is in the root directory for the subdomain that contains conferences.shtml.

Unfortunately, though, I still don't see the content of included.txt on the webpage. This is the first time I've tried working with SSI, and all the tutorials and forums make it seem so straight-forward. Am I missing something?

(Perhaps significant: I can't actually see the .htaccess in the cPanel File Manager. I know it is there, because when I upload a new version I get a warning about overwriting an existing file, but it isn't actually visible. I assume this is because of some display setting that I haven't yet discovered, but thought I'd mention it in case it rings any bells.)
cmoset
 
Posts: 2
Joined: Fri Jun 14, 2013 8:27 pm

Re: Can't get SSI working

Postby Ray » Sat Jun 29, 2013 3:26 am

For SSI, the method you mentioned looks fine. But in order to investigate is more detail from server end, please open a Support ticket with all the details, URLs, logins, etc. We shall check and reply back to you on this.
Ray
Ray
 
Posts: 20
Joined: Sun Nov 08, 2009 9:25 pm

Re: Can't get SSI working

Postby tomrichards » Sun Jun 08, 2014 11:27 pm

It seems like there might be an issue with the script you are using. Try setting up a static HTML page and open it with the secure URL to see if it succeeds.
tomrichards
 
Posts: 12
Joined: Tue May 14, 2013 6:42 pm

Re: Can't get SSI working

Postby tomrichards » Fri Jun 20, 2014 12:54 am

SSI benefits depends on your financial situation and whether you qualify under the Social Security regulations for SSI benefits. To qualify, you must meet one of the criteria above. You also must currently reside in the United States or meet other specific residency criteria
tomrichards
 
Posts: 12
Joined: Tue May 14, 2013 6:42 pm


Return to General Help

Who is online

Users browsing this forum: No registered users and 4 guests