VikaKorvet | 4 Jun 2007 07:21

hi here, i'm back :)

all greetings.
at last that i have returned on our forum. all who remembers me - write, we shall communicate (name practically same, will guess). whats a new here? Jony where re u? we had so much fun...lol......




-------

Read this topic online here:
http://www.cherokee-project.com/forum/viewtopic.php?p=278#278

-------
_______________________________________________
Cherokee mailing list
Cherokee <at> cherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee
Juan | 6 Jun 2007 12:49

virtual host

Hi, i have problems with virtual hosting, i read in docs and looks like easy
but... :) .

I have sites-available/wiki.adictolinux.org and a link to this in
sites-enabled but don't work.

What i'm doing wrong?

The virtual server conf is very simple, actually is a folder with only an
index.php:

Server wiki.adictolinux.org {
    DocumentRoot /var/www/localhost/wiki.adictolinux.org

    Directory / {
        Handler common
    }

    Extension php, php5 {
            Handler  phpcgi{
                Interpreter /usr/bin/php-cgi
            }
        }
}

And here you can see the perms of DocumentRoot:

# ls -ld /var/www/localhost/wiki.adictolinux.org
drwx------ 2 cherokee cherokee 4096 jun  6 12:39 /var/www/localhost/wiki.adictolinux.org

and index file have:

# ls -l /var/www/localhost/wiki.adictolinux.org/index.php
-rw------- 1 cherokee cherokee 19 jun  6 12:39 /var/www/localhost/wiki.adictolinux.org/index.php

Sorry for my english :) .

_______________________________________________
Cherokee mailing list
Cherokee <at> cherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee
Juan | 6 Jun 2007 13:33

Re: virtual host

> What i'm doing wrong?

The link in sites-enabled is a broken link, i don't know why, i just relink an
just woks.

_______________________________________________
Cherokee mailing list
Cherokee <at> cherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee
Juan | 8 Jun 2007 19:52

cherokee fail

Cherokee go down a lot of times, i don't know why.
Where can i start the search?
I read logs and all looks fine :( .
_______________________________________________
Cherokee mailing list
Cherokee <at> cherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee
Juan | 8 Jun 2007 20:14

Re: cherokee fail

On Fri, Jun 08, 2007 at 07:52:51PM +0200, Juan wrote:
> Cherokee go down a lot of times, i don't know why.
> Where can i start the search?
> I read logs and all looks fine :( .

I'm gentoo user, this is a portage mail:

The Cherokee 'panic action' script, /usr/bin/cherokee-panic,                                                                                                             
was called for pid 12772 ().

> _______________________________________________
> Cherokee mailing list
> Cherokee <at> cherokee-project.com
> http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee

_______________________________________________
Cherokee mailing list
Cherokee <at> cherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee
Armando Camarero | 8 Jun 2007 20:11

Re: cherokee fail

Juan escribió:
> Cherokee go down a lot of times, i don't know why.
> Where can i start the search?
> I read logs and all looks fine :( .
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Cherokee mailing list
> Cherokee <at> cherokee-project.com
> http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee
>   
It fails when serving PHP pages, for example?

Give us more info.

Armando.
Juan | 8 Jun 2007 20:40

Re: cherokee fail

The hour in mail is: 19:50:30

Access log say it was runnig php.

I have a idea, i think it fails when a lot of 404 error success, actually i
have a new domain and a diferent folder structure, my site was linked in a lot
of places with the old structure and that becomes in 404 errors.

Google and yahoo robots are storming my site.

What do you think about?

I change how cherokee manage 404 doing a redirect to main site, let's see if
helps.

(ten minutes later)

I make a script for do a lot of 404 and don't crash, perhaps a bad idea?

I have only php5, well, and perl in viewvc but this section don't have a lot of
querys.

How can i extend the output of cherokee?
_______________________________________________
Cherokee mailing list
Cherokee <at> cherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee
Armando Camarero | 8 Jun 2007 20:42

Re: cherokee fail

Juan escribió:
> The hour in mail is: 19:50:30
>
> Access log say it was runnig php.
>
> I have a idea, i think it fails when a lot of 404 error success, actually i
> have a new domain and a diferent folder structure, my site was linked in a lot
> of places with the old structure and that becomes in 404 errors.
>
> Google and yahoo robots are storming my site.
>
> What do you think about?
>
> I change how cherokee manage 404 doing a redirect to main site, let's see if
> helps.
>
> (ten minutes later)
>
> I make a script for do a lot of 404 and don't crash, perhaps a bad idea?
>
> I have only php5, well, and perl in viewvc but this section don't have a lot of
> querys.
>
> How can i extend the output of cherokee?
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Cherokee mailing list
> Cherokee <at> cherokee-project.com
> http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee
>   
Are you using FastCGI for PHP5? I've also experienced a frozen Cherokee 
after Googlebot visited (very fast, giving cherokee+php a big load of 
work) a phpBB2 forum I host, but I don't know why it freezes. All that I 
can say is that Cherokee remains with all the TCP connections in FIN 
state until I kill it.

Armando.
Juan | 8 Jun 2007 20:55

Re: cherokee fail

> Are you using FastCGI for PHP5? I've also experienced a frozen Cherokee 
> after Googlebot visited (very fast, giving cherokee+php a big load of 
> work) a phpBB2 forum I host, but I don't know why it freezes. All that I 
> can say is that Cherokee remains with all the TCP connections in FIN 
> state until I kill it.

Php it's running with:

Extension php5, php {
   Handler phpcgi {
        Interpreter /usr/bin/php-cgi
   }
}

_______________________________________________
Cherokee mailing list
Cherokee <at> cherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee
Juan | 8 Jun 2007 23:53

Re: cherokee fail

I have incoherent variables in my USE, i have cherokee compiled with threads
support and php without them, i'm rebuilding php.

any opinions?
_______________________________________________
Cherokee mailing list
Cherokee <at> cherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee

Gmane