CGI and PHP programs are programs that are run by a web server. The following rules apply when such programs are published on the DSV web server:

  • CGI/PHP programs are allowed for all users on the web server
  • CGI program files must have the extension "cgi" and PHP programs the extension "php".
  • CGI/PHP programs must be run on DSV's special application server "". For example, to run a CGI program in the file ~karl-sve/public_html/cgi-bin/count.cgi the following URL must be called:
  • CGI programs can be written in Perl, Java, Python, C, C++, etc.
  • Directories containing CGI/PHP programs must be executable by the owner (have the x-bit for the  owner set)
  • CGI/PHP programs must not use the setuid and the setgid.
  • The files must not be writeable by the group or by others.