Changeset 1721

Show
Ignore:
Timestamp:
08/04/08 10:55:19 (5 months ago)
Author:
taher
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cherokee/trunk/doc/debug.txt

    r1647 r1721  
    2222---- 
    2323 
    24 * You can also enable a new cool feature: CHEROKEE_TRACE, which will let you trace the 
    25   behavior with a human-readable output: 
     24* You can also enable a cool feature: the CHEROKEE_TRACE environment 
     25  variable to trace what is going on inside the server. To enable it 
     26  you must add a special flag to your `configure` or `autogen.sh` 
     27  statement: 
    2628 
    2729---- 
     
    2931---- 
    3032 
    31 Now, when you are going to launch the web server, just add the CHEROKEE_TRACE variable,  
    32 with the desired options: 
     33  This will let you trace the behavior with a human-readable output. 
     34  Now, when you are going to launch the web server, just add the 
     35  CHEROKEE_TRACE variable, with the desired options: 
     36 
    3337 
    3438---- 
     
    4751---- 
    4852 
    49 Of course, you can trace all the modules (handlers, loggers..) you need: 
     53  Of course, you can trace all the modules (handlers, loggers..) you need: 
    5054 
    5155---- 
     
    5458---- 
    5559 
     60  By default the environment variable contains a list of comma separated   
     61  words, that point the server which parts and actions are interesting   
     62  for your trace. Besides, there are a few special cases: 
     63 
     64  - all: Activates all the trace points 
     65  - time: Prints the time at the beginning of the line 
     66  - thread: Prints the thread ID 
     67 
     68* You can also access the functionality of CHEROKE_TRACE through 
     69  `cherokee-tweak`. Refer to the apropriate section of the 
     70  documentation to learn more about this: 
     71  link:bundle_cherokee-tweak.html[cherokee-tweak]. 
     72 
     73* Lastly a utility is provided, `contrib/tracelor.py`, to provide 
     74  further help to these tracing abilities. It is a little script that 
     75  helps to read the tracing logs by colorizing the thread references 
     76  and highlighting the words passed through the command line. 
     77 
     78  And example of usage would be: 
     79 
     80---- 
     81CHEROKEE_TRACE=thread,all ./cherokee | ../contrib/tracelor.py iocache 
     82---- 
     83   
     84  And it would yield an output such as the following. Even if it is 
     85  not rocket science, it's a handy script to trace the server more 
     86  easily. 
     87 
     88  image::media/images/tracelor.png[Output of tracelor.py] 
     89 
     90 
     91 
  • cherokee/trunk/doc/modules_validators_ldap.txt

    r1647 r1721  
     1LDAP Validator 
     2~~~~~~~~~~~~~~ 
     3The LDAP validator allows you to authenticate a user using the 
     4Lightweight Directory Access Protocol v3. 
     5 
     6Parameters 
     7^^^^^^^^^^ 
     8 
     9[grid="rows"] 
     10``~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
     11Parameter             , Description 
     12~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
     13__server__            , Name of the host providing the LDAP service. 
     14__port__              , Optional. Port number of the LDAP service. \ 
     15                        Default: __389__. 
     16__binddn__            , Optional. Bind Distinguished Name (`user`). If none \ 
     17                        is provided and anonymous bind will be attempted. 
     18__bindpw__            , Bind Password (`password`). 
     19__basedn__            , Base Distinguished Name. 
     20__filter__            , A filter that defines the conditions that must be  \ 
     21                        fulfilled in order for the search to match a given \ 
     22                        entry. 
     23__tls__               , Optional. Enable the use of TLS based integrity. \ 
     24                        Defaults to __0__. 
     25__ca_file__           , Optional. It Certificate File. Must be provided  \ 
     26                        if TLS is enabled.  
     27~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
     28 
     29Compatibility 
     30^^^^^^^^^^^^^ 
     31 
     32This validator is compatible with the **basic** scheme. 
     33 
     34Example 
     35^^^^^^^ 
     36To be written