On Tue, 04 Dec 2007 00:05:32 +0000
"A.D.F." <[EMAIL PROTECTED]> wrote:
> Ogoshi wrote:
> >
> > Is possible that I copy my config files about cherokee here?? and
> > you wath if any error in the configs???
>
> Yes, of course you are allowed to post them.
>
Ok. I copy here
############ cherokee.conf ############
---------------------------------------
##
## cherokee.conf -- Cherokee HTTP server configuration file
##
##
## Port: The port to which the standalone server listens. For
## ports < 1023, you will need cherokee to be run as root initially.
## Security: if you do start the server as root, be sure not to set
## "User" to root.
##
Port 80
##
## TLS Port:
##
## To start TLS/SSL, please be sure to generate your SSL keys (read
## dos/How_to_generate_SSL_keys.html). Once this is done, enable the
## service by enabling the SSL module:
##
## # ln
-s /etc/cherokee/mods-available/ssl /etc/cherokee/mods-enabled/ssl/
##
# PortTLS 443
##
## IPv6 support
##
IPv6 Off
##
## This directiveis used to tell the server which IP address to listen
to.
##
#Listen 127.0.0.1
##
## If you wish cherokee to run as a different user or group, you must run
## cherokee as root initially and it will switch.
##
## Eg: User www-data
## Group www-data
##
## Eg: User 65534
## Group 65534
##
#User nobody
#Group nogroup
##
## Chroot:
##
# Chroot /usr/var/www
##
## Timeout: The number of seconds before receives and sends time out.
##
Timeout 60
##
## KeepAlive: Whether or not to allow persistent connections (more than
## one request per connection). Set to "Off" to deactivate.
##
KeepAlive On
##
## MaxKeepAliveRequests: The MaxKeepAliveRequests directive limits the
## number of requests allowed per connection when KeepAlive is on.
## We recommend that this setting be kept to a high value for maximum
## server performance.
##
MaxKeepAliveRequests 500
##
## ServerTokens: This directive configures what you return as the Server
## HTTP response Header. The default is 'Full' which sends information about
## the OS-Type and compiled in modules. Full conveys the most information,
## and Product the least.
##
## Product - Cherokee
## Minor - Cherokee/0.0
## Minimal - Cherokee/0.0.0
## OS - Cherokee/0.0.0 (UNIX)
## Full - Cherokee/0.0.0 (UNIX) Ext/0.0 Ext2/0.0
##
ServerTokens Product
##
## Load the GZip encoder plugin
## only used if the client support the encoding ("Accept-Encoding:")
##
Encoder gzip {
Allow html, htm, txt
Deny jpg, png, gz, php
}
##
## PidFile: The file in which the server should record its process
## identification number when it starts.
##
PidFile /var/run/cherokee.pid
##
## Icons: Extension to icon file.
##
Icons /etc/cherokee/icons.conf
##
## MimeFile: Mime types file. By default you should leave it
## commented
##
MimeFile /etc/cherokee/mime.types
MimeFile /etc/cherokee/mime.compression.types
##
## Advanced settings, do not change if you are not sure..
##
Include /etc/cherokee/advanced.conf
##
## Include the module configuration:
##
Include /etc/cherokee/mods-enabled
##
## Include the virtual host configuration:
##
Include /etc/cherokee/sites-available
############ advanced.conf ############
---------------------------------------
##
## Advanced configuration:
## Don't change it unless you know what you're doing.
##
##
## LogFlushInterval:
## Indicates how often, in seconds, the log cache will be flushed
##
LogFlushInterval 5
##
## The maximum number of file descriptors
##
MaxFds 16384
##
## MaxConnectionReuse: Max number of connection to reuse per thread.
##
MaxConnectionReuse 20
##
## PanicAction: It something terrible happens, like a segmentation fault,
## Cherokee will execute this program to report the problem. The default
## action is to send a mail to root with the back-trace.
##
PanicAction /usr/bin/cherokee-panic
##
## PollMethod:
## Force to use a polling method. It's available:
## epoll, kqueue, ports, poll and select.
##
# PollMethod epoll
##
## Size of the TCP listen queue.
##
# ListenQueueSize 1024
##
## ThreadNumber:
## Available policies: fifo, rr, other
##
# ThreadNumber 5 {
# Policy fifo
# }
##
## Sendfile configuration: for the platforms that supports it.
##
## MinSize: Size in bytes of the smallest file to be sent with sendfile.
## MaxSize: Size in bytes of the biggest file to be sent with sendfile.
##
# Sendfile {
# MinSize 32768
# MaxSize 2147483647
# }
############ default ############
---------------------------------
##
## Please, visit http://www.cherokee-project.com/doc for further
information
##
##
## DirectoryIndex: Name of the file or files to use as a pre-written HTML
## directory index. Separate multiple entries with commas.
##
DirectoryIndex index.php, index.html, index.htm, index.shtml
##
## DocumentRoot: The directory out of which you will serve your
## documents. By default, all requests are taken from this directory, but
## symbolic links and aliases may be used to point to other locations.
##
DocumentRoot /usr/var/www
##
## UserDir: Use this to enable users of the server running your website
## to publish web pages in their own home directories.
##
## The name of the directory which is appended onto a user's home
## directory if a ~user request is received.
##
## NOTE: Take in mind the permissions. If you have changed the User/Group
## the server maybe will have problems accessing the personal users'
## content.
##
UserDir public_html {
Directory / {
Handler common
}
Directory /cgi-bin/ {
Handler cgi
DocumentRoot /usr/lib/cgi-bin/
}
}
##
## Log: Turn On/Off the logging in to syslog
##
## Parameters:
## combined - Most common
## ncsa - NCSA format: AccessLog, ErrorLog
## w3c - LogFile
##
Log combined {
AccessLog /var/log/cherokee.access
ErrorLog /var/log/cherokee.error
}
##
## ErrorHandler:
## In the event of a problem or error.
##
# ErrorHandler error_redir {
# 404 http://www.example.com/error.php?op=404
# }
##
## These Directory entries define the server behaviour. Each entry
## can contain different properties which are going to be used to
## reply the request.
##
## Read the documentation to learn more about how do directories
## inherit configuration form its parents..
##
Directory / {
Handler common
}
#Directory /about {
# ## Justabout:
# ## It will inhibit the server to show server information
# Handler server_info {
# JustAbout
# }
#}
#Directory /icons {
# Handler file
# DocumentRoot /usr/share/cherokee/icons/
#}
#Directory /cgi-bin {
# Handler cgi
# DocumentRoot /usr/lib/cgi-bin/
#}
## Redirections:
##
## The difference between the next two examples is that in the first
## one the redirection will be send to the browser, but in the second
## one it will be an internal redirection (the browser will keep the
## same URL untouched)
# Directory /pic1 {
# Handler redir {
# Show Rewrite "/(.*)$" "/showpic.php?pic=$1&full=1"
# }
# }
# Directory /pic2 {
# Handler redir {
# Rewrite "/(.*)$" "/showpic.php?pic=$1&full=1"
# }
# }
## Authentication:
##
## There are currently two modes of authentication built into HTTP 1.1
## protocol:
##
## `Basic' authentication:
## basic authentication is the simplest method of authentication, and
## for a long time was the most common authentication method used.
##
## `Digest' authentication:
## digest authentication provides an alternate method for protecting
## your web content.
##
## Basic authentication example
##
# Directory /private {
# Auth Basic {
# Name "My private data"
# Method pam
# }
# }
##
## Digest authentication example
##
# Directory /private2 {
# Auth Digest {
# Name "My private data 2"
# Method htpasswd {
# PasswdFile /var/www/private2/.htpasswd
# }
# }
# }
##
## Basic OR Digest authentication
##
# Directory /private3 {
# Auth Basic, Digest {
# Name "My private data 3"
# Method plain {
# PasswdFile /var/www/private3/.plain_passwds
# }
# }
# }
##
## Extension:
## Set some basic extensions
##
## NOTE: Probably it is a good idea to keep these definitions
## at the end of the file (higher priority)
##
Extension php5, php {
Handler phpcgi {
Interpreter /usr/local/php/bin/php-cgi
}
}
And I watch the log of cherokee (acces. error not have) and see this:
"GET /gallery2/install/index.php HTTP/1.1" 200 5478
"http://192.168.0.7/gallery2/install/"
"GET /gallery2/install/index.php HTTP/1.1" 200 32
"http://192.168.0.7/gallery2/install/index.php?step=1"
"GET /gallery2/install/index.php HTTP/1.1" 200 4676
"http://192.168.0.7/gallery2/install/index.php?step=1"
"GET /gallery2/install/index.php HTTP/1.1" 200 14104
"http://192.168.0.7/gallery2/install/index.php?step=1"
"GET /gallery2/install/index.php HTTP/1.1" 200 7461
"http://192.168.0.7/gallery2/install/index.php?step=2"
"POST /gallery2/install/index.php HTTP/1.1" 302 0
"http://192.168.0.7/gallery2/install/index.php?step=3"
"GET /gallery2/install/index.php HTTP/1.1" 200 7461
"http://192.168.0.7/gallery2/install/index.php?step=3"
And one question.
You suggest me that firts install all apache with php with gallery with
apt-get and when all programs works ok change apache for cherokee, php
por me php compiled??
You understand me??
Thanks a lot
--
http://vctrsnts.dyndns.org
"Hay 10 tipos de personas en este mundo."
"Las que saben binario y las que no."
_______________________________________________
Cherokee mailing list
[email protected]
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee