-----------------------------------------------------------
-----------------------------------------------------------
TEST 001-test-framework
Just start and stop apache to see if apache macros and spec file logic are working.
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     ssl status  
configs to include:  test.conf
Will load ssl_module /usr/lib64/apache2/mod_ssl.so
Will load status_module /usr/lib64/apache2/mod_status.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/001-test-framework/test.conf
Starting Apache ... SUCCESS
APACHE_PID 1481

Testing framework

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 002-VirtualHost-basic
Test of basic VirtualHost functionality.
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:      
configs to include:  test.conf
Will include /home/abuild/rpmbuild/BUILD/apache-test/002-VirtualHost-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 1529

[1] get correct index.html
Main Server Index
Virtual Host Server Index

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 003-ServerSignature-basic
Test ServerSignature and ServerToken directives.
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:      
configs to include:  test.conf
Will include /home/abuild/rpmbuild/BUILD/apache-test/003-ServerSignature-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 1578

[1] test footer of 404
<address>Apache/2.4.23 (Linux/SUSE) Server at localhost Port 60080</address>

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 004-Options-basic
Testing basic funcionality of Options directive.
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     autoindex  
configs to include:  test.conf
Will load autoindex_module /usr/lib64/apache2/mod_autoindex.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/004-Options-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 1634

[1] FollowSymlinks not set
<title>403 Forbidden</title>
[2] FollowSymlinks set
A.TXT
[3] Indexes not set
<title>403 Forbidden</title>
[4] Indexes set
  <title>Index of /foo</title>
<h1>Index of /foo</h1>

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 005-AllowOverride-basic
Test basic usage of AllowOverride directive.
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:      
configs to include:  test.conf
Will include /home/abuild/rpmbuild/BUILD/apache-test/005-AllowOverride-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 1701

[1] AllowOverride none
<title>403 Forbidden</title>
[2] AllowOverride all
B.TXT

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 006-ErrorLogFormat-basic
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:      
configs to include:  test.conf
Will include /home/abuild/rpmbuild/BUILD/apache-test/006-ErrorLogFormat-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 1750

[1] error_log contains specified format
[MYLOGFORMAT] AH00163: Apache/2.4.23 (Linux/SUSE) configured -- resuming normal operations [MYLOGFORMAT]
[MYLOGFORMAT] AH00094: Command line: '/usr/sbin/httpd-prefork -f /tmp/apache-test-test/httpd.conf' [MYLOGFORMAT]

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 007-SetOutputFilter-basic
Test setting filter for responses.
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     ext_filter  
configs to include:  test.conf
Will load ext_filter_module /usr/lib64/apache2/mod_ext_filter.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/007-SetOutputFilter-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 1809

[1] custom output filter rewrites html document content
It works!

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 008-SetInputFilter-basic
Test setting filter for requests and POST data.
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     cgi mime ext_filter  
configs to include:  test.conf
Will load cgi_module /usr/lib64/apache2-prefork/mod_cgi.so
Will load mime_module /usr/lib64/apache2/mod_mime.so
Will load ext_filter_module /usr/lib64/apache2/mod_ext_filter.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/008-SetInputFilter-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 1876

[1] custom input filter rewrites POST data
It works!

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 009-mod_version-basic
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     version  
configs to include:  test.conf
Will load version_module /usr/lib64/apache2/mod_version.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/009-mod_version-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 1942

testing only the server start with the config

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 010-mod_log_config-basic
Test log_config module basic funcionality.
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     log_config  
configs to include:  test.conf
Will load log_config_module /usr/lib64/apache2/mod_log_config.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/010-mod_log_config-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 1995

[1] Test 404 from localhost
127.0.0.1 127.0.0.1 404
[2] Test 200 from localhost
127.0.0.1 127.0.0.1 200

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 011-mod_auth_core-basic
Test basic functionality of core authentication module.
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:       
configs to include:  test.conf
Will include /home/abuild/rpmbuild/BUILD/apache-test/011-mod_auth_core-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 2056

