[system] / trunk / webwork-modperl / conf / httpd-wwmp-sample.conf Repository:
ViewVC logotype

Diff of /trunk/webwork-modperl/conf/httpd-wwmp-sample.conf

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 648 Revision 649
1# The best way to turn this into a working webwork server config file 1# The best way to turn this into a working webwork server config file is to do
2# is to do a global find/replace on the string !WEBWORK_ROOT! with the 2# a global find/replace on the following strings:
3# root of your personal webwork-modperl tree. For example, 3# !WEBWORK_ROOT! -> the root of your personal webwork-modperl tree
4# /home/malsyned/webwork-modperl 4# !WEBWORK_USER! -> your user name
5 5
6Include /usr/local/etc/apache/httpd-wwmp-header.conf 6Include /usr/local/etc/apache/httpd-wwmp-header.conf
7 7
8Port 5000 8Port 5000
9User malsyned 9User !WEBWORK_USER!
10Group malsyned 10Group !WEBWORK_USER!
11 11
12ServerAdmin malsyned@cif.rochester.edu 12ServerAdmin !WEBWORK_USER!@localhost
13 13
14LockFile !WEBWORK_ROOT!/logs/httpd.lock 14LockFile !WEBWORK_ROOT!/logs/httpd.lock
15PidFile !WEBWORK_ROOT!/logs/httpd.pid 15PidFile !WEBWORK_ROOT!/logs/httpd.pid
16ErrorLog !WEBWORK_ROOT!/logs/httpd-error.log 16ErrorLog !WEBWORK_ROOT!/logs/httpd-error.log
17 17
19# invocations of Apache. webwork-dev doens't appear to be one of those 19# invocations of Apache. webwork-dev doens't appear to be one of those
20# systems. 20# systems.
21#ScoreBoardFile /var/run/httpd.scoreboard 21#ScoreBoardFile /var/run/httpd.scoreboard
22 22
23PerlFreshRestart On 23PerlFreshRestart On
24<Location /webwork> 24<Location /webwork-!WEBWORK_USER!>
25 SetHandler perl-script 25 SetHandler perl-script
26 PerlHandler Apache::WeBWorK 26 PerlHandler Apache::WeBWorK
27 27
28 PerlSetVar webwork_root !WEBWORK_ROOT! 28 PerlSetVar webwork_root !WEBWORK_ROOT!
29 <Perl> 29 <Perl>
47# DocumentRoot does have to exist, and not have a subdirectory 47# DocumentRoot does have to exist, and not have a subdirectory
48# named "webwork". It suffices. 48# named "webwork". It suffices.
49DocumentRoot "htdocs" 49DocumentRoot "htdocs"
50 50
51# This alias, however, is important. 51# This alias, however, is important.
52Alias /webwork_files/ !WEBWORK_ROOT!/htdocs/ 52Alias /webwork-!WEBWORK_USER!_files/ !WEBWORK_ROOT!/htdocs/
53 53
54# This should match the DocumentRoot 54# This should match the DocumentRoot
55<Directory "!WEBWORK_ROOT!/htdocs"> 55<Directory "!WEBWORK_ROOT!/htdocs">
56 Options Indexes FollowSymLinks MultiViews 56 Options Indexes FollowSymLinks MultiViews
57 AllowOverride None 57 AllowOverride None

Legend:
Removed from v.648  
changed lines
  Added in v.649

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9