--- doc/loncapafiles/loncapafiles.lpml 2002/01/08 16:09:53 1.82 +++ doc/loncapafiles/loncapafiles.lpml 2002/03/01 01:45:39 1.104 @@ -1,7 +1,7 @@ - + - + + +!!! REDHAT 6.2 NOTICE !!! +!!! Sometimes an incorrect /etc/hosts file is incorrectly generated !!! +!!! This sometimes happens (bad): !!! +!!! 127.0.0.1 computer1 localhost.localdomain localhost !!! +!!! Should be: !!! +!!! 127.0.0.1 localhost.localdomain localhost !!! +!!! 35.2.3.80 computer1 computer1.notreal.msu.edu !!! + + !!!!!!!!! REDHAT 7.* NOTICE !!!!!!!!!!!!!!!!!!!! !!!!!!!!! LINE IN Cookie.pm !!!!!!!!!!!!!!!!!!!! !!!!!!!!! MUST BE REPLACED DUE !!!!!!!!!!!!!!!!!!!! @@ -44,18 +54,15 @@ http://www.lon-capa.org/ !!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!! The offending line is in CGI/Cookie.pm !! !!!! !! -!!!! it went from !! -!!!! !! -!!!! !! -!!!! # IE requires the path and domain to be present for some reason. !! -!!!! ($path = $ENV{'SCRIPT_NAME'})=~s![^/]+$!! unless $path; !! -!!!! !! +!!!! it should be changed from !! +!!!! $path = CGI::url(-absolute=>1) unless defined $path; !! !!!! to !! +!!!! ($path = $ENV{'SCRIPT_NAME'})=~s![^/]+$!! unless $path; !! !!!! !! -!!!! !! +!!!! (This is just below the following line ) !! !!!! # IE requires the path and domain to be present for some reason. !! -!!!! $path = CGI::url(-absolute=>1) unless defined $path; !! + / /home/user/loncapa/ @@ -115,6 +122,14 @@ http://www.lon-capa.org/ 0400www:www graphicfile + + 0644root:root + systemfile + + + 0644root:root + systemfile + 0644root:root systemfile @@ -177,11 +192,10 @@ Division of Science and Mathematics Educ Utilities/System LON-CAPA-base-3.1.tar.gz no - This package facilitates a base installation of LON-CAPA files in their directories.\n -The files in this package are only those directly associated with the network communication\n -layer established through direct server-to-server communications (via lond and lonc); plus\n -those which configure (but otherwise not constitute) external software packages like Apache\n -and Athena-Kerberos. For more on the LON-CAPA project, visit http://www.lon-capa.org/. + This package facilitates a base installation of LON-CAPA \n +files in their directories.\n +For more on the LON-CAPA project, visit http://www.lon-capa.org/. + echo '***********************************************************************'\n echo 'LON-CAPA LearningOnline with CAPA'\n echo 'http://www.lon-capa.org/'\n @@ -195,12 +209,13 @@ echo 'This installation assumes an insta echo ' '\n echo 'The server computer should be currently connected to the ethernet'\n echo ' '\n -echo 'The files in this package are only those directly associated with the network communication'\n -echo 'layer established through direct server-to-server communications (via lond and lonc); plus'\n -echo 'those which configure (but otherwise not constitute) external software packages like Apache'\n -echo 'and Athena-Kerberos.'\n echo '***********************************************************************'\n + +PreReq: LON-CAPA-setup +PreReq: apache +PreReq: /etc/httpd/conf/access.conf + @@ -305,6 +320,14 @@ echo '********************************** + home/httpd/html/lon-status/londchld + server standard + +Used by lond parent to check if children are responding to USR1 signals +(otherwise they are killed and replaced). + + + home/httpd/perl/tmp server standard location where temporary files (for caching) are stored @@ -473,6 +496,16 @@ LON-CAPA system. + usr/local/bin + standard + local binary files + + + usr/local/man/man1 + standard + local manual pages + + usr/man/man1 standard manual pages @@ -513,6 +546,15 @@ each list element consists of only two s +loncom/loncapa.conf +etc/httpd/conf/loncapa.conf +conf + +The goal of this file is to implement all LON-CAPA specific +customization of the Apache web server. + + + loncom/access.conf etc/httpd/conf/access.conf conf @@ -531,7 +573,7 @@ and browser detection logic. configure
- +
lonHostIDLON-internal HostID of this machine
lonRoleRole of this machine: library, @@ -628,6 +670,14 @@ parameter. +loncom/cgi/clusterstatus.pl +home/httpd/cgi-bin/clusterstatus.pl +script + +utility cgi script to view status of cluster + + + loncom/cgi/graph.gif home/httpd/cgi-bin/graph.gif script @@ -640,6 +690,22 @@ GDGraph-1.33 and GDTextUtils-0.80. +loncom/cgi/lonversions.pl +home/httpd/cgi-bin/lonversions.pl +script + +utility cgi script to view software versions of a remote server + + + +loncom/cgi/ping.pl +home/httpd/cgi-bin/ping.pl +script + +cgi-script to ping other server + + + loncom/cgi/plot.gif home/httpd/cgi-bin/plot.gif script @@ -786,7 +852,7 @@ and privileges available in the network loncom/hosts.tab home/httpd/lonTabs/hosts.tab -conf +static conf List of all machines in the LON-CAPA network. Relates lonHostID to lonDefDomain and IP address. @@ -801,7 +867,7 @@ Spare hosts to offload session to if the configure
- +
@@ -838,7 +904,7 @@ neighborhood which NTP server to contact for information (XNTP3 standard) -
list elements are separated by newlines
+
@@ -867,7 +933,7 @@ proxy server doc/man/lonc.1 usr/man/man1/lonc.1 -system file +doc man page for lonc loncom/build/pod2man.sh ../lonc > ../../doc/man/lonc.1 && echo 'manifying lonc' @@ -880,8 +946,8 @@ loncom/build/pod2man.sh ../lonc > ../../ doc/scripts/lonc.html home/httpd/html/adm/help/scripts/lonc.html -system file -man page for lonc +doc +POD-derived page for lonc loncom/build/pod2html.sh ../lonc > ../../doc/scripts/lonc.html && echo 'pod2html lonc' @@ -911,7 +977,7 @@ tmpput, tmpget, and ls). doc/man/lond.1 usr/man/man1/lond.1 -system file +doc man page for lond loncom/build/pod2man.sh ../lond > ../../doc/man/lond.1 && echo 'manifying lond' @@ -924,8 +990,8 @@ loncom/build/pod2man.sh ../lond > ../../ doc/scripts/lond.html home/httpd/html/adm/help/scripts/lond.html -system file -man page for lond +doc +POD-derived page for lond loncom/build/pod2html.sh ../lond > ../../doc/scripts/lond.html && echo 'pod2html lond' @@ -955,7 +1021,7 @@ loncom/build/pod2html.sh ../lond > ../.. doc/man/lonsql.1 usr/man/man1/lonsql.1 -system file +doc man page for lonsql loncom/build/pod2man.sh ../lonsql > ../../doc/man/lonsql.1 && echo 'manifying lonsql' @@ -968,8 +1034,8 @@ loncom/build/pod2man.sh ../lonsql > ../. doc/scripts/lonsql.html home/httpd/html/adm/help/scripts/lonsql.html -system file -man page for lonsql +doc +POD-derived page for lonsql loncom/build/pod2html.sh ../lonsql > ../../doc/scripts/lonsql.html && echo 'pod2html lonsql' @@ -1108,7 +1174,7 @@ retroactively add new parameters to alre loncom/publisher/copyright.tab home/httpd/html/res/adm/includes/copyright.tab -conf +static conf Table which contains list of copyright possibilities for educational resources. @@ -1180,7 +1246,7 @@ Handler to upload files through browser doc/man/Apache__lonupload.3 usr/man/man3/Apache::lonupload.3 -system file +doc man page for lonupload.pm loncom/build/pod2man.sh ../publisher/lonupload.pm > ../../doc/man/Apache__lonupload.3 && echo 'manifying lonupload.pm' @@ -1193,7 +1259,7 @@ loncom/build/pod2man.sh ../publisher/lon doc/api/Apache/lonupload.html home/httpd/html/adm/help/api/Apache/lonupload.html -system file +doc POD-derived page for lonupload.pm loncom/build/pod2html.sh ../publisher/lonupload.pm > ../../doc/api/Apache/lonupload.html && echo 'pod2html lonupload.pm' @@ -1213,6 +1279,24 @@ Handler to evaluate essay (ungraded) sty works/unverified +loncom/homework/externalresponse.pm +home/httpd/lib/perl/Apache/externalresponse.pm +handler + +Handler to evaluate externally graded responses. + +works/unverified + + +loncom/homework/loncapagrade.pm +home/httpd/lib/perl/Apache/loncapagrade.pm +handler + +Handler to evaluate externally graded responses. + +works/unverified + + loncom/publisher/lonpubdir.pm home/httpd/lib/perl/Apache/lonpubdir.pm handler @@ -1223,7 +1307,7 @@ Handler to publish directories. doc/man/Apache__lonpubdir.3 usr/man/man3/Apache::lonpubdir.3 -system file +doc man page for lonpubdir.pm loncom/build/pod2man.sh ../publisher/lonpubdir.pm > ../../doc/man/Apache__lonpubdir.3 && echo 'manifying lonpubdir.pm' @@ -1236,7 +1320,7 @@ loncom/build/pod2man.sh ../publisher/lon doc/api/Apache/lonpubdir.html home/httpd/html/adm/help/api/Apache/lonpubdir.html -system file +doc POD-derived page for lonpubdir.pm loncom/build/pod2html.sh ../publisher/lonpubdir.pm > ../../doc/api/Apache/lonpubdir.html && echo 'pod2html lonpubdir.pm' @@ -1258,7 +1342,7 @@ Handler to retrieve old versions from re doc/man/Apache__lonretrieve.3 usr/man/man3/Apache::lonretrieve.3 -system file +doc man page for lonretrieve.pm loncom/build/pod2man.sh ../publisher/lonretrieve.pm > ../../doc/man/Apache__lonretrieve.3 && echo 'manifying lonretrieve.pm' @@ -1271,7 +1355,7 @@ loncom/build/pod2man.sh ../publisher/lon doc/api/Apache/lonretrieve.html home/httpd/html/adm/help/api/Apache/lonretrieve.html -system file +doc POD-derived page for lonretrieve.pm loncom/build/pod2html.sh ../publisher/lonretrieve.pm > ../../doc/api/Apache/lonretrieve.html && echo 'pod2html lonretrieve.pm' @@ -1290,6 +1374,32 @@ Helper functions when in homework edit m +doc/man/Apache__edit.3 +usr/man/man3/Apache::edit.3 +doc +man page for edit.pm + +loncom/build/pod2man.sh ../homework/edit.pm > ../../doc/man/Apache__edit.3 && echo 'manifying edit.pm' + +works/unverified + +../../loncom/homework/edit.pm + + + +doc/api/Apache/edit.html +home/httpd/html/adm/help/api/Apache/edit.html +doc +POD-derived page for edit.pm + +loncom/build/pod2html.sh ../homework/edit.pm > ../../doc/api/Apache/edit.html && echo 'pod2html edit.pm' + +works/unverified + +../../loncom/homework/edit.pm + + + loncom/interface/lonmeta.pm home/httpd/lib/perl/Apache/lonmeta.pm handler @@ -1364,7 +1474,7 @@ user, domain, home_server, course_id. doc/man/Apache__loncommon.3 usr/man/man3/Apache::loncommon.3 -system file +doc man page for loncommon.pm loncom/build/pod2man.sh ../interface/loncommon.pm > ../../doc/man/Apache__loncommon.3 && echo 'manifying loncommon.pm' @@ -1377,7 +1487,7 @@ loncom/build/pod2man.sh ../interface/lon doc/api/Apache/loncommon.html home/httpd/html/adm/help/api/Apache/loncommon.html -system file +doc POD-derived page for loncommon.pm loncom/build/pod2html.sh ../interface/loncommon.pm > ../../doc/api/Apache/loncommon.html && echo 'pod2html loncommon.pm' @@ -1527,7 +1637,7 @@ Handles a searchable catalogue. doc/man/Apache__lonsearchcat.3 usr/man/man3/Apache::lonsearchcat.3 -system file +doc man page for lonsearchcat.pm loncom/build/pod2man.sh ../interface/lonsearchcat.pm > ../../doc/man/Apache__lonsearchcat.3 && echo 'manifying lonsearchcat.pm' @@ -1540,7 +1650,7 @@ loncom/build/pod2man.sh ../interface/lon doc/api/Apache/lonsearchcat.html home/httpd/html/adm/help/api/Apache/lonsearchcat.html -system file +doc POD-derived page for lonsearchcat.pm loncom/build/pod2html.sh ../interface/lonsearchcat.pm > ../../doc/api/Apache/lonsearchcat.html && echo 'pod2html lonsearchcat.pm' @@ -1609,7 +1719,7 @@ Handler to resolve ambiguous file locati doc/man/Apache__lonparmset.3 usr/man/man3/Apache::lonparmset.3 -system file +doc man page for lonparmset.pm loncom/build/pod2man.sh ../interface/lonparmset.pm > ../../doc/man/Apache__lonparmset.3 && echo 'manifying lonparmset.pm' @@ -1622,7 +1732,7 @@ loncom/build/pod2man.sh ../interface/lon doc/api/Apache/lonparmset.html home/httpd/html/adm/help/api/Apache/lonparmset.html -system file +doc POD-derived page for lonparmset.pm loncom/build/pod2html.sh ../interface/lonparmset.pm > ../../doc/api/Apache/lonparmset.html && echo 'pod2html lonparmset.pm' @@ -1654,7 +1764,7 @@ Publishes an LON-CAPA educational resour doc/man/Apache__lonpublisher.3 usr/man/man3/Apache::lonpublisher.3 -system file +doc man page for lonpublisher.pm loncom/build/pod2man.sh ../publisher/lonpublisher.pm > ../../doc/man/Apache__lonpublisher.3 && echo 'manifying lonpublisher.pm' @@ -1667,7 +1777,7 @@ loncom/build/pod2man.sh ../publisher/lon doc/api/Apache/lonpublisher.html home/httpd/html/adm/help/api/Apache/lonpublisher.html -system file +doc POD-derived page for lonpublisher.pm loncom/build/pod2html.sh ../publisher/lonpublisher.pm > ../../doc/api/Apache/lonpublisher.html && echo 'pod2html lonpublisher.pm' @@ -1753,7 +1863,7 @@ bundles pages into one page doc/man/Apache__lonpage.3 usr/man/man3/Apache::lonpage.3 -system file +doc man page for lonpage.pm loncom/build/pod2man.sh ../../rat/lonpage.pm > ../../doc/man/Apache__lonpage.3 && echo 'manifying lonpage.pm' @@ -1766,7 +1876,7 @@ loncom/build/pod2man.sh ../../rat/lonpag doc/api/Apache/lonpage.html home/httpd/html/adm/help/api/Apache/lonpage.html -system file +doc POD-derived page for lonnet.pm loncom/build/pod2html.sh ../../rat/lonpage.pm > ../../doc/api/Apache/lonpage.html && echo 'pod2html lonpage.pm' @@ -1788,7 +1898,7 @@ compile course into binary data structur doc/man/Apache__lonuserstate.3 usr/man/man3/Apache::lonuserstate.3 -system file +doc man page for lonnet.pm loncom/build/pod2man.sh ../../rat/lonuserstate.pm > ../../doc/man/Apache__lonuserstate.3 && echo 'manifying lonuserstate.pm' @@ -1801,7 +1911,7 @@ loncom/build/pod2man.sh ../../rat/lonuse doc/api/Apache/lonuserstate.html home/httpd/html/adm/help/api/Apache/lonuserstate.html -system file +doc POD-derived page for lonuserstate.pm loncom/build/pod2html.sh ../../rat/lonuserstate.pm > ../../doc/api/Apache/lonuserstate.html && echo 'pod2html lonuserstate.pm' @@ -1900,8 +2010,8 @@ image. handles requests for output, evaluation, and alteration of a homework resource - works/unverified + loncom/homework/inputtags.pm home/httpd/lib/perl/Apache/inputtags.pm @@ -1964,7 +2074,7 @@ as coordinating access to educational re doc/man/Apache__lonacc.3 usr/man/man3/Apache::lonacc.3 -system file +doc man page for lonacc.pm loncom/build/pod2man.sh ../auth/lonacc.pm > ../../doc/man/Apache__lonacc.3 && echo 'manifying lonacc.pm' @@ -1977,7 +2087,7 @@ loncom/build/pod2man.sh ../auth/lonacc.p doc/api/Apache/lonacc.html home/httpd/html/adm/help/api/Apache/lonacc.html -system file +doc POD-derived page for lonacc.pm loncom/build/pod2html.sh ../auth/lonacc.pm > ../../doc/api/Apache/lonacc.html && echo 'pod2html lonacc.pm' @@ -1997,6 +2107,32 @@ access handler for file transfers works/unverified +doc/man/Apache__lonracc.3 +usr/man/man3/Apache::lonracc.3 +doc +man page for lonracc.pm + +loncom/build/pod2man.sh ../auth/lonracc.pm > ../../doc/man/Apache__lonracc.3 && echo 'manifying lonracc.pm' + +works/unverified + +../../loncom/auth/lonracc.pm + + + +doc/api/Apache/lonracc.html +home/httpd/html/adm/help/api/Apache/lonracc.html +doc +POD-derived page for lonracc.pm + +loncom/build/pod2html.sh ../auth/lonracc.pm > ../../doc/api/Apache/lonracc.html && echo 'pod2html lonracc.pm' + +works/unverified + +../../loncom/auth/lonracc.pm + + + loncom/auth/loncacc.pm home/httpd/lib/perl/Apache/loncacc.pm handler @@ -2015,6 +2151,32 @@ for the "priv"-type access, the resource works/unverified +doc/man/Apache__loncacc.3 +usr/man/man3/Apache::loncacc.3 +doc +man page for loncacc.pm + +loncom/build/pod2man.sh ../auth/loncacc.pm > ../../doc/man/Apache__loncacc.3 && echo 'manifying loncacc.pm' + +works/unverified + +../../loncom/auth/loncacc.pm + + + +doc/api/Apache/loncacc.html +home/httpd/html/adm/help/api/Apache/loncacc.html +doc +POD-derived page for loncacc.pm + +loncom/build/pod2html.sh ../auth/loncacc.pm > ../../doc/api/Apache/loncacc.html && echo 'pod2html loncacc.pm' + +works/unverified + +../../loncom/auth/loncacc.pm + + + loncom/auth/lonauth.pm home/httpd/lib/perl/Apache/lonauth.pm handler @@ -2056,6 +2218,32 @@ class. +doc/man/Apache__lonroles.3 +usr/man/man3/Apache::lonroles.3 +doc +man page for lonroles.pm + +loncom/build/pod2man.sh ../auth/lonroles.pm > ../../doc/man/Apache__lonroles.3 && echo 'manifying lonroles.pm' + +works/unverified + +../../loncom/auth/lonroles.pm + + + +doc/api/Apache/lonroles.html +home/httpd/html/adm/help/api/Apache/lonroles.html +doc +POD-derived page for lonroles.pm + +loncom/build/pod2html.sh ../auth/lonroles.pm > ../../doc/api/Apache/lonroles.html && echo 'pod2html lonroles.pm' + +works/unverified + +../../loncom/auth/lonroles.pm + + + loncom/interface/lonindexer.pm home/httpd/lib/perl/Apache/lonindexer.pm handler @@ -2067,7 +2255,7 @@ cross server filesystem browser doc/man/Apache__lonindexer.3 usr/man/man3/Apache::lonindexer.3 -system file +doc man page for lonindexer.pm loncom/build/pod2man.sh ../interface/lonindexer.pm > ../../doc/man/Apache__lonindexer.3 && echo 'manifying lonindexer.pm' @@ -2080,7 +2268,7 @@ loncom/build/pod2man.sh ../interface/lon doc/api/Apache/lonindexer.html home/httpd/html/adm/help/api/Apache/lonindexer.html -system file +doc POD-derived page for lonindexer.pm loncom/build/pod2html.sh ../interface/lonindexer.pm > ../../doc/api/Apache/lonindexer.html && echo 'pod2html lonindexer.pm' @@ -2121,7 +2309,7 @@ symbols to and from more descriptive phr doc/man/Apache__lonnet.3 usr/man/man3/Apache::lonnet.3 -system file +doc man page for lonnet.pm loncom/build/pod2man.sh ../lonnet/perl/lonnet.pm > ../../doc/man/Apache__lonnet.3 && echo 'manifying lonnet.pm' @@ -2134,7 +2322,7 @@ loncom/build/pod2man.sh ../lonnet/perl/l doc/api/Apache/lonnet.html home/httpd/html/adm/help/api/Apache/lonnet.html -system file +doc POD-derived page for lonnet.pm loncom/build/pod2html.sh ../lonnet/perl/lonnet.pm > ../../doc/api/Apache/lonnet.html && echo 'pod2html lonnet.pm' @@ -2725,6 +2913,7 @@ p.gif; parm.gif; pgrd.gif; pparm.gif; +pref.gif; prev.gif; prt.gif; q.gif; @@ -2935,40 +3124,46 @@ javascript for handling client-side inte -loncom/build/loncapaverifypackages -usr/sbin/loncapaverifypackages -script +loncom/build/check-rpms +usr/local/bin/check-rpms +root script -checks the system RPMs against what install.lon-capa.org specifies +compare installed rpms with up-to-date distribution -deprecated +tested/documented/beta -loncom/build/loncaparestoreconfigurations -usr/sbin/loncaparestoreconfigurations -script - -restores .rpmsave files after a LON-CAPA-base upgrade - -deprecated +doc/man/check-rpms.1 +usr/local/man/man1/check-rpms.1 +doc +man page for check-rpms + +loncom/build/pod2man.sh check-rpms > ../../doc/man/check-rpms.1 && echo 'manifying check-rpms' + +beta + +../../loncom/build/check-rpms + -loncom/build/loncapaautoupgrade -usr/sbin/loncapaautoupgrade -script - -does all the things to coordinate updating of LON-CAPA base files. Should be -used with caution so that you do not lose work - -deprecated +doc/scripts/check-rpms.html +home/httpd/html/adm/help/scripts/check-rpms.html +doc +POD-derived page for check-rpms + +loncom/build/pod2html.sh check-rpms > ../../doc/scripts/check-rpms.html && echo 'pod2html checkrpms' + +works/unverified + +../../loncom/build/check-rpms + -loncom/build/loncapaverify -usr/sbin/loncapaverify +loncom/build/loncaparestoreconfigurations +usr/sbin/loncaparestoreconfigurations script -makes verification report using loncapaverifypackages and -loncapaverifybasepackage +restores .rpmsave files after a LON-CAPA-base upgrade deprecated
only one line needs to be changed to specify a server ip address