Help for this page

Select Code to Download


  1. or download this
    ServerRoot "/opt/apps/apache"
    
    ...
        AddType application/x-compress .Z
        AddType application/x-gzip .gz .tgz
    </IfModule>
    
  2. or download this
    <?php echo '<p>Hello World</p>'; ?>
    
  3. or download this
    $ curl -v http://127.0.0.1:11208/hello.php
    < HTTP/1.1 200 OK
    < Server: Apache/2.4.25 (Unix) PHP/7.4.2
    <
    <p>Hello World</p>
    
  4. or download this
    $ /opt/apps/apache/bin/ab -n 250000 -c 3 http://127.0.0.1:11208/hello.
    +php
    This is ApacheBench, Version 2.3 <$Revision: 1757674 $>
    ...
    Time per request:       0.173 [ms] (mean)
    Time per request:       0.058 [ms] (mean, across all concurrent reques
    +ts)
    Transfer rate:          3699.58 [Kbytes/sec] received
    
  5. or download this
    ServerRoot "/opt/apps/apache"
    
    ...
    <Location /favicon.ico>
      SetHandler None
    </Location>
    
  6. or download this
    package MyApache2::Rocks;
    
    ...
    }
    
    1;
    
  7. or download this
    $ curl -v http://127.0.0.1:11208/foo/bar
    < HTTP/1.1 200 OK
    < Server: Apache/2.4.25 (Unix) mod_apreq2-20090110/2.8.0 mod_perl/2.0.
    +10 Perl/v5.24.1
    <
    mod_perl 2.0 rocks!
    
  8. or download this
    $ /opt/apps/apache/bin/ab -n 250000 -c 3 http://127.0.0.1:11208/foo/ba
    +r
    This is ApacheBench, Version 2.3 <$Revision: 1757674 $>
    ...
    Time per request:       0.158 [ms] (mean)
    Time per request:       0.053 [ms] (mean, across all concurrent reques
    +ts)
    Transfer rate:          3809.01 [Kbytes/sec] received