Development

lighttpd (diff)

You must first sign up to be able to contribute.

Changes between Version 1 and Version 2 of lighttpd

Show
Ignore:
Author:
jamiel (IP: 93.97.11.222)
Timestamp:
07/18/08 14:05:53 (9 years ago)
Comment:

Keep your dev environment functioning as normal

Legend:

Unmodified
Added
Removed
Modified
  • lighttpd

    v1 v2  
    244244 
    245245    url.rewrite-once = ( 
     246        "^/front_dev.php\/?([^.]+)$/" =>  
    246247        "^/(.*\..+(?!html))$" => "$0", 
    247248        "^/(.*)\.(.*)"        => "$0", 
    248249        "^/([^.]+)$"          => "/index.php/$1", 
    249         "^/$"                 => "/index.php" 
     250        "^/$"        => "/index.php" 
     251    ) 
     252}}} 
     253 
     254To ensure your dev environment runs as normal add your app_dev.php to the rules. 
     255 
     256{{{ 
     257    url.rewrite-once = ( 
     258        "^/front_dev.php\/?([^.]+)$/" => "/front_dev.php/$1", 
     259        "^/(.*\..+(?!html))$" => "$0", 
     260        "^/(.*)\.(.*)"        => "$0", 
     261        "^/([^.]+)$"          => "/index.php/$1", 
     262        "^/$"        => "/index.php" 
    250263    ) 
    251264}}}