equal
deleted
inserted
replaced
1 <VirtualHost *:80> |
1 <VirtualHost *:80> |
2 ServerAdmin webmaster@localhost |
2 ServerAdmin librarian@village.n4c.eu |
3 ServerName sphere.dsg.cs.tcd.ie |
3 ServerName dtnrouter.village.n4c.eu |
4 |
4 |
5 |
5 |
6 DocumentRoot /var/www/private/HTMLrequester |
6 DocumentRoot /var/www/private/HTMLrequester |
7 <Directory "/var/www/private/HTMLrequester/members"> |
7 <Directory "/var/www/private/HTMLrequester/members"> |
8 Options Indexes MultiViews FollowSymLinks |
8 Options Indexes MultiViews FollowSymLinks |
47 #AuthFormPageAutoRefresh |
47 #AuthFormPageAutoRefresh |
48 #AuthFormPageNotAllowed |
48 #AuthFormPageNotAllowed |
49 |
49 |
50 #Require valid-user |
50 #Require valid-user |
51 Require group 0 1 |
51 Require group 0 1 |
|
52 </Directory> |
|
53 <Directory "/var/www/private/HTMLrequester/staging"> |
|
54 AuthType Basic |
|
55 AuthName "Administration" |
|
56 AuthUserFile /var/www/private/HTMLrequester/passwords |
|
57 |
|
58 # Turn off 'mod_auth_form' in this directory, |
|
59 # giving control to 'mod_auth'. |
|
60 AuthFormAuthoritative Off |
|
61 |
|
62 Allow from 127.0.0.1 # localhost |
|
63 Deny from all |
|
64 Order Deny,Allow |
|
65 Require valid-user |
52 </Directory> |
66 </Directory> |
53 |
67 |
54 <Directory "/var/www/private/public"> |
68 <Directory "/var/www/private/public"> |
55 AuthFormPageNotAllowed /paying_members_only.html |
69 AuthFormPageNotAllowed /paying_members_only.html |
56 AuthFormMySQLTableSIDCondition "`sid`=$sid1 AND `sid_dir`=$sid2 AND (`uid`=$uid OR `signature`='some_signature_public')" |
70 AuthFormMySQLTableSIDCondition "`sid`=$sid1 AND `sid_dir`=$sid2 AND (`uid`=$uid OR `signature`='some_signature_public')" |
97 AllowOverride None |
111 AllowOverride None |
98 Order deny,allow |
112 Order deny,allow |
99 Deny from all |
113 Deny from all |
100 Allow from 127.0.0.0/255.0.0.0 ::1/128 |
114 Allow from 127.0.0.0/255.0.0.0 ::1/128 |
101 </Directory> |
115 </Directory> |
102 # <Directory "/var/www/HTMLrequester/"> |
|
103 # Options Indexes MultiViews FollowSymLinks |
|
104 # AllowOverride None |
|
105 # Order deny,allow |
|
106 # Deny from all |
|
107 # Allow from 127.0.0.0/255.0.0.0 ::1/128 |
|
108 # </Directory> |
|
109 |
|
110 </VirtualHost> |
116 </VirtualHost> |