How to I enable SSI's (Server Side Includes)?

SSI's (Server Side Includes) are enabled on all accounts as stanadard. In order to make use of these on your hosting account if require, you will need to enable them via a .htaccess file within your webspace. The contents of this should be as follows:

Options +Includes
AddType text/html .shtm
AddHandler server-parsed .shtml

The Options +Includes directive enables SSI's for that particular directory and any below, whilst the other directives well the web server to parse any files that end in .shtm or .shtml for SSI's
  • 0 användare blev hjälpta av detta svar
Hjälpte svaret dig?

Relaterade artiklar

What is the path to perl?

The path to perl in your scripts should be set as:/usr/bin/perl 

What is the absolute path to my webspace?

The absolute path to your website root directory is: /home/username/public_html/Username should...

What is the path to sendmail?

The path to sendmail to be used in your scripts is:/usr/sbin/sendmail 

PHP memory limit exceeded

Very occasionally, when running certain more advanced or demanding PHP based scripts on your...

I need a PHP setting changed

We aim to have PHP on our servers configured to achieve a balance between the majority of...

Powered by WHMCompleteSolution