Setting where the CGIs live
Unless you have set User
CGIs to be true, enabling CGIs to be executed from anywhere inside
the document root, you need to explicity tell the server where the
CGIs live.
CGIs can live anywhere on your filesystem, and be mounted inside the
document root as a virtual directory. For example, imagine your CGI
scripts lived in a directory /usr/local/web/cgibin. Then you
could create a virtual directory using the administration server
called /cgi-bin, which would contain the executables in
/usr/local/web/cgibin, and whenever a request was made within
/cgi-bin the appropriate CGI binary would be executed.
The means of doing this in Zeus Server is by an function called
ScriptAliases. To set a scriptalias up, from the
front-page for the administration server, follow the links:
- Configuration
- Server Configuration
- Edit server (selecting the appropriate virtual server which you
desire to set CGIs up for).
- Database configuration
- Scriptaliases
Fill in this form, and choose the Add option. Select
the Back option at the bottom of the page to return
you to the ScriptAlias form entry page. Then in order to put this
change into effect, you need to restart the administration server.
Thus choose the START/STOP at the bottom of the page,
then select (Re)Start server.
Back to administration server guide