Log of /branches/rel-2-1-a1/webwork2/conf/webwork.apache-config.dist
Parent Directory
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
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
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.