Add the .shtml extension to your httpd.conf file (if running Apache) either before the other 2 extensions, or after them and then get rid of any other index.*** files in the root.
Whoops.... you said ANY directory... okay... same thing... add the extension to the httpd.conf file, and make sure your .shtml extensioned index file is the only index in the specified directory.
It may already be set up for those extensions... if you upload one with an .shtml extension or even just rename one to .shtml, you can test it quick and see if it'll work... if not... then the begging process begins.
Most ARE set up to handle server side includes.... unless it's a freehost... I don't really know if they allow it or not. Maybe oscar or somebody can enlighten us with some o' that good knowledge. I'm sure it couldn't hurt to ask. But either way...
You can avoid parsing *.shtml with AddHandler and just config
for XBitHack. This saves from having to add the extra suffix
to pages w/includes. It's also httpd.conf or .htaccess configurable.
httpd.conf
Options +Includes
XBitHack on
.htaccess
AllowOverride Options
Options +Includes
XBitHack on
If your the paranoid type...
httpd.conf
Options +IncludesNOExec
XBitHack on
.htaccess
AllowOverride Options
Options +IncludesNOExec
XBitHack on
edited out 1 too many options
[This message has been edited by Wilber (edited 12-09-2001).]
Comment