[LON-CAPA-cvs] cvs: loncom / loncapa_apache.conf /interface londocs.pm

www lon-capa-cvs@mail.lon-capa.org
Tue, 27 Aug 2002 13:01:27 -0000


www		Tue Aug 27 09:01:27 2002 EDT

  Modified files:              
    /loncom	loncapa_apache.conf 
    /loncom/interface	londocs.pm 
  Log:
  Register handlers for syllabus and "about me"
  
  
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.15 loncom/loncapa_apache.conf:1.16
--- loncom/loncapa_apache.conf:1.15	Sun Aug 11 14:52:02 2002
+++ loncom/loncapa_apache.conf	Tue Aug 27 09:01:26 2002
@@ -1,7 +1,7 @@
 ##
 ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
 ##
-## $Id: loncapa_apache.conf,v 1.15 2002/08/11 18:52:02 www Exp $
+## $Id: loncapa_apache.conf,v 1.16 2002/08/27 13:01:26 www Exp $
 ##
 ## 1/11/2002 - Scott Harrison
 ## 2/19/2002 - Scott Harrison
@@ -60,6 +60,22 @@
 
 <LocationMatch "^/uploaded.*">
 PerlAccessHandler	Apache::lonuploadedacc
+ErrorDocument     404 /adm/notfound.html
+ErrorDocument	  500 /adm/errorhandler
+</LocationMatch>
+
+<LocationMatch "^/uploaded.*\.syllabus">
+PerlAccessHandler	Apache::lonuploadedacc
+SetHandler              perl-script
+PerlHandler             Apache::lonsyllabus
+ErrorDocument     404 /adm/notfound.html
+ErrorDocument	  500 /adm/errorhandler
+</LocationMatch>
+
+<LocationMatch "^/uploaded.*\.aboutme">
+PerlAccessHandler	Apache::lonuploadedacc
+SetHandler              perl-script
+PerlHandler             Apache::lonaboutme
 ErrorDocument     404 /adm/notfound.html
 ErrorDocument	  500 /adm/errorhandler
 </LocationMatch>
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.11 loncom/interface/londocs.pm:1.12
--- loncom/interface/londocs.pm:1.11	Tue Aug 27 08:18:13 2002
+++ loncom/interface/londocs.pm	Tue Aug 27 09:01:26 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.11 2002/08/27 12:18:13 www Exp $
+# $Id: londocs.pm,v 1.12 2002/08/27 13:01:26 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -266,6 +266,10 @@
 <form action="/adm/coursedocs" method="post" name="newsyl">
 <input name="newsyl" type="button" onClick="javascript:newsyl();"
 value="Syllabus" />
+</form>
+<form action="/adm/coursedocs" method="post" name="newaboutme">
+<input name="newaboutme" type="button" onClick="javascript:newaboutme();"
+value="My Personal Info" />
 </form>
 </td></tr>
 </table>