Changeset 1836
- Timestamp:
- 08/14/08 23:46:41 (3 months ago)
- Files:
-
- cherokee/trunk/doc/bundle_cherokee-admin.txt (modified) (4 diffs)
- cherokee/trunk/doc/bundle_cherokee-guardian.txt (modified) (1 diff)
- cherokee/trunk/doc/cookbook_authentication.txt (modified) (2 diffs)
- cherokee/trunk/doc/media/css/cherokee_doc.css (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/doc/bundle_cherokee-admin.txt
r1819 r1836 12 12 13 13 If you want to access the administration interface from the same 14 computer that you installed cherokee on simply start the14 computer that you installed cherokee on, simply start the 15 15 administration interface by running: 16 16 … … 20 20 ---- 21 21 22 Then redirect your web browser to 127.0.0.1:9090 thisis the default23 port for the administration interface.22 Then redirect your web browser to 127.0.0.1:9090, which is the default 23 address and port for the administration interface. 24 24 25 25 image::media/images/admin_launch.png[Cherokee admin interface] 26 26 27 27 If 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 28 computer, the easiest solution is to bind the cherokee administration 29 interface to all network interfaces: 31 30 32 31 ---- … … 37 36 everyone that can access the computer can alter your cherokee 38 37 configuration. 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: 38 better to use 'ssh -L' in these cases. 39 40 Instead of binding it to every interface, we encourage you to use an 41 SSH tunnel. This is the recommended way. In order to do so you must 42 issue the following command: 42 43 43 44 ---- … … 45 46 ---- 46 47 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 48 After that you can access the remote interface through 49 http://localhost:9090 and every request will be forwarded to the 50 remote IP running cherokee-admin. 51 51 52 52 Of course these options can be combined to your heart's contempt. cherokee/trunk/doc/bundle_cherokee-guardian.txt
r1816 r1836 4 4 ---------------------------------- 5 5 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 6 This command-line tool is a wrapper for the main Cherokee 7 executable. It is used as a safety net to invoke `cherokee` and to 8 ensure it is always functioning. It also plays an important role in 9 the link:other_goodies.html#zero-downtime[zero-downtime] mechanism 10 implemented to allow graceful restarts of the server. 13 11 14 12 This is the full information provided by the manpage. cherokee/trunk/doc/cookbook_authentication.txt
r1824 r1836 128 128 suits the shown query. 129 129 130 131 Assuming you have a MySQL user with privileges granted to create 132 databases, a MySQL session simliar to this one would suffice: 133 134 ---- 135 $ mysql -u cherokee -D cherokee -p 136 137 mysql> CREATE DATABASE cherokee; 138 Query OK, 1 row affected (0.00 sec) 139 140 mysql> CREATE TABLE auth_users( 141 username varchar(32), 142 password varchar(32), 143 PRIMARY KEY (username)); 144 Query OK, 0 rows affected (0.00 sec) 145 146 mysql> INSERT INTO auth_users VALUES('cherokee','cherokee'); 147 Query OK, 1 row affected (0.00 sec) 148 149 mysql> quit 150 ---- 151 130 152 When we are done, our simple virtual server should look like this: 131 153 … … 133 155 134 156 And any content requested to Cherokee will require prior 135 authentication agains the database. 157 authentication against the database. 158 136 159 137 160 //// 138 161 To be written 139 More details for mysql andldap, with screenshots.162 More details for ldap, with screenshots. 140 163 //// 164 165 cherokee/trunk/doc/media/css/cherokee_doc.css
r1816 r1836 4 4 border: 1px solid red; 5 5 */ 6 }7 8 body {9 margin: 1em 5% 1em 5%;10 6 } 11 7 … … 262 258 } 263 259 264 div.imageblock div.content { text-align:center; padding-left: 0; margin-left:100px; }260 div.imageblock div.content { text-align:center; padding-left: 0; //margin-left:100px; } 265 261 div.imageblock img { border: 1px solid silver; } 266 262 span.image img { border-style: none; }