[system] / trunk / webwork2 / conf / httpd-wwmp.conf.dist Repository:
ViewVC logotype

Diff of /trunk/webwork2/conf/httpd-wwmp.conf.dist

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

Revision 1511 Revision 1663
1################################################################################
2# WeBWorK Online Homework Delivery System
3# Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/
4# $CVSHeader$
5#
6# This program is free software; you can redistribute it and/or modify it under
7# the terms of either: (a) the GNU General Public License as published by the
8# Free Software Foundation; either version 2, or (at your option) any later
9# version, or (b) the "Artistic License" which comes with this package.
10#
11# This program is distributed in the hope that it will be useful, but WITHOUT
12# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13# FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the
14# Artistic License for more details.
15################################################################################
16
1# The best way to turn this into a working webwork server config file is to do 17# 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: 18# a global find/replace on the following strings:
3# !WEBWORK_ROOT! -> the root of your personal webwork-modperl tree 19# !WEBWORK_ROOT! -> the root of your personal webwork-modperl tree
4# !WEBWORK_USER! -> your user name 20# !WEBWORK_USER! -> your user name
5# !WEBWORK_PORT! -> the port on which you want to run this server 21# !WEBWORK_PORT! -> the port on which you want to run this server
6# (please use 10000 + your UID) 22# (please use 10000 + your UID)
7# !PG_ROOT! -> the root of your personal pg tree 23# !PG_ROOT! -> the root of your personal pg tree
8# If your home directories are stored somewhere other than /home (for example, 24#
9# /u) you should also replace /home with the directory used at your site.
10
11# After those find/replace operations, you should edit the access control 25# After those find/replace operations, you should edit the access control
12# statements at the bottom of this file. 26# statements at the bottom of this file.
13 27
14Include /usr/local/etc/apache/httpd-wwmp-header.conf 28Include !WEBWORK_ROOT!/conf/httpd-wwmp-header.conf
15 29
16Port !WEBWORK_PORT! 30Port !WEBWORK_PORT!
17User !WEBWORK_USER! 31User !WEBWORK_USER!
18Group !WEBWORK_USER! 32Group !WEBWORK_USER!
19 33
68 Allow from all 82 Allow from all
69</Directory> 83</Directory>
70 84
71# Possible forms of access limitation (edit to taste) 85# Possible forms of access limitation (edit to taste)
72 86
73# The user maintains his own htpasswd file, presumably with only herself in it 87# The developer maintains a personal htpasswd file
74#<Location /> 88#<Location />
75# AuthType Basic 89# AuthType Basic
76# AuthName "!WEBWORK_USER!'s WeBWorK development system" 90# AuthName "!WEBWORK_USER!'s WeBWorK development system"
77# AuthUserFile !WEBWORK_ROOT!/conf/htpasswd 91# AuthUserFile !WEBWORK_ROOT!/conf/htpasswd
78# Require valid-user 92# Require valid-user
79#</Location> 93#</Location>
80 94
81# The system administrator maintains an htpasswd file that all users reference 95# There is a site-wide htpasswd file somewhere, with all developers in it
82#<Location /> 96#<Location />
83# AuthType Basic 97# AuthType Basic
84# AuthName "!WEBWORK_USER!'s WeBWorK development system" 98# AuthName "!WEBWORK_USER!'s WeBWorK development system"
85# AuthUserFile /usr/local/etc/apache/htpasswd-wwmp 99# AuthUserFile /path/to/site/htpasswd/file
86# Require valid-user 100# Require valid-user
87#</Location> 101#</Location>
88 102
89# You have mod_pam_auth and would like to authenticate against your 103# You have mod_pam_auth and would like to authenticate against your /etc/passwd
90# /etc/passwd file. (NOTE: It is a good idea to use Digest authentication 104# file. (NOTE: It is a good idea to use Digest authentication instead of Basic,
91# instead of Basic, even though this limits your choice of browsers, because 105# even though this limits your choice of browsers, because of the heightened
92# of the heightened sensitivity of normal system passwords.) 106# sensitivity of normal system passwords.)
93#<Location /> 107#<Location />
94# AuthType Digest 108# AuthType Digest
95# AuthName "!WEBWORK_USER!'s WeBWorK development system" 109# AuthName "!WEBWORK_USER!'s WeBWorK development system"
96# AuthPAM_Enabled on 110# AuthPAM_Enabled on
97# Require valid-user 111# Require valid-user

Legend:
Removed from v.1511  
changed lines
  Added in v.1663

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9