~ubuntu-branches/ubuntu/trusty/erlang/trusty

« back to all changes in this revision

Viewing changes to lib/inets/test/httpd_test_data/server_root/conf/8080.conf

  • Committer: Bazaar Package Importer
  • Author(s): Clint Byrum
  • Date: 2011-05-05 15:48:43 UTC
  • mfrom: (3.5.13 sid)
  • Revision ID: james.westby@ubuntu.com-20110505154843-0om6ekzg6m7ugj27
Tags: 1:14.b.2-dfsg-3ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Drop libwxgtk2.8-dev build dependency. Wx isn't in main, and not
    supposed to.
  - Drop erlang-wx binary.
  - Drop erlang-wx dependency from -megaco, -common-test, and -reltool, they
    do not really need wx. Also drop it from -debugger; the GUI needs wx,
    but it apparently has CLI bits as well, and is also needed by -megaco,
    so let's keep the package for now.
  - debian/patches/series: Do what I meant, and enable build-options.patch
    instead.
* Additional changes:
  - Drop erlang-wx from -et
* Dropped Changes:
  - patches/pcre-crash.patch: CVE-2008-2371: outer level option with
    alternatives caused crash. (Applied Upstream)
  - fix for ssl certificate verification in newSSL: 
    ssl_cacertfile_fix.patch (Applied Upstream)
  - debian/patches/series: Enable native.patch again, to get stripped beam
    files and reduce the package size again. (build-options is what
    actually accomplished this)
  - Remove build-options.patch on advice from upstream and because it caused
    odd build failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Port 8080
 
2
#ServerName your.server.net
 
3
SocketType ip_comm
 
4
Modules mod_alias mod_auth mod_esi mod_actions mod_cgi mod_include mod_dir mod_get mod_head mod_log mod_disk_log
 
5
ServerAdmin jocke@erix.ericsson.se
 
6
ServerRoot /var/tmp/server_root
 
7
ErrorLog logs/error_log_8080
 
8
TransferLog logs/access_log_8080
 
9
SecurityLog logs/security_log_8080
 
10
ErrorDiskLog logs/error_disk_log_8080
 
11
ErrorDiskLogSize 200000 10
 
12
TransferDiskLog logs/access_disk_log_8080
 
13
TransferDiskLogSize 200000 10
 
14
SecurityDiskLog logs/security_disk_log
 
15
SecurityDiskLogSize 200000 10
 
16
MaxClients 50
 
17
#KeepAlive 5
 
18
#KeepAliveTimeout 10
 
19
DocumentRoot /var/tmp/server_root/htdocs
 
20
DirectoryIndex index.html welcome.html
 
21
DefaultType text/plain
 
22
Alias /icons/ /var/tmp/server_root/icons/
 
23
Alias /pics/ /var/tmp/server_root/icons/
 
24
ScriptAlias /cgi-bin/ /var/tmp/server_root/cgi-bin/
 
25
ScriptAlias /htbin/ /var/tmp/server_root/cgi-bin/
 
26
ErlScriptAlias /cgi-bin/erl httpd_example io
 
27
EvalScriptAlias /eval httpd_example io
 
28
#Script HEAD /cgi-bin/printenv.sh
 
29
#Action image/gif /cgi-bin/printenv.sh
 
30
 
 
31
<Directory /var/tmp/server_root/htdocs/open>
 
32
AuthDBType plain
 
33
AuthName Open Area
 
34
AuthUserFile /var/tmp/server_root/auth/passwd
 
35
AuthGroupFile /var/tmp/server_root/auth/group
 
36
require user one Aladdin
 
37
</Directory>
 
38
 
 
39
<Directory /var/tmp/server_root/htdocs/secret>
 
40
AuthDBType plain
 
41
AuthName Secret Area
 
42
AuthUserFile /var/tmp/server_root/auth/passwd
 
43
AuthGroupFile /var/tmp/server_root/auth/group
 
44
require group group1 group2
 
45
</Directory>
 
46
 
 
47
<Directory /var/tmp/server_root/htdocs/secret/top_secret>
 
48
AuthDBType plain
 
49
AuthName Top Secret Area
 
50
AuthUserFile /var/tmp/server_root/auth/passwd
 
51
AuthGroupFile /var/tmp/server_root/auth/group
 
52
require group group3
 
53
</Directory>
 
54
 
 
55
<Directory /var/tmp/server_root/htdocs/mnesia_open>
 
56
AuthDBType mnesia
 
57
AuthName Open Area
 
58
require user one Aladdin
 
59
</Directory>
 
60
 
 
61
<Directory /var/tmp/server_root/htdocs/mnesia_secret>
 
62
AuthDBType mnesia
 
63
AuthName Secret Area
 
64
require group group1 group2
 
65
</Directory>
 
66
 
 
67
<Directory /var/tmp/server_root/htdocs/mnesia_secret/top_secret>
 
68
AuthDBType mnesia
 
69
AuthName Top Secret Area
 
70
require group group3
 
71
allow from 130.100.34 130.100.35
 
72
deny from 100.234.22.12 194.100.34.1 130.100.34.25
 
73
SecurityDataFile logs/security_data
 
74
SecurityMaxRetries 3
 
75
SecurityBlockTime 10
 
76
SecurityFailExpireTime 1
 
77
SecurityAuthTimeout 1
 
78
SecurityCallbackModule security_callback
 
79
</Directory>