[1] correct localhost access
It works!
[2] forbidden localhost access
<title>403 Forbidden</title>

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 012-mod_alias-basic
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     alias  
configs to include:  test.conf
Will load alias_module /usr/lib64/apache2/mod_alias.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/012-mod_alias-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 2116

[1] testing Alias
First Application
[2] testing AliasMatch
First Application
Second Application
[3] testing Redirect
<title>302 Found</title>
First Application
[4] testing RedirectMatch
First Application
Second Application

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 013-mod_status-basic
Test basic functionality of mod_status.
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     status  
configs to include:  test.conf
Will load status_module /usr/lib64/apache2/mod_status.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/013-mod_status-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 2186

[1] string 'Apache Server Status' found in /server-status
<h1>Apache Server Status for localhost (via 127.0.0.1)</h1>
[2] string 'Server Version: Apache' found in /server-status
<dl><dt>Server Version: Apache/2.4.23 (Linux/SUSE)</dt>

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 014-mod_status-ExtendedStatus-basic
Test basic functionality of mod_status under ExtendedStatus On.
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     status  
configs to include:  test.conf
Will load status_module /usr/lib64/apache2/mod_status.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/014-mod_status-ExtendedStatus-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 2235

[1] string 'Server Version: Apache' found in /server-status
<dl><dt>Server Version: Apache/2.4.23 (Linux/SUSE)</dt>
[2] string 'Child Server number' found in /server-status
 <tr><th>Srv</th><td>Child Server number - generation</td></tr>

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 015-mod_info-basic
Test basic functionality of mod_info.
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     info ssl  
configs to include:  test.conf
Will load info_module /usr/lib64/apache2/mod_info.so
Will load ssl_module /usr/lib64/apache2/mod_ssl.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/015-mod_info-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 2303

[1] string 'Apache Server Information' found in /server-info
<body><h1 style="text-align: center">Apache Server Information</h1>
[2] string 'mod_info.c' found in /server-info
<dl><dt><a name="mod_info.c"><strong>Module Name:</strong></a> <font size="+1"><tt><a href="?mod_info.c">mod_info.c</a></tt></font></dt>
[3] string 'mod_ssl.c' found in /server-info
<dl><dt><a name="mod_ssl.c"><strong>Module Name:</strong></a> <font size="+1"><tt><a href="?mod_ssl.c">mod_ssl.c</a></tt></font></dt>

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 016-mod_proxy-basic
Testing basic funcionality of mod_proxy.
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     proxy proxy_http  
configs to include:  test.conf
Will load proxy_module /usr/lib64/apache2/mod_proxy.so
Will load proxy_http_module /usr/lib64/apache2/mod_proxy_http.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/016-mod_proxy-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 2370

[1] reverse proxy (ProxyPass directive, ProxyRequests off)
Virtual Host 1
Virtual Host 2
[2] forward proxy (ProxyRequests on) and <Proxy> directive
Virtual Host 1
<title>403 Forbidden</title>

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 017-mod_proxy-ProxyErrorOverride
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     proxy proxy_http  
configs to include:  test.conf
Will load proxy_module /usr/lib64/apache2/mod_proxy.so
Will load proxy_http_module /usr/lib64/apache2/mod_proxy_http.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/017-mod_proxy-ProxyErrorOverride/test.conf
Starting Apache ... SUCCESS
APACHE_PID 2447

[1] ProxyErrorOverride is off by default
Virtual Host Handling of 404
[2] if ProxyErrorOverride is on, then proxy handles the error
Proxy handling of 404

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 018-mod_proxy_balancer-basic
Test basic fucionality of mod_proxy_balancer.
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     proxy proxy_http proxy_balancer version  slotmem_shm lbmethod_byrequests 
configs to include:  test.conf
Will load proxy_module /usr/lib64/apache2/mod_proxy.so
Will load proxy_http_module /usr/lib64/apache2/mod_proxy_http.so
Will load proxy_balancer_module /usr/lib64/apache2/mod_proxy_balancer.so
Will load version_module /usr/lib64/apache2/mod_version.so
Will load slotmem_shm_module /usr/lib64/apache2/mod_slotmem_shm.so
Will load lbmethod_byrequests_module /usr/lib64/apache2/mod_lbmethod_byrequests.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/018-mod_proxy_balancer-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 2534

