Website Domain Registration and Website Hosting - Host a Website Tonight

Frequently Asked Questions

Help Center Search

Why can I no longer use exec cmd in my SSI/SHTML files?

Print this Article
Comment on this Article

If you are running Hosting Configuration 2.0 and above, "exec cmd" has been disabled for security reasons. You can still execute cgi scripts using "exec cgi." Server-side scripts can also be run through include files. The syntax for this is shown below:

<!--#include virtual="[file path/file name]"-->
The include file should have the following as its first line of code:
print "content-type: text/html\n\n"
The advantage of using include files is that you can pass query string values. These files must reside in a directory from which you can run cgi scripts. Under Hosting Configuration 2.0, this can be any directory on your Website.

 

Domain Registration Domain Registration
Pay less for website domain names. Register your own .com, .net or .org for as low as $8.67/yr. A free Email Account is included.
Website Hosting Website Tonight
For as little as $3.89 per month you can build your Website online with Website Tonight using our easy to use professionally designed templates.
Play Video
Shopping Cart Software Quick Shopping Cart
Build and run your own successful online store in minutes! You're just five easy steps away!
Play Video
Website Hosting Website Hosting
Everything you need to give your Website the reliable, high-performance home it deserves!