Changeset 640

Show
Ignore:
Timestamp:
08/29/2005 12:08:00 PM (3 years ago)
Author:
jan
Message:

run tests in build root (merged #228)

Location:
branches/lighttpd-merge-1.4.x/tests
Files:
15 modified

Legend:

Unmodified
Added
Removed
  • branches/lighttpd-merge-1.4.x/tests/LightyTest.pm

    r623 r640  
    99        my $class = shift; 
    1010        my $self = {}; 
     11        my $lpath; 
    1112 
    1213        $self->{CONFIGFILE} = 'lighttpd.conf'; 
    13         $self->{BASEDIR} = (defined $ENV{'top_builddir'} ? $ENV{'top_builddir'} : '..'); 
    14         $self->{SRCDIR}  = (defined $ENV{'srcdir'} ? $ENV{'srcdir'} : '.'); 
     14 
     15        $lpath = (defined $ENV{'top_builddir'} ? $ENV{'top_builddir'} : '..'); 
     16        $lpath = `readlink -f '$lpath'`; 
     17        chomp $lpath; 
     18        $self->{BASEDIR} = $lpath; 
     19 
     20        $lpath = (defined $ENV{'srcdir'} ? $ENV{'srcdir'} : '.'); 
     21#       $lpath = `readlink -f '$lpath'`; 
     22#       chomp $lpath; 
     23        $self->{SRCDIR} = $lpath; 
    1524 
    1625        $self->{LIGHTTPD_PATH} = $self->{BASEDIR}.'/src/lighttpd'; 
    17         $self->{LIGHTTPD_PIDFILE} = '/tmp/lighttpd/lighttpd.pid'; 
    18         $self->{PIDOF_PIDFILE} = '/tmp/lighttpd/pidof.pid'; 
     26        $self->{LIGHTTPD_PIDFILE} = $self->{SRCDIR}.'/tmp/lighttpd/lighttpd.pid'; 
     27        $self->{PIDOF_PIDFILE} = $self->{SRCDIR}.'/tmp/lighttpd/pidof.pid'; 
    1928        $self->{PORT} = 2048; 
    2029         
     
    6473        # 
    6574 
    66         my $pwd = `pwd`; 
    67         chomp($pwd); 
    68         unlink("/tmp/cfg.file"); 
    69         system("cat ".$self->{SRCDIR}."/".$self->{CONFIGFILE}.' | perl -pe "s#\@SRCDIR\@#'.$pwd.'/'.$self->{BASEDIR}.'/tests/#" > /tmp/cfg.file'); 
     75        unlink($self->{SRCDIR}."/tmp/cfg.file"); 
     76        system("cat ".$self->{SRCDIR}."/".$self->{CONFIGFILE}.' | perl -pe "s#\@SRCDIR\@#'.$self->{BASEDIR}.'/tests/#" > '.$self->{SRCDIR}.'/tmp/cfg.file'); 
    7077 
    7178        unlink($self->{LIGHTTPD_PIDFILE}); 
    7279        if (1) { 
    73                 system($self->{LIGHTTPD_PATH}." -f /tmp/cfg.file"); 
     80                system($self->{LIGHTTPD_PATH}." -f ".$self->{SRCDIR}."/tmp/cfg.file -m ".$self->{BASEDIR}."/src/.libs"); 
    7481                select(undef, undef, undef, 0.1); 
    7582        } else { 
    76                 system("valgrind --tool=memcheck --show-reachable=yes --leak-check=yes --logfile=foo ".$self->{LIGHTTPD_PATH}." -D -f /tmp/cfg.file &"); 
     83                system("valgrind --tool=memcheck --show-reachable=yes --leak-check=yes --logfile=foo ".$self->{LIGHTTPD_PATH}." -D -f ".$self->{SRCDIR}."/tmp/cfg.file -m ".$self->{BASEDIR}."/src/.libs &"); 
    7784                select(undef, undef, undef, 2); 
    7885        } 
     
    8188        # sleep(1); 
    8289 
    83         unlink("/tmp/cfg.file"); 
     90        unlink($self->{SRCDIR}."/tmp/cfg.file"); 
    8491 
    8592        # no pidfile, we failed 
  • branches/lighttpd-merge-1.4.x/tests/Makefile.am

    r612 r640  
    11# lighttpd.conf and conformance.pl expect this directory 
    2 testdir=/tmp/lighttpd/ 
     2testdir=$(srcdir)/tmp/lighttpd/ 
    33 
    44if CHECK_WITH_FASTCGI 
  • branches/lighttpd-merge-1.4.x/tests/bug-06.conf

    r349 r640  
    1 server.document-root         = "/tmp/lighttpd/servers/www.example.org/pages/" 
    2 server.pid-file              = "/tmp/lighttpd/lighttpd.pid" 
     1server.document-root         = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/" 
     2server.pid-file              = "@SRCDIR@/tmp/lighttpd/lighttpd.pid" 
    33 
    44## bind to port (default: 80) 
     
    99## bind to localhost (default: all interfaces) 
    1010server.bind                = "localhost" 
    11 server.errorlog            = "/tmp/lighttpd/logs/lighttpd.error.log" 
     11server.errorlog            = "@SRCDIR@/tmp/lighttpd/logs/lighttpd.error.log" 
    1212server.name                = "www.example.org" 
    1313server.tag                 = "Apache 1.3.29" 
     
    6060 
    6161 
    62 accesslog.filename          = "/tmp/lighttpd/logs/lighttpd.access.log" 
     62accesslog.filename          = "@SRCDIR@/tmp/lighttpd/logs/lighttpd.access.log" 
    6363 
    6464mimetype.assign             = ( ".png"  => "image/png",  
     
    7878                                ".conf" => "text/plain" ) 
    7979 
    80 compress.cache-dir          = "/tmp/lighttpd/cache/compress/" 
     80compress.cache-dir          = "@SRCDIR@/tmp/lighttpd/cache/compress/" 
    8181compress.filetype           = ("text/plain", "text/html") 
    8282 
     
    9191                                    "port" => 1026, 
    9292#                                   "mode" => "authorizer", 
    93 #                                   "docroot" => "/tmp/lighttpd/servers/www.example.org/pages/", 
     93#                                   "docroot" => "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/", 
    9494                                  ) 
    9595                                ) 
     
    107107 
    108108auth.backend                = "plain" 
    109 auth.backend.plain.userfile = "/tmp/lighttpd/lighttpd.user" 
     109auth.backend.plain.userfile = "@SRCDIR@/tmp/lighttpd/lighttpd.user" 
    110110auth.backend.plain.groupfile = "lighttpd.group" 
    111111 
     
    150150 
    151151simple-vhost.document-root  = "pages" 
    152 simple-vhost.server-root    = "/tmp/lighttpd/servers/" 
     152simple-vhost.server-root    = "@SRCDIR@/tmp/lighttpd/servers/" 
    153153simple-vhost.default-host   = "www.example.org" 
    154154 
    155155$HTTP["host"] == "vvv.example.org" { 
    156   server.document-root = "/tmp/lighttpd/servers/www.example.org/pages/" 
     156  server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/" 
    157157} 
    158158 
    159159$HTTP["host"] == "zzz.example.org" { 
    160   server.document-root = "/tmp/lighttpd/servers/www.example.org/pages/" 
     160  server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/" 
    161161  server.name = "zzz.example.org" 
    162162} 
  • branches/lighttpd-merge-1.4.x/tests/bug-12.conf

    r349 r640  
    1 server.document-root         = "/tmp/lighttpd/servers/www.example.org/pages/" 
    2 server.pid-file              = "/tmp/lighttpd/lighttpd.pid" 
     1server.document-root         = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/" 
     2server.pid-file              = "@SRCDIR@/tmp/lighttpd/lighttpd.pid" 
    33 
    44## bind to port (default: 80) 
     
    99## bind to localhost (default: all interfaces) 
    1010server.bind                = "localhost" 
    11 server.errorlog            = "/tmp/lighttpd/logs/lighttpd.error.log" 
     11server.errorlog            = "@SRCDIR@/tmp/lighttpd/logs/lighttpd.error.log" 
    1212server.name                = "www.example.org" 
    1313server.tag                 = "Apache 1.3.29" 
     
    6262 
    6363 
    64 accesslog.filename          = "/tmp/lighttpd/logs/lighttpd.access.log" 
     64accesslog.filename          = "@SRCDIR@/tmp/lighttpd/logs/lighttpd.access.log" 
    6565 
    6666mimetype.assign             = ( ".png"  => "image/png",  
     
    8080                                ".conf" => "text/plain" ) 
    8181 
    82 compress.cache-dir          = "/tmp/lighttpd/cache/compress/" 
     82compress.cache-dir          = "@SRCDIR@/tmp/lighttpd/cache/compress/" 
    8383compress.filetype           = ("text/plain", "text/html") 
    8484 
     
    9393                                    "port" => 1026, 
    9494#                                   "mode" => "authorizer", 
    95 #                                   "docroot" => "/tmp/lighttpd/servers/www.example.org/pages/", 
     95#                                   "docroot" => "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/", 
    9696                                  ) 
    9797                                ) 
     
    109109 
    110110auth.backend                = "plain" 
    111 auth.backend.plain.userfile = "/tmp/lighttpd/lighttpd.user" 
     111auth.backend.plain.userfile = "@SRCDIR@/tmp/lighttpd/lighttpd.user" 
    112112auth.backend.plain.groupfile = "lighttpd.group" 
    113113 
     
    152152 
    153153simple-vhost.document-root  = "pages" 
    154 simple-vhost.server-root    = "/tmp/lighttpd/servers/" 
     154simple-vhost.server-root    = "@SRCDIR@/tmp/lighttpd/servers/" 
    155155simple-vhost.default-host   = "www.example.org" 
    156156 
    157157$HTTP["host"] == "vvv.example.org" { 
    158   server.document-root = "/tmp/lighttpd/servers/www.example.org/pages/" 
     158  server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/" 
    159159} 
    160160 
    161161$HTTP["host"] == "zzz.example.org" { 
    162   server.document-root = "/tmp/lighttpd/servers/www.example.org/pages/" 
     162  server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/" 
    163163  server.name = "zzz.example.org" 
    164164} 
  • branches/lighttpd-merge-1.4.x/tests/cleanup.sh

    r1 r640  
    11#!/bin/sh 
    2  
    3 tmpdir=/tmp/lighttpd 
    42 
    53if test x$srcdir = x; then 
    64        srcdir=. 
    75fi 
     6 
     7tmpdir=$srcdir/tmp/lighttpd 
    88 
    99# create test-framework 
  • branches/lighttpd-merge-1.4.x/tests/condition.conf

    r524 r640  
    33debug.log-condition-handling = "enable" 
    44 
    5 server.document-root         = "/tmp/lighttpd/servers/www.example.org/pages/" 
    6 server.pid-file              = "/tmp/lighttpd/lighttpd.pid" 
     5server.document-root         = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/" 
     6server.pid-file              = "@SRCDIR@/tmp/lighttpd/lighttpd.pid" 
    77 
    88## bind to port (default: 80) 
     
    1111## bind to localhost (default: all interfaces) 
    1212server.bind                = "localhost" 
    13 server.errorlog            = "/tmp/lighttpd/logs/lighttpd.error.log" 
     13server.errorlog            = "@SRCDIR@/tmp/lighttpd/logs/lighttpd.error.log" 
    1414server.name                = "www.example.org" 
    1515server.tag                 = "Apache 1.3.29" 
     
    2323 
    2424 
    25 accesslog.filename          = "/tmp/lighttpd/logs/lighttpd.access.log" 
     25accesslog.filename          = "@SRCDIR@/tmp/lighttpd/logs/lighttpd.access.log" 
    2626 
    2727mimetype.assign             = ( ".html" => "text/html" ) 
     
    3030 
    3131$HTTP["host"] == "www.example.org" { 
    32   server.document-root = "/tmp/lighttpd/servers/www.example.org/pages/" 
     32  server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/" 
    3333  server.name = "www.example.org" 
    3434  url.redirect = ("^" => "/match_1") 
    3535} 
    3636else $HTTP["host"] == "test1.example.org" { 
    37   server.document-root = "/tmp/lighttpd/servers/www.example.org/pages/" 
     37  server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/" 
    3838  server.name = "test1.example.org" 
    3939  url.redirect = ("^" => "/match_2") 
     
    4141# comments 
    4242else $HTTP["host"] == "test2.example.org" { 
    43   server.document-root = "/tmp/lighttpd/servers/www.example.org/pages/" 
     43  server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/" 
    4444  server.name = "test2.example.org" 
    4545  url.redirect = ("^" => "/match_3") 
     
    4949 
    5050else $HTTP["host"] == "test3.example.org" { 
    51   server.document-root = "/tmp/lighttpd/servers/www.example.org/pages/" 
     51  server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/" 
    5252  server.name = "test3.example.org" 
    5353  url.redirect = ("^" => "/match_4") 
  • branches/lighttpd-merge-1.4.x/tests/fastcgi-10.conf

    r349 r640  
    1 server.document-root         = "/tmp/lighttpd/servers/www.example.org/pages/" 
    2 server.pid-file              = "/tmp/lighttpd/lighttpd.pid" 
     1server.document-root         = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/" 
     2server.pid-file              = "@SRCDIR@/tmp/lighttpd/lighttpd.pid" 
    33 
    44## bind to port (default: 80) 
     
    99## bind to localhost (default: all interfaces) 
    1010server.bind                = "localhost" 
    11 server.errorlog            = "/tmp/lighttpd/logs/lighttpd.error.log" 
     11server.errorlog            = "@SRCDIR@/tmp/lighttpd/logs/lighttpd.error.log" 
    1212server.name                = "www.example.org" 
    1313server.tag                 = "Apache 1.3.29" 
     
    5858 
    5959 
    60 accesslog.filename          = "/tmp/lighttpd/logs/lighttpd.access.log" 
     60accesslog.filename          = "@SRCDIR@/tmp/lighttpd/logs/lighttpd.access.log" 
    6161 
    6262mimetype.assign             = ( ".png"  => "image/png",  
     
    7676                                ".conf" => "text/plain" ) 
    7777 
    78 compress.cache-dir          = "/tmp/lighttpd/cache/compress/" 
     78compress.cache-dir          = "@SRCDIR@/tmp/lighttpd/cache/compress/" 
    7979compress.filetype           = ("text/plain", "text/html") 
    8080 
     
    104104 
    105105auth.backend                = "plain" 
    106 auth.backend.plain.userfile = "/tmp/lighttpd/lighttpd.user" 
     106auth.backend.plain.userfile = "@SRCDIR@/tmp/lighttpd/lighttpd.user" 
    107107auth.backend.plain.groupfile = "lighttpd.group" 
    108108 
     
    147147 
    148148$HTTP["host"] == "vvv.example.org" { 
    149   server.document-root = "/tmp/lighttpd/servers/www.example.org/pages/" 
     149  server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/" 
    150150} 
    151151 
    152152$HTTP["host"] == "zzz.example.org" { 
    153   server.document-root = "/tmp/lighttpd/servers/www.example.org/pages/" 
     153  server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/" 
    154154  server.name = "zzz.example.org" 
    155155} 
  • branches/lighttpd-merge-1.4.x/tests/fastcgi-13.conf

    r559 r640  
    1 server.document-root         = "/tmp/lighttpd/servers/www.example.org/pages/" 
    2 server.pid-file              = "/tmp/lighttpd/lighttpd.pid" 
     1server.document-root         = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/" 
     2server.pid-file              = "@SRCDIR@/tmp/lighttpd/lighttpd.pid" 
    33 
    44debug.log-request-header   = "enable" 
     
    1313## bind to localhost (default: all interfaces) 
    1414server.bind                = "localhost" 
    15 server.errorlog            = "/tmp/lighttpd/logs/lighttpd.error.log" 
     15server.errorlog            = "@SRCDIR@/tmp/lighttpd/logs/lighttpd.error.log" 
    1616server.name                = "www.example.org" 
    1717server.tag                 = "Apache 1.3.29" 
     
    6262 
    6363 
    64 accesslog.filename          = "/tmp/lighttpd/logs/lighttpd.access.log" 
     64accesslog.filename          = "@SRCDIR@/tmp/lighttpd/logs/lighttpd.access.log" 
    6565 
    6666mimetype.assign             = ( ".png"  => "image/png",  
     
    8080                                ".conf" => "text/plain" ) 
    8181 
    82 compress.cache-dir          = "/tmp/lighttpd/cache/compress/" 
     82compress.cache-dir          = "@SRCDIR@/tmp/lighttpd/cache/compress/" 
    8383compress.filetype           = ("text/plain", "text/html") 
    8484 
     
    104104 
    105105auth.backend                = "plain" 
    106 auth.backend.plain.userfile = "/tmp/lighttpd/lighttpd.user" 
     106auth.backend.plain.userfile = "@SRCDIR@/tmp/lighttpd/lighttpd.user" 
    107107auth.backend.plain.groupfile = "lighttpd.group" 
    108108 
     
    147147 
    148148$HTTP["host"] == "vvv.example.org" { 
    149   server.document-root = "/tmp/lighttpd/servers/www.example.org/pages/" 
     149  server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/" 
    150150} 
    151151 
    152152$HTTP["host"] == "zzz.example.org" { 
    153   server.document-root = "/tmp/lighttpd/servers/www.example.org/pages/" 
     153  server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/" 
    154154  server.name = "zzz.example.org" 
    155155} 
  • branches/lighttpd-merge-1.4.x/tests/fastcgi-auth.conf

    r387 r640  
    1 server.document-root         = "/tmp/lighttpd/servers/www.example.org/pages/" 
    2 server.pid-file              = "/tmp/lighttpd/lighttpd.pid" 
     1server.document-root         = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/" 
     2server.pid-file              = "@SRCDIR@/tmp/lighttpd/lighttpd.pid" 
    33 
    44debug.log-request-header   = "enable" 
     
    1313## bind to localhost (default: all interfaces) 
    1414server.bind                = "localhost" 
    15 server.errorlog            = "/tmp/lighttpd/logs/lighttpd.error.log" 
     15server.errorlog            = "@SRCDIR@/tmp/lighttpd/logs/lighttpd.error.log" 
    1616server.name                = "www.example.org" 
    1717server.tag                 = "Apache 1.3.29" 
     
    6262 
    6363 
    64 accesslog.filename          = "/tmp/lighttpd/logs/lighttpd.access.log" 
     64accesslog.filename          = "@SRCDIR@/tmp/lighttpd/logs/lighttpd.access.log" 
    6565 
    6666mimetype.assign             = ( ".png"  => "image/png",  
     
    8080                                ".conf" => "text/plain" ) 
    8181 
    82 compress.cache-dir          = "/tmp/lighttpd/cache/compress/" 
     82compress.cache-dir          = "@SRCDIR@/tmp/lighttpd/cache/compress/" 
    8383compress.filetype           = ("text/plain", "text/html") 
    8484 
     
    9090                                    "bin-path" => "@SRCDIR@/fcgi-auth", 
    9191                                    "mode" => "authorizer", 
    92                                     "docroot" => "/tmp/lighttpd/servers/www.example.org/pages/", 
     92                                    "docroot" => "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/", 
    9393                                     
    9494                                  ) 
     
    107107 
    108108auth.backend                = "plain" 
    109 auth.backend.plain.userfile = "/tmp/lighttpd/lighttpd.user" 
     109auth.backend.plain.userfile = "@SRCDIR@/tmp/lighttpd/lighttpd.user" 
    110110auth.backend.plain.groupfile = "lighttpd.group" 
    111111 
     
    150150 
    151151$HTTP["host"] == "vvv.example.org" { 
    152   server.document-root = "/tmp/lighttpd/servers/www.example.org/pages/" 
     152  server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/" 
    153153} 
    154154 
    155155$HTTP["host"] == "zzz.example.org" { 
    156   server.document-root = "/tmp/lighttpd/servers/www.example.org/pages/" 
     156  server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/" 
    157157  server.name = "zzz.example.org" 
    158158} 
  • branches/lighttpd-merge-1.4.x/tests/fastcgi-responder.conf

    r387 r640  
    1 server.document-root         = "/tmp/lighttpd/servers/www.example.org/pages/" 
    2 server.pid-file              = "/tmp/lighttpd/lighttpd.pid" 
     1server.document-root         = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/" 
     2server.pid-file              = "@SRCDIR@/tmp/lighttpd/lighttpd.pid" 
    33 
    44#debug.log-request-header   = "enable" 
     
    1616## bind to localhost (default: all interfaces) 
    1717server.bind                = "localhost" 
    18 server.errorlog            = "/tmp/lighttpd/logs/lighttpd.error.log" 
     18server.errorlog            = "@SRCDIR@/tmp/lighttpd/logs/lighttpd.error.log" 
    1919server.name                = "www.example.org" 
    2020server.tag                 = "Apache 1.3.29" 
     
    6565 
    6666 
    67 accesslog.filename          = "/tmp/lighttpd/logs/lighttpd.access.log" 
     67accesslog.filename          = "@SRCDIR@/tmp/lighttpd/logs/lighttpd.access.log" 
    6868 
    6969mimetype.assign             = ( ".png"  => "image/png",  
     
    8383                                ".conf" => "text/plain" ) 
    8484 
    85 compress.cache-dir          = "/tmp/lighttpd/cache/compress/" 
     85compress.cache-dir          = "@SRCDIR@/tmp/lighttpd/cache/compress/" 
    8686compress.filetype           = ("text/plain", "text/html") 
    8787 
     
    110110 
    111111auth.backend                = "plain" 
    112 auth.backend.plain.userfile = "/tmp/lighttpd/lighttpd.user" 
     112auth.backend.plain.userfile = "@SRCDIR@/tmp/lighttpd/lighttpd.user" 
    113113auth.backend.plain.groupfile = "lighttpd.group" 
    114114 
     
    153153 
    154154$HTTP["host"] == "vvv.example.org" { 
    155   server.document-root = "/tmp/lighttpd/servers/www.example.org/pages/" 
     155  server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/" 
    156156} 
    157157 
    158158$HTTP["host"] == "zzz.example.org" { 
    159   server.document-root = "/tmp/lighttpd/servers/www.example.org/pages/" 
     159  server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/" 
    160160  server.name = "zzz.example.org" 
    161161} 
  • branches/lighttpd-merge-1.4.x/tests/lighttpd.conf

    <
    r623 r640  
    1 server.document-root         = "/tmp/lighttpd/servers/www.example.org/pages/" 
    2 server.pid-file              = "/tmp/lighttpd/lighttpd.pid" 
     1server.document-root         = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/" 
     2server.pid-file              = "@SRCDIR@/tmp/lighttpd/lighttpd.pid" 
    33 
    44## bind to port (default: 80) 
     
    77## bind to localhost (default: all interfaces) 
    88server.bind                = "localhost" 
    9 server.errorlog            = "/tmp/lighttpd/logs/lighttpd.error.log" 
     9server.errorlog            = "@SRCDIR@/tmp/lighttpd/logs/lighttpd.error.log" 
    1010server.name                = "www.example.org" 
    1111server.tag                 = "Apache 1.3.29" 
     
    4545ssi.extension = ( ".shtml" ) 
    4646 
    47 accesslog.filename          = "/tmp/lighttpd/logs/lighttpd.access.log" 
     47accesslog.filename          = "@SRCDIR@/tmp/lighttpd/logs/lighttpd.access.log" 
    4848 
    4949mimetype.assign             = ( ".png"  => "image/png",  
     
    6363                                ".conf" => "text/plain" ) 
    6464 
    65 compress.cache-dir          = "/tmp/lighttpd/cache/compress/" 
     65compress.cache-dir          = "@SRCDIR@/tmp/lighttpd/cache/compress/" 
    6666compress.filetype           = ("text/plain", "text/html") 
    6767 
     
    9292 
    9393auth.backend                = "plain" 
    94 auth.backend.plain.userfile = "/tmp/lighttpd/lighttpd.user" 
     94auth.backend.plain.userfile = "@SRCDIR@/tmp/lighttpd/lighttpd.user" 
    9595auth.backend.plain.groupfile = "lighttpd.group" 
    9696 
     
    137137 
    138138$HTTP["host"] == "vvv.example.org" { 
    139   server.document-root = "/tmp/lighttpd/servers/www.example.org/pages/" 
     139  server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/" 
    140