[system] / trunk / ww_question_server / README Repository:
ViewVC logotype

View of /trunk/ww_question_server/README

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5169 - (download) (annotate)
Fri Jul 13 20:37:39 2007 UTC (5 years, 10 months ago) by mleventi
File size: 1587 byte(s)
Added bit about external programs

    1 Webwork Problem Server
    2 -----------------------------------
    3 
    4 1) Setup
    5     a) Change permissions for directories writable by server
    6         chmod -R 777 htdocs/tmp
    7         chmod -R 777 tmp
    8 
    9 
   10 2) Configuration
   11     The main changes in configuration are in the top of global.conf and in problemserver.apache2-config
   12     In problemserver.apache2-config:
   13         $problemserver_dir  = The root directory where the problemserver is installed.
   14         $pg_dir             = The root directory where the pg is installed.
   15         The Alias command should be changed to point to the root directory of problemserver + "/htdocs"
   16             ex) Alias /problemserver_files /home/you/problemserver/htdocs
   17         The Directory line should be changed to be the same as the second part of the Alias command above
   18             ex) <Directory /home/you/problemserver/htdocs>
   19     In global.conf
   20         $problemServer{host}	= The host the problem server is installed on
   21             ex) "http://www.example.org";
   22         $pg_dir              	= Same as the $pg_dir for problemserver.apache2-config
   23 	$problemServerDirs{root}= Same as the $problemserver_dir for problemserver.apache2-config
   24 
   25         Note: Make sure the paths to the external programs are set correctly for your system.
   26         Optionally: On line 163 you can add more paths to look for macro files.
   27 
   28     Finally you need to add an Include statement to your apache2.conf file. This should be located in /etc/apache2/apache2.conf under most systems.
   29         ex) Include /home/you/problemserver/conf/problemserver.apache2-config
   30 
   31 3) Restart Apache2

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9