Development

HowtoServeStaticContent (diff)

You must first sign up to be able to contribute.

Changes between Version 7 and Version 8 of HowtoServeStaticContent

Show
Ignore:
Author:
bgunderson (IP: 24.16.121.183)
Timestamp:
02/06/07 09:25:22 (10 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowtoServeStaticContent

    v7 v8  
    1616== Example == 
    1717 
    18 To use a URL like `mysite/static/about_us`  *TODO* Fix this line 
     18To use a URL like `http://localhost/static/about_us`: 
    1919 
    20 actions.class.php 
     20=== actions.class.php === 
    2121 
    2222{{{ 
    3232}}} 
    3333 
    34 indexSuccess.php 
     34=== indexSuccess.php === 
    3535 
    3636{{{ 
    3838}}} 
    3939 
    40 routing.yml (add it before default rules) 
     40=== routing.yml === 
     41 
     42(add it before default rules) 
    4143 
    4244{{{ 
    4345static: 
    44   url : /static/:content 
     46  url /static/:content 
    4547  param: { module: static, action: index } 
    4648}}} 
    4749 
    48 _about_us.php 
     50=== _about_us.php === 
    4951 
    5052{{{