divines | 5 Mar 2012 13:22
Picon

[cherokee] some ssl problems

1. If ipv6 enabled - ssl simply does not work.

2. redirect rule  http -> https as in cookbook does not work.

Please help to redirect everything to 443.

vserver!20!rule!120!handler = redir
vserver!20!rule!120!handler!rewrite!10!regex = /(.*)$
vserver!20!rule!120!handler!rewrite!10!show = 0
vserver!20!rule!120!handler!rewrite!10!substring = https://${host}/$1
vserver!20!rule!120!match = not
vserver!20!rule!120!match!right = tls

--
View this message in context: http://cherokee-web-server-general.1049476.n5.nabble.com/cherokee-some-ssl-problems-tp5537374p5537374.html
Sent from the Cherokee Web Server - General mailing list archive at Nabble.com.
Anoop Alias | 5 Mar 2012 17:14
Picon

DSPAM cgi interface

Hi,


I had to install DSPAM Web-ui recently and didnt want to use apache . I could get the web-ui to work correctly ;but the stats etc doesnt show up . When I switched to apache everything was fine!


The apache conf is
=====================
SuexecUserGroup dspam dspam

Alias /dspam /var/www/dspam/
Alias /usr/share/dspam /usr/share/dspam/

LogLevel debug

<Directory /var/www/dspam/>
    Addhandler cgi-script .cgi
    Options +ExecCGI +MultiViews -Indexes
    AllowOverride None

    AuthType Basic
    AuthName "DSPAM Control Center"
    AuthUserFile /etc/dspam/passwd
    Require valid-user
    DirectoryIndex dspam.cgi
</Directory>

<Directory /usr/share/dspam/>
    Options -Indexes
    AllowOverride None
</Directory>
==============================

I think the error is because Cherokee doesn't execute the script as dspam user. Even though i enabled executing the .cgi using the file owner and files are indeed owned by dspam user .

There is nothing in cherokee logs . 

Thanks for all pointers in advance :)



--
Anoop P Alias (PGP Key ID : 0x014F9953)
GNU system administrator
http://GnuSys.net
_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee
Daniel Lo Nigro | 6 Mar 2012 08:55
Favicon

Re: DSPAM cgi interface

What errors are you getting?

On Tue, Mar 6, 2012 at 3:14 AM, Anoop Alias <anoopalias01 <at> gmail.com> wrote:
Hi,

I had to install DSPAM Web-ui recently and didnt want to use apache . I could get the web-ui to work correctly ;but the stats etc doesnt show up . When I switched to apache everything was fine!


The apache conf is
=====================
SuexecUserGroup dspam dspam

Alias /dspam /var/www/dspam/
Alias /usr/share/dspam /usr/share/dspam/

LogLevel debug

<Directory /var/www/dspam/>
    Addhandler cgi-script .cgi
    Options +ExecCGI +MultiViews -Indexes
    AllowOverride None

    AuthType Basic
    AuthName "DSPAM Control Center"
    AuthUserFile /etc/dspam/passwd
    Require valid-user
    DirectoryIndex dspam.cgi
</Directory>

<Directory /usr/share/dspam/>
    Options -Indexes
    AllowOverride None
</Directory>
==============================

I think the error is because Cherokee doesn't execute the script as dspam user. Even though i enabled executing the .cgi using the file owner and files are indeed owned by dspam user .

There is nothing in cherokee logs . 

Thanks for all pointers in advance :)



--
Anoop P Alias (PGP Key ID : 0x014F9953)
GNU system administrator
http://GnuSys.net

_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee


_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee
Donka Péter | 6 Mar 2012 12:37
Picon

Market problem

Hello guys!

I dont know its already fixed in the github source but in the latest 
version is still a problem.

The market apps installer wont work. After i defined the domain name it 
simply show again this window and ask again the domain name. Cant move 
forward.

If its fixed already, please tell me what commit fixed this. I already 
investigate the market folder on the github but the last commit there is 
a few months ago, so its untouched for a while now.

Thanks!
jlan | 6 Mar 2012 13:34
Picon

Trouble with get

Hi, I'm having a big time with cherokee and a web page that uses $_GET to pass values , i was working in apache and same version of php.


When i click the link http://myweb/page?pic=5 , the page reload but showing picture number 5, but  it fails to work.
I can't get the $_GET['pic'], only it gets a weird $_GET array with  key/value   [page?pic] [5]
It seems maybe cherokee related but not sure.

Thanks

_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee
Leonel Nunez | 14 Mar 2012 03:51

504 Gateway Timeout

Hello:

I have a python app on with an Information Source. That information source
is using  localhost:9999

This app needs to wait for a sync process, this process is taking sometime
to complete, that time it's ok.

I guess is taking more time to complete and cherokee returns 504 Gateway
Timeout

Searched the docs and the cherokee admin how to increase that timeout but
found nothing about it.

Is there a way to increase the timeout ?

Thank you

Leonel
Etienne Desautels | 16 Mar 2012 15:53
Picon
Favicon

Timeout settings not respected


To whatever value I set the timeout setting
(via
general > network settings > timeout
or
vserver > behavior > restrictions > timeout),
the server always timeout after 15 sec.

