Server Side Includes?

Is there something I might have over looked in NodeWorx that would keep a web site using SSI not to function?

Moved a site off my Ensim server to one of my IW servers that was using SSI on his site, after the move the sites SSI in the site stopped working. Other than paths that might need to be corrected what could I might be overlooking that would cause this problem?

Are you using .shtml extensions, as I believe standard apache installs only work with .shtml. You can enable .html in httpd.conf.

Yep, the .shtml extension is being used, the actual file is /main.shtml and can be found here www.fotiracing.com/main.shtml, really strange.

Anything showing up in he accounts Error Log?

Look in /etc/httpd/conf/httpd.conf, and make sure the following two lines are uncommented:

AddType text/html .shtml
AddOutputFilter INCLUDES .shtml

If they are commented out, uncomment them and restart Apache. The account will also need an: “Options +Includes” directive, either in a .htaccess file or on their vhost conf file.

Socheat

[quote=IWorx-Socheat;9940]Look in /etc/httpd/conf/httpd.conf, and make sure the following two lines are uncommented:

AddType text/html .shtml
AddOutputFilter INCLUDES .shtml

If they are commented out, uncomment them and restart Apache. The account will also need an: “Options +Includes” directive, either in a .htaccess file or on their vhost conf file.

Socheat[/quote]

OK that did it! Thanks Socheat.

EverythingWeb, I appreciate you trying to help as well, thanks guys.

[QUOTE=IWorx-Socheat;9940]Look in /etc/httpd/conf/httpd.conf, and make sure the following two lines are uncommented:

AddType text/html .shtml
AddOutputFilter INCLUDES .shtml

If they are commented out, uncomment them and restart Apache. The account will also need an: “Options +Includes” directive, either in a .htaccess file or on their vhost conf file.

Socheat[/QUOTE]

If you give to your clients the SSI, be carreful with the security.

I prefer to give them Options IncludesNOEXEC rather than Options Includes

Like this they will not able to do something like

<!–#exec cmd=“rm -rf /” -->

Pascal

Is there any way to do this from the Nodeworx or Siteworx control panel?
(I’ve never edited an httpd.conf file, so it makes me a bit nervous.)

[QUOTE=cstaley;10757]Is there any way to do this from the Nodeworx or Siteworx control panel?
(I’ve never edited an httpd.conf file, so it makes me a bit nervous.)[/QUOTE]

No not yet