Enabling ssl via .htaccess

August 8, 2007
By Computer security

If you cannot use SSI (Server Side Includes) with your host, you can try and enable it via the following command in the .htaccess file:

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


The first line tells the server which files it should parse as having SSI. The second line adds the handler that actually parses the SSI files.

SSI is already enabled on the PlusNet homepages server so you do not need to use the above code. However, to allow SSI in your .htm pages then use the following lines in your .htaccess file to avoid problems:

AddType text/html .htm
AddHandler server-parsed .htm

Tags:

Leave a Reply

follow twitter

 

March 2010
M T W T F S S
« Feb    
1234567
891011121314
15161718192021
22232425262728
293031