It's with cherokee 1.2.101 on Ubuntu 10.04 with uwsgi (-t 600) and over SSL.

Is this normal? How I'm supposed to fix that?

Thanks

Etienne
jlan | 15 Mar 2012 12:02
Picon

Re: Trouble with get

Sorry, cherokee list is rebounding my email.

I used the wizard, in the same server i'm already moved sucessfully some domains, a dozen of wordpress.
All but one with php enabled, all without problems.

cherokee                        1.2.2-2build1
php5-fpm                        5.3.6-13ubuntu3.6 

Meanwhile I think i'll to do some probes with post (instead of get) to see if it can work or fails too. 


On Tue, Mar 13, 2012 at 02:04, Daniel Lo Nigro <lists <at> dan.cx> wrote:
How did you set up PHP? Did you use the wizard in Cherokee or did you set it up manually?

Daniel Lo Nigro
Web Developer


On Mon, Mar 12, 2012 at 11:59 PM, jlan <joseluisalcazar <at> gmail.com> wrote:
Sorry, i send the previous one not to the list.

I mean, i visit this url:
and in page.php you can get $_GET['id'] with value 5

it works in apache, but i don't know why isn't working in cherokee, it seems more cherokee and/or php related.

Instead of  "echo $_GET['id'] " and it echoes  "5"

I get this  "print_r($_GET)  and shows       Array ( [page.php?id] => 5 )

Thanks for your help

On Mon, Mar 12, 2012 at 06:40, Daniel Lo Nigro <lists <at> dan.cx> wrote:
Sounds like you might be relying on the "MultiViews" feature of Apache?

Is your file called "page.php"? If so, does going to http://myweb/page.php?pic=5 work? Otherwise, where is "page" used? Is it a rewritten URL?

On Tue, Mar 6, 2012 at 11:34 PM, jlan <joseluisalcazar <at> gmail.com> wrote:
Hi, I'm having a big time with cherokee and a web page that uses $_GET to pass values , i was working in apache and same version of php.

When i click the link http://myweb/page?pic=5 , the page reload but showing picture number 5, but  it fails to work.
I can't get the $_GET['pic'], only it gets a weird $_GET array with  key/value   [page?pic] [5]
It seems maybe cherokee related but not sure.

Thanks


_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee





_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee
jlan | 18 Mar 2012 09:21
Picon

Re: Trouble with get

Sorry, cherokee list was discarting all my messages.


I used the wizard, in the same server i'm already moved sucessfully some domains, a dozen of wordpress.
All but one with php enabled, all without problems.

cherokee                        1.2.2-2build1
php5-fpm                        5.3.6-13ubuntu3.6 

Meanwhile I think i'll to do some probes with post (instead of get) to see if it can work or fails too. 


On Tue, Mar 13, 2012 at 02:04, Daniel Lo Nigro <lists <at> dan.cx> wrote:
How did you set up PHP? Did you use the wizard in Cherokee or did you set it up manually?

Daniel Lo Nigro
Web Developer


On Mon, Mar 12, 2012 at 11:59 PM, jlan <joseluisalcazar <at> gmail.com> wrote:
Sorry, i send the previous one not to the list.

I mean, i visit this url:
and in page.php you can get $_GET['id'] with value 5

it works in apache, but i don't know why isn't working in cherokee, it seems more cherokee and/or php related.

Instead of  "echo $_GET['id'] " and it echoes  "5"

I get this  "print_r($_GET)  and shows       Array ( [page.php?id] => 5 )

Thanks for your help

On Mon, Mar 12, 2012 at 06:40, Daniel Lo Nigro <lists <at> dan.cx> wrote:
Sounds like you might be relying on the "MultiViews" feature of Apache?

Is your file called "page.php"? If so, does going to http://myweb/page.php?pic=5 work? Otherwise, where is "page" used? Is it a rewritten URL?

On Tue, Mar 6, 2012 at 11:34 PM, jlan <joseluisalcazar <at> gmail.com> wrote:
Hi, I'm having a big time with cherokee and a web page that uses $_GET to pass values , i was working in apache and same version of php.

When i click the link http://myweb/page?pic=5 , the page reload but showing picture number 5, but  it fails to work.
I can't get the $_GET['pic'], only it gets a weird $_GET array with  key/value   [page?pic] [5]
It seems maybe cherokee related but not sure.

Thanks


_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee





_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee
Mateusz Pawlowski | 19 Mar 2012 22:49

Re: 504 Gateway Timeout

On Tue, 2012-03-13 at 19:51 -0700, Leonel Nunez wrote:
> Hello:
> 
> I have a python app on with an Information Source. That information source
> is using  localhost:9999
> 
> This app needs to wait for a sync process, this process is taking sometime
> to complete, that time it's ok.
> 
> I guess is taking more time to complete and cherokee returns 504 Gateway
> Timeout
> 
> Searched the docs and the cherokee admin how to increase that timeout but
> found nothing about it.
> 
> Is there a way to increase the timeout ?

I usually increase spawning timeout on source... 

--

-- 
Mateusz Pawlowski <js <at> yllq.net>
Attachment (smime.p7s): application/x-pkcs7-signature, 3988 bytes
_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee

Gmane