2000/12/16 (土) 14:12:21 ◆ ▼ ◇ [mirai]Does f2s support SSI?
Yes and No. People have said that it is supported on the new servers, but people still seem to be
having problems with SSI. It can all be done with a file called ".htaccess".
I'm going to show you how to make it where to put it on your server. First, open up a text editor,
preferably Notepad, because if you use something like MSWord it tends to add extra stuff to the
file that you don't need. Now, on the first line of the text editor put:
AddType text/html .shtml
And if you would like to be able to have SSI on pages with other extensions, put them after the
.shtml so it could look like:
AddType text/html .shtml .htm .html
Then you have to paste this BELOW it. Make sure that it's on the line below "AddType text/html".
AddHandler server-parsed .shtml
If you added a .htm and .html extension to the first line, then also add it to the second line, so it
would all look like:
AddType text/html .shtml .htm .html
AddHandler server-parsed .shtml .htm .html
Now save the file as .htaccess.txt. It will/should end up with a .txt extension because windows
won't let you name it .htaccess. Upload the file to your base directory in ASCII mode, not Binary
our Auto.
Once it's on your server, rename the file to .htaccess. Now you should be able to use SSI on your
server!!