[source/cheap_hosting_help/1/include_header.htm][source/cheap_hosting_help/1/include_header.htm]
 
 

 Cheap Website       Cheap WordPress Hosting        Cheap Website Builder - Easy, Instant!    
Cheap Dedicated Servers       Cheap Virtual Private Servers      
Blogcast and Podcast 

 
Cheap Domains | Availability Check:
 
  

Frequently Asked Questions

Help Center Search

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

Print this Article
$1 Domain Registration
Last Updated: February 11, 2017 10:14 AM

If you are running Hosting Configuration 2.0, "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/htmlnn"
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 site.

 

Cheap Domain Names