Parent Directory
|
Revision Log
renamed httpd-wwmp-sample.conf -> httpd-wwmp.conf.dist fixed a value in global.conf.dist -sam
1 # The best way to turn this into a working webwork server config file is to do 2 # a global find/replace on the following strings: 3 # !WEBWORK_ROOT! -> the root of your personal webwork-modperl tree 4 # !WEBWORK_USER! -> your user name 5 # !WEBWORK_PORT! -> the port on which you want to run this server 6 # (please use 10000 + your UID) 7 8 Include /usr/local/etc/apache/httpd-wwmp-header.conf 9 10 Port !WEBWORK_PORT! 11 User !WEBWORK_USER! 12 Group !WEBWORK_USER! 13 14 ServerAdmin !WEBWORK_USER!@localhost 15 16 LockFile !WEBWORK_ROOT!/logs/httpd.lock 17 PidFile !WEBWORK_ROOT!/logs/httpd.pid 18 ErrorLog !WEBWORK_ROOT!/logs/httpd-error.log 19 20 # On systems that use it, ScoreBoardFile must be different for different 21 # invocations of Apache. webwork-dev doens't appear to be one of those 22 # systems. 23 #ScoreBoardFile /var/run/httpd.scoreboard 24 25 PerlFreshRestart On 26 <Location /webwork> 27 SetHandler perl-script 28 PerlHandler Apache::WeBWorK 29 30 PerlSetVar webwork_root !WEBWORK_ROOT! 31 <Perl> 32 use lib '!WEBWORK_ROOT!/lib'; 33 use lib '!WEBWORK_ROOT!/pglib'; 34 </Perl> 35 </Location> 36 37 # We're limiting the number of children because we'll be running a lot and 38 # don't want to bog the development box down. 39 StartServers 2 40 MinSpareServers 2 41 MaxSpareServers 2 42 MaxClients 150 43 # How "old" a child is allowed to get. 0 for unlimited requests 44 # Pick a low number -- you're bound to screw something up, right? 45 MaxRequestsPerChild 100 46 47 # This DocumentRoot doesn't actually make a lot of sense. In a 48 # WeBWorK mod_perl system, there is no static document root, but the 49 # DocumentRoot does have to exist, and not have a subdirectory 50 # named "webwork". It suffices. 51 DocumentRoot "!WEBWORK_ROOT!/htdocs" 52 53 # This alias, however, is important. 54 Alias /webwork_files/ !WEBWORK_ROOT!/htdocs/ 55 56 # This should match the DocumentRoot 57 <Directory "!WEBWORK_ROOT!/htdocs"> 58 Options Indexes FollowSymLinks MultiViews 59 AllowOverride None 60 Order allow,deny 61 Allow from all 62 </Directory>
| aubreyja at gmail dot com | ViewVC Help |
| Powered by ViewVC 1.0.9 |