[RESOLVED] Setting up SSI

Status
Not open for further replies.
#1
Probably simple but couldn't see the answer anywhere:

How do I setup SSI to process .shtml files for say the PHP_SuEXEC virtual host template?

Thanks
Luke
 
Last edited by a moderator:
#2
It's all a bit quiet...is my question that dumb or does nobody know? :)

I know you used to have to pass over requests to Apache but I'm pretty sure I read that you can now process SSI with version 4.x - that's correct isn't it?
 
#5
@anewday apologies for my perceived lack of patience

@mistwang thank you again; figured it out from what you said:

Go to the conf folder of your litespeed installation directory e.g.

cd /usr/local/lsws/conf

And edit the mime.properties file and append:

shtml = application/x-httpd-shtml

Obviously you may still need to update your virtual host template to include index.shtml files as an index file (from the web admin go to virtual host templates, edit, general, scroll down to 'index files' and edit the 'index files' list).

Hopefully that's helpful to someone else (or me later)

Cheers
Luke
 
Status
Not open for further replies.
Top