[system] / branches / rel-2-1-a1 / webwork2 / conf / webwork.apache-config.dist Repository:
ViewVC logotype

Log of /branches/rel-2-1-a1/webwork2/conf/webwork.apache-config.dist

Parent Directory Parent Directory


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 2561 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 30 21:21:15 2004 UTC (8 years, 10 months ago) by sh002i
File length: 3543 byte(s)
Diff to previous 2549
updated from HEAD (taking out extra spaces)

Revision 2549 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 26 15:11:20 2004 UTC (8 years, 10 months ago) by gage
File length: 3638 byte(s)
Diff to previous 2535
Reconciled all files with rel-2-0-patches.  This version works
at least somewhat on new databases.  You will get warnings (gdbm)
or failures (sql) if you use this on databases created with old versions
of WeBWorK.

Revision 2535 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 18 13:32:26 2004 UTC (8 years, 11 months ago) by gage
File length: 3623 byte(s)
Diff to previous 2517
ATTN: MAJOR CHANGES PLEASE READ
Commiting conf files to the rel-2-1-a1
branch. These configuration
files, bring the 2.1 branch in sync with the changes made to 2.0
up until the release in 2.0.  You will need to spend some
time readjusting your configuration files for your 2.1 alpha
installations once you update.

Revision 2517 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 16 00:59:15 2004 UTC (8 years, 11 months ago) by
File length: 3623 byte(s)
Copied from: trunk/webwork2/conf/webwork.apache-config.dist revision 2516
Diff to previous 2516
This commit was manufactured by cvs2svn to create branch 'rel-2-1-a1'.

Revision 2516 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 16 00:59:14 2004 UTC (8 years, 11 months ago) by sh002i
Original Path: trunk/webwork2/conf/webwork.apache-config.dist
File length: 3623 byte(s)
Diff to previous 2515
set default paths to /opt/{webwork2,pg}

Revision 2515 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 15 21:22:42 2004 UTC (8 years, 11 months ago) by sh002i
Original Path: trunk/webwork2/conf/webwork.apache-config.dist
File length: 3636 byte(s)
Diff to previous 2497
YET ANOTHER CONFIG CHANGE -- PLEASE READ.

This chagne allows command-line scripts to continue to work without
defining a bunch of environment variables. Hopefully this will be the
last change...

Now only $webwork_dir is set in webwork.apache-config. That file then
uses this value to read the course environment and get the rest of the
configuration values that it needs out of global.conf. global.conf now
has variables like $webwork_url, $pg_dir, etc. at the top.

In summary:

* In httpd.conf, include webwork.apache-config.
* In webwork.apache-config set $webwork_dir to the path to webwork2.
* In global.conf, set $webwork_url, $pg_dir, $webwork_htdocs_url,
  $webwork_htdocs_dir, $webwork_courses_url, and $webwork_courses_dir.

Revision 2497 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 12 04:16:14 2004 UTC (8 years, 11 months ago) by sh002i
Original Path: trunk/webwork2/conf/webwork.apache-config.dist
File length: 3740 byte(s)
Diff to previous 2491
change name of htpasswd file to .htpasswd (as is typical).

Revision 2491 - (view) (download) (annotate) - [select for diffs]
Added Mon Jul 12 02:30:32 2004 UTC (8 years, 11 months ago) by sh002i
Original Path: trunk/webwork2/conf/webwork.apache-config.dist
File length: 3733 byte(s)
MORE CONFIG CHANGES -- PLEASE READ.

I've changed the way WeBWorK is configured yet again. The Apache
configuration for WeBWorK is now done with <Perl> sections. This solves
the problem of "seeding" global.conf with initial values for the various
root directories and base URLs. it also eliminates redundancy in the
Apache configuration file itself.

The Apache configuration for WeBWorK is now contained in the file
conf/webwork.apache-config. This file is used both for normal systems,
where WeBWorK is integrated into the main Apache server, and development
systems, where each developer runs his or her own Apache server.

Inside webwork.apache-config, seven configuation variables are set:

     $webwork_url            The base URL handled by Apache::WeBWorK.
     $webwork_dir            The path to the base webwork2 directory.
     $pg_dir                 The path to the base pg directory.

     $webwork_htdocs_url     The base URL of the WeBWorK htdocs directory.
     $webwork_htdocs_dir     The path to the WeBWorK htdocs directory.

     $webwork_courses_url    The base URL of the WeBWorK courses directory.
     $webwork_courses_dir    The path to the WeBWorK courses directory.

These variables are used to configure the <Location>, Alias, AliasMatch,
and <Directory> directives necessary for WeBWorK operation.
$webwork_root and $pg_root are also used in "use lib" lines to add the
WeBWorK and PG lib directories to @INC.

Additionally, the above values are shared with WeBWorK via the
%WeBWorK::SeedCE hash. WeBWorK.pm passes the contents of this hash
(along with a value for "courseName") to CourseEnvironment.pm when
initializing the course environment. In turn, CourseEnvironment.pm seeds
the course environment namespace with these variables before evaluating
global.conf and course.conf.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9