[1] virtual host balancer (byrequest method) chooses between backend1 virtual host and backend2 virtual host
Backend 1: 11 times
Backend 2: 9 times

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 019-mod_proxy_balancer-failonstatus
Put backend server into error state for specified timeout when it returns given error code.
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     proxy proxy_http proxy_balancer mime version  slotmem_shm lbmethod_byrequests 
configs to include:  test.conf
Will load proxy_module /usr/lib64/apache2/mod_proxy.so
Will load proxy_http_module /usr/lib64/apache2/mod_proxy_http.so
Will load proxy_balancer_module /usr/lib64/apache2/mod_proxy_balancer.so
Will load mime_module /usr/lib64/apache2/mod_mime.so
Will load version_module /usr/lib64/apache2/mod_version.so
Will load slotmem_shm_module /usr/lib64/apache2/mod_slotmem_shm.so
Will load lbmethod_byrequests_module /usr/lib64/apache2/mod_lbmethod_byrequests.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/019-mod_proxy_balancer-failonstatus/test.conf
Starting Apache ... SUCCESS
APACHE_PID 2707

[1] when error code is on failonstatus list, then backend is put in error state for retry=1 second
404 from balancer
Orphaned Backend: Backend 1
Backend 1: 7 times
Backend 2: 13 times
[2] when error code is NOT on failonstatus list, then backend is not put in error state
403 from balancer
Backend 1: 11 times
Backend 2: 9 times

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 021-mod_authz_user-basic
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     authn_file authz_user  authn_core 
configs to include:  test.conf
Will load authn_file_module /usr/lib64/apache2/mod_authn_file.so
Will load authz_user_module /usr/lib64/apache2/mod_authz_user.so
Will load authn_core_module /usr/lib64/apache2/mod_authn_core.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/021-mod_authz_user-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 2925

Adding password for user john
[1] access granted with correct username and correct password
Secret DATA
[2] access denied with correct username but incorrect password
<title>401 Unauthorized</title>
[3] access denied for incorrect username
<title>401 Unauthorized</title>

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 022-mod_log_config-basic
Test basic funcionality of CustomLog and LogFormat directives.
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     log_config  
configs to include:  test.conf
Will load log_config_module /usr/lib64/apache2/mod_log_config.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/022-mod_log_config-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 2992

[1] log 404 into access_log
[MYFORMAT] 404 [MYFORMAT]

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 023-mod_cgi-basic
Test basic run of cgi scripts.
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     cgi alias  
configs to include:  test.conf
Will load cgi_module /usr/lib64/apache2-prefork/mod_cgi.so
Will load alias_module /usr/lib64/apache2/mod_alias.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/023-mod_cgi-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 3054

[1] test correct cgi script
CGI Bash Example
[2] test incorrect cgi script
<title>500 Internal Server Error</title>
[2] test correct cgi script without executable bits
<title>500 Internal Server Error</title>

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 024-mod_mime-basic
Test basic funcionality of mod_mime.
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     mime alias cgi case_filter actions  
configs to include:  test.conf
Will load mime_module /usr/lib64/apache2/mod_mime.so
Will load alias_module /usr/lib64/apache2/mod_alias.so
Will load cgi_module /usr/lib64/apache2-prefork/mod_cgi.so
Will load case_filter_module /usr/lib64/apache2/mod_case_filter.so
Will load actions_module /usr/lib64/apache2/mod_actions.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/024-mod_mime-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 3149

[1] test registred extension for application/x-httpd-cgi
CGI Bash Example
[2] test non-registered extension for application/x-httpd-cgi
echo "Content-type: text/html"
[3] test registered extension for cgi-script handler
CGI Bash Example
[4] AddOutputFilter CaseFilter
TEST CASEFILTER
[5] add custom handler via Action/AddHandler
footer
document text

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 025-mod_mime-filters
Test adding and removing of output and input filters.
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     ext_filter cgi mime  
configs to include:  test.conf
Will load ext_filter_module /usr/lib64/apache2/mod_ext_filter.so
Will load cgi_module /usr/lib64/apache2-prefork/mod_cgi.so
Will load mime_module /usr/lib64/apache2/mod_mime.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/025-mod_mime-filters/test.conf
Starting Apache ... SUCCESS
APACHE_PID 3253

