| … | |
… | |
| 3 | # !WEBWORK_ROOT! -> the root of your personal webwork-modperl tree |
3 | # !WEBWORK_ROOT! -> the root of your personal webwork-modperl tree |
| 4 | # !WEBWORK_USER! -> your user name |
4 | # !WEBWORK_USER! -> your user name |
| 5 | # !WEBWORK_PORT! -> the port on which you want to run this server |
5 | # !WEBWORK_PORT! -> the port on which you want to run this server |
| 6 | # (please use 10000 + your UID) |
6 | # (please use 10000 + your UID) |
| 7 | # !PG_ROOT! -> the root of your personal pg tree |
7 | # !PG_ROOT! -> the root of your personal pg tree |
|
|
8 | # If your home directories are stored somewhere other than /home (for example, |
|
|
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 |
|
|
12 | # statements at the bottom of this file. |
| 8 | |
13 | |
| 9 | Include /usr/local/etc/apache/httpd-wwmp-header.conf |
14 | Include /usr/local/etc/apache/httpd-wwmp-header.conf |
| 10 | |
15 | |
| 11 | Port !WEBWORK_PORT! |
16 | Port !WEBWORK_PORT! |
| 12 | User !WEBWORK_USER! |
17 | User !WEBWORK_USER! |
| … | |
… | |
| 60 | Options Indexes FollowSymLinks MultiViews |
65 | Options Indexes FollowSymLinks MultiViews |
| 61 | AllowOverride None |
66 | AllowOverride None |
| 62 | Order allow,deny |
67 | Order allow,deny |
| 63 | Allow from all |
68 | Allow from all |
| 64 | </Directory> |
69 | </Directory> |
|
|
70 | |
|
|
71 | # Possible forms of access limitation (edit to taste) |
|
|
72 | |
|
|
73 | # The user maintains his own htpasswd file, presumably with only herself in it |
|
|
74 | #<Location /> |
|
|
75 | # AuthType Basic |
|
|
76 | # AuthName "!WEBWORK_USER!'s WeBWorK development system" |
|
|
77 | # AuthUserFile /home/!WEBWORK_USER!/webwork-modperl/conf/htpasswd |
|
|
78 | # Require valid-user |
|
|
79 | #</Location> |
|
|
80 | |
|
|
81 | # The system administrator maintains an htpasswd file that all users reference |
|
|
82 | #<Location /> |
|
|
83 | # AuthType Basic |
|
|
84 | # AuthName "!WEBWORK_USER!'s WeBWorK development system" |
|
|
85 | # AuthUserFile /usr/local/etc/apache/htpasswd-wwmp |
|
|
86 | # Require valid-user |
|
|
87 | #</Location> |
|
|
88 | |
|
|
89 | # You have mod_pam_auth and would like to authenticate against your |
|
|
90 | # /etc/passwd file. (NOTE: It is a good idea to use Digest authentication |
|
|
91 | # instead of Basic, even though this limits your choice of browsers, because |
|
|
92 | # of the heightened sensitivity of normal system passwords.) |
|
|
93 | #<Location /> |
|
|
94 | # AuthType Digest |
|
|
95 | # AuthName "!WEBWORK_USER!'s WeBWorK development system" |
|
|
96 | # AuthPAM_Enabled on |
|
|
97 | # Require valid-user |
|
|
98 | ## Require group wwdev |
|
|
99 | #</Location> |