Log of /trunk/webwork2/conf/webwork.apache-config.dist
Parent Directory
Revision
5680 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat May 24 02:25:43 2008 UTC (4 years, 11 months ago) by
gage
File length: 4762 byte(s)
Diff to
previous 5319
Inserted commented out code that, when uncommented, will enable the WebworkSOAP interface
that communicates with Moodle.
Revision
5217 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 24 17:47:54 2007 UTC (5 years, 9 months ago) by
sh002i
File length: 5171 byte(s)
Diff to
previous 5098
define all 7 seed vars here, don't load a $ce, rename pg_dir to
webwork_pg_dir, fix "Allow from all" issue, use "SetHandler None" in
static locations regardless of value of webwork_url.
Revision
4491 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Sep 13 23:40:26 2006 UTC (6 years, 8 months ago) by
sh002i
File length: 5322 byte(s)
Diff to
previous 4437
precompile many modules at server start time. this allows more compiled
code (parse trees, bytecode, etc.) to be shared among child processes,
and speeds child start time, since that compilation has already been
done in the master process.
you may want to turn this off for development, since it makes the server
take a really long time to start.
Revision
4335 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Aug 3 16:28:48 2006 UTC (6 years, 9 months ago) by
sh002i
File length: 5242 byte(s)
Diff to
previous 4077
clean up webservice access, add my WeBWorK::RPC module,use PerlModule
lines rather than eval "use ..."; die $@ if $@;
also comment out $ENV{WEBWORK_ROOT} by default -- it's only necessary if
webservice modules are being used
Revision
3973 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Jan 25 23:13:56 2006 UTC (7 years, 3 months ago) by
sh002i
File length: 5350 byte(s)
Diff to
previous 3664
forward-port from rel-2-2-dev: (update copyright date range -- 2000-2006.
this is probably overkill, since there are some files that were created
after 2000 and some files that were last modified before 2006.)
Revision
3254 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Jun 2 16:37:11 2005 UTC (7 years, 11 months ago) by
gage
File length: 5186 byte(s)
Diff to
previous 3229
Allows connection of WeBWorK with Moodle via SOAP. This
feature is still under development.
Revision
3087 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Jan 11 22:46:29 2005 UTC (8 years, 4 months ago) by
gage
File length: 4246 byte(s)
Diff to
previous 3070
Fixing an error in defining $ENV{WEBWORK_ROOT}. Now it points to the
generic '/opt/webwork2'
Revision
2515 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Jul 15 21:22:42 2004 UTC (8 years, 10 months ago) by
sh002i
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, 10 months ago) by
sh002i
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.