[{port, 8080},
 {server_name, "your.server.net"},
 {socket_type, ip_comm},
 {modules, [mod_alias,mod_auth,mod_esi,mod_actions,mod_cgi,mod_dir,mod_get,
           mod_head,mod_log,mod_disk_log]},
 {server_admin, "jocke@erix.ericsson.se"},
 {server_root, "/var/tmp/server_root"},
 {error_log, "logs/error_log_8080"},
 {transfer_log, "logs/access_log_8080"},
 {security_log, "logs/security_log_8080"},
 {error_disk_log, "logs/error_disk_log_8080"},
 {error_disk_log_size, {200000,10}},
 {transfer_disk_log, "logs/access_disk_log_8080"},
 {transfer_disk_log_size, {200000,10}},
 {security_disk_log, "logs/security_disk_log"},
 {security_disk_log_size, {200000,10}},
 {max_clients, 50},
 %%{keep_alive, 5},
 %%{keep_alive_timeout, 10},
 {document_root, "/var/tmp/server_root/htdocs"},
 {directory_index, ["index.html","welcome.html"]},
 {default_type, "text/plain"},
 {alias, {"/icons/","/var/tmp/server_root/icons/"}},
 {alias, {"/pics/","/var/tmp/server_root/icons/"}},
 {script_alias, {"/cgi-bin/","/var/tmp/server_root/cgi-bin/"}},
 {script_alias, {"/htbin/","/var/tmp/server_root/cgi-bin/"}},
 {erl_script_alias, {"/cgi-bin/erl",[httpd_example]}},
 %%{script, {"HEAD", "/cgi-bin/printenv.sh"}},
 %%{action, {"image/gif", "/cgi-bin/printenv.sh"}},
 {directory, {"/var/tmp/server_root/htdocs/open",
              [{require,["user","one","Aladdin"]},
               {auth_group_file,"/var/tmp/server_root/auth/group"},
               {auth_user_file,"/var/tmp/server_root/auth/passwd"},
               {auth_name,"Open Area"},
               {auth_type,"plain"}]}},
 {directory, {"/var/tmp/server_root/htdocs/secret",
              [{require,["group","group1","group2"]},
               {auth_group_file,"/var/tmp/server_root/auth/group"},
               {auth_user_file,"/var/tmp/server_root/auth/passwd"},
               {auth_name,"Secret Area"},
               {auth_type,"plain"}]}},
 {directory, {"/var/tmp/server_root/htdocs/secret/top_secret",
              [{require,["group","group3"]},
               {auth_group_file,"/var/tmp/server_root/auth/group"},
               {auth_user_file,"/var/tmp/server_root/auth/passwd"},
               {auth_name,"Top Secret Area"},
               {auth_type,"plain"}]}},
 {directory, {"/var/tmp/server_root/htdocs/mnesia_open",
              [{require,["user","one","Aladdin"]},
               {auth_name,"Open Area"},
               {auth_type,"mnesia"}]}},
 {directory, {"/var/tmp/server_root/htdocs/mnesia_secret",
              [{require,["group","group1","group2"]},
               {auth_name,"Secret Area"},
               {auth_type,"mnesia"}]}},
 {directory, {"/var/tmp/server_root/htdocs/mnesia_secret/top_secret",
              [{security_callback_module,"security_callback"},
               {security_auth_timeout,1},
               {security_fail_expire_time,1},
               {security_block_time,10},
               {security_max_retries,3},
               {security_data_file,"logs/security_data"},
               {deny_from,["100.234.22.12","194.100.34.1","130.100.34.25"]},
               {allow_from,["130.100.34","130.100.35"]},
               {require,["group","group3"]},
               {auth_name,"Top Secret Area"},
               {auth_type,"mnesia"}]}}].
