Go to the U of M home page
School of Physics & Astronomy
School of Physics and Astronomy Wiki

User Tools


computing:web:web_publishing:dynamic_content

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
computing:web:web_publishing:dynamic_content [2012/12/11 17:48] – Document moved from computing:web:web_publishing:cgi allancomputing:web:web_publishing:dynamic_content [2015/01/29 14:43] (current) allan
Line 8: Line 8:
 <note important> <note important>
 Because dynamic websites are taking input from anonymous users on the internet, and executing code, there is a very strong need to focus on security and safety.  Please make sure you don't inadvertently allow access to private data or files. If you plan to use a 3rd party application you are responsible for checking regularly for security updates for it. Because dynamic websites are taking input from anonymous users on the internet, and executing code, there is a very strong need to focus on security and safety.  Please make sure you don't inadvertently allow access to private data or files. If you plan to use a 3rd party application you are responsible for checking regularly for security updates for it.
 +</note>
 +
 +<note warning>
 +This environment is provided only for writing your own, relatively simple, web applications and scripts. We strongly discourage you from installing any large applications such as your own copies of dokuwiki drupal, wordpress, etc, as we cannot guarantee that the system dependencies for such packages will remain available over time.
 </note> </note>
  
Line 22: Line 26:
  
  
-===== CGI ===== +===== Other content =====
-CGI stands for "Common Gateway Interface" - it is a standard for what input programs should expect, and what they may output, in order to act as active web content engines.   In common terms, CGI is the use of a program written in any language such as Perl, Python, C, C++ to act as a dynamic website engine.+
  
 Execution of CGI programs is possible from personal web areas, provided certain fairly stringent conditions are followed. CGI programs are executed via the Apache suEXEC feature. The documentation at the Apache site details the conditions under which suEXEC will run a user-supplied CGI program. The main things to watch for are: Execution of CGI programs is possible from personal web areas, provided certain fairly stringent conditions are followed. CGI programs are executed via the Apache suEXEC feature. The documentation at the Apache site details the conditions under which suEXEC will run a user-supplied CGI program. The main things to watch for are:
  
-    * CGIs must be run from a directory named cgi-bin (within your public_html directory). +  * CGIs must be run from a directory named cgi-bin (within your public_html directory). 
-    * The cgi-bin directory must not be writable by anyone other than yourself. +  * The cgi-bin directory must not be writable by anyone other than yourself. 
-    * The program file itself must not be writable by anyone other than yourself. +  * The program file itself must not be writable by anyone other than yourself. 
-    * The program file must be owned by you. +  * The program file must be owned by you. 
-    * The program file can't be setuid or setgid. +  * The program file can't be setuid or setgid. 
-    * The program filename must end in .cgi  +  * The program filename must end in .cgi 
- +
-None of these restrictions is hard to satisfy, but they help to prevent a defective CGI program from affecting other users. Inherent in this is a warning - the CGI program will be running under your user ID, so be sure that it isn't going to do anything unexpected with or to your files! +
- +
-Note that we do not support cgi on the groups.physics.umn.edu webserver. (but PHP is supported) +
- +
-===== Mod-Perl ===== +
-Mod-Perl is a special way to run perl programs especially designed for use on the web.  We do have mod-perl support on the department webserver, however it is not enabled automatically for groups or personal webpages.  If you have a special need please contact us.+
  
 +Note that we do not support basic cgi on the groups.physics.umn.edu webserver.
  
computing/web/web_publishing/dynamic_content.1355269709.txt.gz · Last modified: 2012/12/11 17:48 by allan