[1] custom output filter (added by AddOutputFilter) rewrites html document content
this is a SAMPLE text
[2] html document is unchanged because custom filter was removed (by RemoveOutputFilter)
this is a sample text
[3] custom input filter (added by AddInputFilter) rewrites POST data
this is a SAMPLE text
[4] POST data is unchanged -- custom filter was removed by RemoveOutputFilter
this is a sample text

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 026-mod_mime-filters-chain
Test chain of two output filters.
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     ext_filter cgi mime  
configs to include:  test.conf
Will load ext_filter_module /usr/lib64/apache2/mod_ext_filter.so
Will load cgi_module /usr/lib64/apache2-prefork/mod_cgi.so
Will load mime_module /usr/lib64/apache2/mod_mime.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/026-mod_mime-filters-chain/test.conf
Starting Apache ... SUCCESS
APACHE_PID 3339

[1] chaining unrelated filters
this is a SAMPLE TEXT
[2] output depends on previous filter result
this is a SaMpLe text
[3] inverse filter ordering can produce another result
this is a SAMPLE text

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 027-mod_actions-basic
Test basic funcionality of actions module.
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     alias cgi mime actions  
configs to include:  test.conf
Will load alias_module /usr/lib64/apache2/mod_alias.so
Will load cgi_module /usr/lib64/apache2-prefork/mod_cgi.so
Will load mime_module /usr/lib64/apache2/mod_mime.so
Will load actions_module /usr/lib64/apache2/mod_actions.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/027-mod_actions-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 3426

[1] show PATH_INFO and PATH_TRANSLATED variables
PATH_INFO: /doc/doc.html
PATH_TRANSLATED: /tmp/apache-test-test/htdocs/doc/doc.html
[2] add custom handler via Action/AddHandler
header
footer
[3] test Action on virtual location ('virtual' keyword)
Linux build31 4.4.62-18.6-default #1 SMP Fri Apr 21 16:14:48 UTC 2017 (84f9824) x86_64 x86_64 x86_64 GNU/Linux
[4] Action on virtual location without 'virtual' keyword gives 404
<title>404 Not Found</title>
[5] test Script on GET and PUT requests
PUT method
index content
GET method

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 028-mod_userdir-basic
Test basic mod_userdir functionality.
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     userdir  
configs to include:  test.conf
Will load userdir_module /usr/lib64/apache2/mod_userdir.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/028-mod_userdir-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 3530

[1] test public_html for abuild user
hello from abuild user
[2] test public_html on another prefix, UserDir enabled for user
hello from user1
[3] test public_html on another prefix,  UserDir disabled for user
<title>404 Not Found</title>
[4] test public_html on another prefix,  UserDir enabled user, but forbidden by .htaccess

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 029-mod_ssl-basic
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     ssl mime log_config  socache_shmcb 
configs to include:  test.conf
Will load ssl_module /usr/lib64/apache2/mod_ssl.so
Will load mime_module /usr/lib64/apache2/mod_mime.so
Will load log_config_module /usr/lib64/apache2/mod_log_config.so
Will load socache_shmcb_module /usr/lib64/apache2/mod_socache_shmcb.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/029-mod_ssl-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 3620

[1] access trough https allowed
Test SSL
[2] access trough http disallowed
<title>400 Bad Request</title>

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 030-mod_sed-basic
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     mime cgi  sed 
configs to include:  test.conf
Will load mime_module /usr/lib64/apache2/mod_mime.so
Will load cgi_module /usr/lib64/apache2-prefork/mod_cgi.so
Will load sed_module /usr/lib64/apache2/mod_sed.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/030-mod_sed-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 3691

