Changeset 1836

Show
Ignore:
Timestamp:
08/14/08 23:46:41 (3 months ago)
Author:
taher
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cherokee/trunk/doc/bundle_cherokee-admin.txt

    r1819 r1836  
    1212 
    1313If you want to access the administration interface from the same 
    14 computer that you installed cherokee on simply start the 
     14computer that you installed cherokee on, simply start the 
    1515administration interface by running: 
    1616 
     
    2020---- 
    2121 
    22 Then redirect your web browser to 127.0.0.1:9090 this is the default 
    23 port for the administration interface. 
     22Then redirect your web browser to 127.0.0.1:9090, which is the default 
     23address and port for the administration interface. 
    2424 
    2525image::media/images/admin_launch.png[Cherokee admin interface] 
    2626 
    2727If you want to access the administration interface from another 
    28 computer, you need to bind the cherokee administration interface to 
    29 all network interfaces: 
    30  
     28computer, the easiest solution is to bind the cherokee administration 
     29interface to all network interfaces: 
    3130 
    3231---- 
     
    3736everyone that can access the computer can alter your cherokee 
    3837configuration. Don't use this in a production environment! It is much 
    39 better to use 'ssh -L' in these cases. These are the necessary steps 
    40 to be taken to create an SSH tunnel. This is the recommended way. In 
    41 order to do so you must issue the following command: 
     38better to use 'ssh -L' in these cases. 
     39 
     40Instead of binding it to every interface, we encourage you to use an 
     41SSH tunnel. This is the recommended way. In order to do so you must 
     42issue the following command: 
    4243 
    4344---- 
     
    4546---- 
    4647 
    47  After that you can access the remote interface through 
    48  http://localhost:9090 and every request will be forwarded to the 
    49  remote IP running cherokee-admin. 
    50  
     48After that you can access the remote interface through 
     49http://localhost:9090 and every request will be forwarded to the 
     50remote IP running cherokee-admin. 
    5151 
    5252Of course these options can be combined to your heart's contempt. 
  • cherokee/trunk/doc/bundle_cherokee-guardian.txt

    r1816 r1836  
    44---------------------------------- 
    55 
    6 This command-line tool is less known than the rest because it is to be 
    7 used by system administrators and developers. There is not much to be 
    8 added besides the syntax of the command. The main usage of this 
    9 utility is determining the used flags during the compilation and 
    10 linking process. This is useful to build programs that make use of 
    11 Cherokee. 
    12  
     6This command-line tool is a wrapper for the main Cherokee 
     7executable. It is used as a safety net to invoke `cherokee` and to 
     8ensure it is always functioning. It also plays an important role in 
     9the link:other_goodies.html#zero-downtime[zero-downtime] mechanism 
     10implemented to allow graceful restarts of the server. 
    1311 
    1412This is the full information provided by the manpage. 
  • cherokee/trunk/doc/cookbook_authentication.txt

    r1824 r1836  
    128128suits the shown query. 
    129129 
     130 
     131Assuming you have a MySQL user with privileges granted to create 
     132databases, a MySQL session simliar to this one would suffice: 
     133 
     134---- 
     135$ mysql -u cherokee -D cherokee -p 
     136 
     137mysql> CREATE DATABASE cherokee; 
     138Query OK, 1 row affected (0.00 sec) 
     139 
     140mysql> CREATE TABLE auth_users( 
     141       username varchar(32), 
     142       password varchar(32), 
     143       PRIMARY KEY (username)); 
     144Query OK, 0 rows affected (0.00 sec) 
     145 
     146mysql> INSERT INTO auth_users VALUES('cherokee','cherokee'); 
     147Query OK, 1 row affected (0.00 sec) 
     148 
     149mysql> quit 
     150---- 
     151 
    130152When we are done, our simple virtual server should look like this: 
    131153 
     
    133155 
    134156And any content requested to Cherokee will require prior 
    135 authentication agains the database. 
     157authentication against the database. 
     158 
    136159 
    137160//// 
    138161To be written 
    139 More details for mysql and ldap, with screenshots. 
     162More details for ldap, with screenshots. 
    140163//// 
     164 
     165 
  • cherokee/trunk/doc/media/css/cherokee_doc.css

    r1816 r1836  
    44  border: 1px solid red; 
    55*/ 
    6 } 
    7  
    8 body { 
    9   margin: 1em 5% 1em 5%; 
    106} 
    117 
     
    262258} 
    263259 
    264 div.imageblock div.content { text-align:center; padding-left: 0; margin-left:100px; } 
     260div.imageblock div.content { text-align:center; padding-left: 0; //margin-left:100px; } 
    265261div.imageblock img { border: 1px solid silver; } 
    266262span.image img { border-style: none; }