NSLU2-Linux
view · edit · print · history

OpenSlug.CherokeeWebServer History

Hide minor edits - Show changes to markup

January 23, 2008, at 09:57 PM by Loic Pfister -- ortographe
Changed lines 12-13 from:

Then download in the directory of your choice and install it by the "ipkg install PlaceOfPacket".

to:

Then download in the directory of your choice and install it by the "ipkg install PlaceOfPacket/nameOfPacket".

Changed lines 21-22 from:

To create a new virtual host go in you "site-available" directory (this directory must be in /etc/cherokee/ )

to:

To create a new virtual host go in your "site-available" directory (this directory should be in /etc/cherokee/ )

October 25, 2007, at 09:18 AM by Franco Marra --
Changed line 70 from:

The problem with jpg apparently occours only with pretty large files. I writed a little web site using MS Publisher, inserting an image of myself. In the HTML code there are references to two files containing my image, one is 8k long, and the other one is 50k long. Accessing the site using MSIE, the brower tries to load the 50k version, getting a zero lenght file (answer is 200), while accessing with firefox the 8k version is correctly loaded and displayed. Changing any jpg in Jpg everything goes fine. Mail me for more info f.marra@iol.it

to:

The problem with jpg apparently occours only with pretty large files. I writed a little web site using MS Publisher, inserting an image of myself. In the HTML code there are references to two files containing my image, one is 8k long, and the other one is 500k long. Accessing the site using MSIE, the brower tries to load the 50k version, getting a zero lenght file (answer is 200), while accessing with firefox the 8k version is correctly loaded and displayed. Changing any jpg in Jpg everything goes fine. Mail me for more info f.marra@iol.it

October 25, 2007, at 09:10 AM by Franco Marra -- Other info about the strange jpg error
Changed lines 66-70 from:

Cherokee version 0.5.6 fails to display JPEG files in <img> tags if files on disk have extension .jpg (all lowercase) and <img> tag on the webpage has it lowercase too. However, if extension on the webpage is changed to .Jpg, .jPg, .jpG or .JPG then image displays properly. Very annoying bug. Tested on Unslung 6.8, installed from package (ipkg install cherokee).

to:

Cherokee version 0.5.6 fails to display JPEG files in <img> tags if files on disk have extension .jpg (all lowercase) and <img> tag on the webpage has it lowercase too. However, if extension on the webpage is changed to .Jpg, .jPg, .jpG or .JPG then image displays properly. Very annoying bug. Tested on Unslung 6.8, installed from package (ipkg install cherokee).

Other info about the strange jpg error

The problem with jpg apparently occours only with pretty large files. I writed a little web site using MS Publisher, inserting an image of myself. In the HTML code there are references to two files containing my image, one is 8k long, and the other one is 50k long. Accessing the site using MSIE, the brower tries to load the 50k version, getting a zero lenght file (answer is 200), while accessing with firefox the 8k version is correctly loaded and displayed. Changing any jpg in Jpg everything goes fine. Mail me for more info f.marra@iol.it

October 20, 2007, at 03:02 AM by Andrei Volkov -- Cherokee error displaying .jpg files
Added lines 63-66:

Strange error displaying .jpg files

Cherokee version 0.5.6 fails to display JPEG files in <img> tags if files on disk have extension .jpg (all lowercase) and <img> tag on the webpage has it lowercase too. However, if extension on the webpage is changed to .Jpg, .jPg, .jpG or .JPG then image displays properly. Very annoying bug. Tested on Unslung 6.8, installed from package (ipkg install cherokee).

May 29, 2007, at 02:34 PM by fcarolo -- link formatting
Changed lines 12-13 from:

Then download in the directory of your choice and install it by the "ipkg install PlaceOfPacket?".

to:

Then download in the directory of your choice and install it by the "ipkg install PlaceOfPacket".

Changed lines 30-31 from:

3)At the end of your file you have to put also the DirectoryIndex? and the Extension:

    DirectoryIndex? index.php, index.html, index.htm, index.shtml
to:

3)At the end of your file you have to put also the DirectoryIndex and the Extension:

    DirectoryIndex index.php, index.html, index.htm, index.shtml
Changed lines 42-43 from:
  DocumentRoot? /home/loic/loic/website/duke
to:
  DocumentRoot /home/loic/loic/website/duke
Changed lines 52-53 from:
          DirectoryIndex? index.php, index.html, index.htm, index.shtml
to:
          DirectoryIndex index.php, index.html, index.htm, index.shtml
Changed lines 62-70 from:

For more information you can go to the official website which is well documented.

http://www.cherokee-project.com/

to:

For more information you can go to the official website which is well documented.

May 29, 2007, at 07:23 AM by Loic Pfister --
Changed lines 6-7 from:

I made this howto because I m just a newbe and I spend a lot of time to make it works on my slug.

to:

I made this howto because I m just a newbie and I spend a lot of time to make it works on my slug.

Changed lines 37-39 from:

Here is an exemple of my website configuration file

to:

Here is an example of my website configuration file

May 29, 2007, at 07:22 AM by Loic Pfister --
May 29, 2007, at 07:21 AM by Loic Pfister --
Changed lines 62-68 from:
to:

For more information you can go to the official website which is well documented.

http://www.cherokee-project.com/

May 29, 2007, at 07:20 AM by Loic Pfister --
Changed line 39 from:
  1. Virtual server for example.com
to:
Added line 41:
Added line 53:
Added line 55:
Added line 57:
May 29, 2007, at 07:19 AM by Loic Pfister --
Added line 22:
Added line 27:
Added line 29:
Deleted line 39:
May 29, 2007, at 07:18 AM by Loic Pfister -- Howto for a cherokee server with php
Added lines 9-58:

Actually you have to download the package manually. You can find it on http://ipkg.nslu2-linux.org/feeds/openslug/oe/ Then download in the directory of your choice and install it by the "ipkg install PlaceOfPacket?".

Install Cherokee

It's quiet simple to install cherokee, you juste have to run "ipkg install cherokee"

Virtual host

It's really simple to manage severals virtual host. To create a new virtual host go in you "site-available" directory (this directory must be in /etc/cherokee/ ) Now copy the example.com to the name of you website for example "name.domain.info" Here you have to make some modifications

1)Replace"Server example.com, www.example.com "---> by <--- "Server name.domain.info.com" 2)Modify the documentRoot target to your website. 3)At the end of your file you have to put also the DirectoryIndex? and the Extension:

    DirectoryIndex? index.php, index.html, index.htm, index.shtml
          Extension php, php3, php4 {
                          Handler phpcgi
          }
    }

Here is an exemple of my website configuration file

  1. Virtual server for example.com

Server duke.duke-beer.info,www.duke-beer.info {

  DocumentRoot? /home/loic/loic/website/duke

          Directory / {
                          Handler common
          }

          ##
          ## Rest of the virtual host configuration..
          ## Add your parameters here..
          ##
          DirectoryIndex? index.php, index.html, index.htm, index.shtml
          Extension php, php3, php4 {
                          Handler phpcgi

}}

May 29, 2007, at 06:58 AM by Loic Pfister --
Added lines 1-8:

Cherokee web server with php installation

about

This howto explains how to install a cherokee web server with php. Also how to create virtual host. I made this howto because I m just a newbe and I spend a lot of time to make it works on my slug.

First thing,install PHP

view · edit · print · history · Last edited by Loic Pfister.
Based on work by Franco Marra, Andrei Volkov, fcarolo, and Loic Pfister.
Originally by Loic Pfister.
Page last modified on January 23, 2008, at 09:57 PM