PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Edit location of template in CGI file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Edit location of template in CGI file

    I realize that the CGI script is a binary and uneditable by the end user, but is there any way to change the location of the template and the data files?

    The PHP, ASP, and javascript scripts are all editable, but the CGI script is not. Why is this?

    We don't have support for PHP or ASP at the moment, so that's why we're using the CGI script.

    Any ideas?

    Thanks.

  • #2
    The PHP, ASP, and javascript scripts are all editable, but the CGI script is not
    As you already started, the CGI 'script' is a binary and uneditable by the end user. The CGI is a compiled binary for better performance. See these past posts for more details.

    http://www.wrensoft.com/forum/viewtopic.php?t=454
    http://www.wrensoft.com/forum/viewtopic.php?t=234
    http://www.wrensoft.com/forum/viewtopic.php?t=94

    The CGI always assumes the data and template files will be in the same directory as the CGI. You could probably do some hard linking at the O/S file system level (in Linux / BSD Unix) to trick it however.

    --------
    David

    Comment

    Working...
    X