Campuses:
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
computing:web:web_publishing:dynamic_content [2012/12/11 17:48] – Document moved from computing:web:web_publishing:cgi allan | computing: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. | 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. | ||
+ | </ | ||
+ | |||
+ | <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. | ||
</ | </ | ||
Line 22: | Line 26: | ||
- | ===== CGI ===== | + | ===== Other content |
- | CGI stands for " | + | |
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: | ||
- | | + | |
- | * 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. | + | |
+ | Note that we do not support basic cgi on the groups.physics.umn.edu webserver. | ||