[1] Sed output filter rewrites html document content
It works!
[2] Sed input filter rewrites POST data
It works!

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 031-mod_deflate-basic
Test basic funcionality of deflate module.
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     deflate proxy proxy_http  
configs to include:  test.conf
Will load deflate_module /usr/lib64/apache2/mod_deflate.so
Will load proxy_module /usr/lib64/apache2/mod_proxy.so
Will load proxy_http_module /usr/lib64/apache2/mod_proxy_http.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/031-mod_deflate-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 3768

[1] DEFLATE outputfilter employed
file size: 115   download size: 46
[2] DEFLATE output filter disabled (by not accepting gzip encoding)
file size: 115   download size: 115
[3] employ INFLATE in virtual host as proxy to main server, which DEFLATEs data
file size: 115   download size: 115

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 032-mod_charset_lite-basic
Test basic funcionality of charset_lite module.
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     charset_lite mime  
configs to include:  test.conf
Will load charset_lite_module /usr/lib64/apache2/mod_charset_lite.so
Will load mime_module /usr/lib64/apache2/mod_mime.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/032-mod_charset_lite-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 3838

[1] recode ISO-8859-2 text to UTF-8 text
original string: Loď čeří kýlem tůň obzvlášť v Grónské úžině.
returned string: Loď čeří kýlem tůň obzvlášť v Grónské úžině.

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 033-mod_reflector-basic
Test reflector module basics.
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     reflector sed  
configs to include:  test.conf
Will load reflector_module /usr/lib64/apache2/mod_reflector.so
Will load sed_module /usr/lib64/apache2/mod_sed.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/033-mod_reflector-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 3906

[1] filter data trough simple filter and get them back
It works!

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 034-mod_include-basic
Test basic Server Side Includes (SSI) funcionality.
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     include mime cgi  
configs to include:  test.conf
Will load include_module /usr/lib64/apache2/mod_include.so
Will load mime_module /usr/lib64/apache2/mod_mime.so
Will load cgi_module /usr/lib64/apache2-prefork/mod_cgi.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/034-mod_include-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 3972

[1] ssi expanded for document with certain extension
Have a lot of fun!
[2] ssi expanded trouch for document with executable bit set
Have a lot of fun!
[3] ssi not expended for not registered extension and without xbit
<!--#if expr="%{SERVER_SOFTWARE} =~ /linux/i" -->
Have a lot of fun!
<!--#endif -->
[4] ssi together with cgi module (exec directive)
Current dir content:
nossi.html
ssi-by-extension.shtml
ssi-by-xbit.html
ssi-cgi.shtml


Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 035-mod_filter-basic
Test basic mod_filter funcionality.
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     filter mime include substitute version  sed 
configs to include:  test.conf
Will load filter_module /usr/lib64/apache2/mod_filter.so
Will load mime_module /usr/lib64/apache2/mod_mime.so
Will load include_module /usr/lib64/apache2/mod_include.so
Will load substitute_module /usr/lib64/apache2/mod_substitute.so
Will load version_module /usr/lib64/apache2/mod_version.so
Will load sed_module /usr/lib64/apache2/mod_sed.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/035-mod_filter-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 4081

[1] test two harnesses with three filter providers
Have a lot of FUN!
If you are on LINUX: Have a lot of FUN!

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
TEST 036-mod_asis-basic
-----------------------------------------------------------
APACHE MODULE TEST

modules to load:     mime asis  
configs to include:  test.conf
Will load mime_module /usr/lib64/apache2/mod_mime.so
Will load asis_module /usr/lib64/apache2/mod_asis.so
Will include /home/abuild/rpmbuild/BUILD/apache-test/036-mod_asis-basic/test.conf
Starting Apache ... SUCCESS
APACHE_PID 4147

[1] send document as-is (correct: with headers)
DOCUMENT DATA
[2] send document as-is (incorrect: without headers)
[Sat Jun 03 05:16:27.326007 2017] [asis:error] [pid 4150] [client 127.0.0.1:48732] malformed header from script 'wrong.asis': Bad header: 
[3] document with another extension will not be send as-is
Content-type: text/plain
DOCUMENT DATA

Test PASSED
Stopping Apache ...
Done.
-----------------------------------------------------------
-----------------------------------------------------------
