website diff en/doc/handbook/web-server.html @ rev 41

Add Chroot to Handbook (en) and fix typos
author Paul Issott <paul@slitaz.org>
date Sat May 07 21:03:21 2011 +0000 (2011-05-07)
parents 8c689138f7fd
children d0b00447604c
line diff
     1.1 --- a/en/doc/handbook/web-server.html	Thu May 05 12:59:13 2011 +0000
     1.2 +++ b/en/doc/handbook/web-server.html	Sat May 07 21:03:21 2011 +0000
     1.3 @@ -16,6 +16,7 @@
     1.4  <div id="header">
     1.5  <div id="quicknav" align="right">
     1.6      <a name="top"></a>
     1.7 +    <a href="chroot-env.html">Chroot Environment</a> |
     1.8      <a href="index.html">Table of contents</a>
     1.9  </div>
    1.10  <h1><font color="#3e1220">SliTaz Handbook (en)</font></h1>
    1.11 @@ -48,14 +49,14 @@
    1.12  </p>
    1.13  <p>
    1.14  On SliTaz the server is automatically launched at system startup and is preconfigured with PHP. The root
    1.15 -of the documents served by default are in <code>/var/www</code> and contain a default page <code>index.html</code>,
    1.16 +of the documents served by default are in <code>/var/www</code>, this contains the default page <code>index.html</code>,
    1.17  images are stored in the <code>images/</code> directory.
    1.18  LightTPD website: <a href="http://www.lighttpd.net/">http://www.lighttpd.net/</a>
    1.19  </p>
    1.20  <a name="var-www"></a>
    1.21  <h3>/var/www - Root directory of documents</h3>
    1.22  <p>
    1.23 -The directory /var/www is the root directory of documents - you can access this via the URL
    1.24 +The /var/www folder is the <em>root</em> directory of documents - you can access this via the URL
    1.25  <a href="http://localhost/">http://localhost/</a>. If you want to host a site, you can save all your documents
    1.26  in here. If you want to host multiple sites, you'll need to create virtual hosts. Note you can also check the 
    1.27  <a href="http://localhost/server-status">http://localhost/server-status</a>. 
    1.28 @@ -88,7 +89,7 @@
    1.29  <p>
    1.30  By default, SliTaz starts the server automatically at boot, to prevent this you need to remove
    1.31  <code>lighttpd</code> from the variable RUN_DAEMONS located in the system file
    1.32 -<code>/etc/rcS.conf</code>. To start, stop, restart the server; you can use the commands:
    1.33 +<code>/etc/rcS.conf</code>. To start, stop or restart the server; you can use the commands:
    1.34  <code>/etc/init.d/lighttpd [start|stop|restart]</code>. Example to restart the server after
    1.35  changing the configuration file:
    1.36  </p>
    1.37 @@ -188,7 +189,7 @@
    1.38   # nano /etc/lighttpd/plain.passwd
    1.39  </pre>
    1.40  <p>
    1.41 -To test the address: http://localhost/admin/, just restart the server:
    1.42 +To test the address: <strong>http://localhost/admin/</strong>, just restart the server:
    1.43  </p>
    1.44  <pre> # /etc/init.d/lighttpd restart
    1.45  </pre>