David | 3 Aug 2011 04:26
Picon

Redirection of a directory to HTTPS

Hi list,

I'm currently attempting to perform a directory redirection from HTTP to HTTPS. 

I've successfully managed to follow the instructions here: http://www.cherokee-project.com/doc/cookbook_http_to_https.html and this has worked fine on one of my vServer instances.

However, I'm trying to follow and do the same for a specific directory on another vServer and I'm having problems.  My issues are seemingly because the server has a default error handler in place.  With the directory, I can use Internal redirections fine, but when it comes to an External redirection, the server returns 301 Moved Permanently and performs the default error handler (an Internal redirection).  The handler on the directory is seemingly ignored.  Removing the default error handler sees the HTTP to HTTPS redirection work correctly for this directory so this default error handler appears to be the cause.

Is this a known issue and/or is there a solution?

Cheers,
David

_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee
Eric Koch | 4 Aug 2011 04:04
Picon
Gravatar

How to enable curl with fastcgi within Cherokee?

Hi,

I'm using Cherokee to run WordPress blogs and some plugins require to 
have curl enabled to work.

Installing and running Curl on the server under Ubuntu is not a problem 
but it seems that something else has to be done
to have Curl fully operational under Cherokee with fastcgi.

Any help to get curl enabled and working for a Cherokee Web Server would 
be greatly appreciated.

Thanks in advance for your time.
--

-- 

Best regards,

Eric Koch

eDealsBUSINESS <http://feeds.feedburner.com/%7Er/Edealsbusiness/%7E6/1>

? Grab this Headline Animator 
<http://feedburner.google.com/fb/a/headlineanimator/install?id=d0he2qkknjd6dmoob6su1gciuo&w=1>

_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee
Alvaro Lopez Ortega | 4 Aug 2011 07:12
Favicon
Gravatar

Re: How to enable curl with fastcgi within Cherokee?

Hello Eric,

On Thu, Aug 4, 2011 at 4:04 AM, Eric Koch <erickoch3 <at> gmail.com> wrote:
Any help to get curl enabled and working for a Cherokee Web Server would be greatly appreciated.

You have to enable enable Curl under PHP, actually. How you do that depends on your distribution. It usually requires to install a package, and may or may not require to add a line to your php.ini file.

Cheers!

--
Greetings, alo
http://www.octality.com/
_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee
Ringo Hartmann | 4 Aug 2011 07:39
Picon

Re: How to enable curl with fastcgi within Cherokee?

>>	Any help to get curl enabled and working for a Cherokee Web
Server would be greatly appreciated.
>
> You have to enable enable Curl under PHP, actually. How you do that
depends on your distribution. It usually requires to install a package,
and may or may not require to add a line to your php.ini file.

On Ubuntu, that should do:

	aptitude install php5-curl

It handles inclusion in your php.ini. Restart the running PHP processes
to be sure to catch up with the changes:

	killall php-cgi

(Cherokee restarts them automatically afterwards)
Mehmet Ali Sahin | 6 Aug 2011 14:07
Picon

cherokee-worker randomly restart every 6-15 hours.

 I opened trace and log everthing.

Last different 4 lines:
      connection.c:2864 (cherokee_connection_update_timeout): conn (0x103785d0, Stepping): Timeout = now + 15 secs
          thread.c:0777 (    process_active_connections): conn on phase n=9: Stepping
     main_worker.c:0101 (                  wait_process): Handling SIGCHLD, waiting PID 28777
          fdpoll.c:0357 (         cherokee_fdpoll_watch): Watch (took 445 msecs ~ limit 1000 msecs)

When i open cherokee-worker from shell getting these error from ffpmeg then connections are starting to unstable

[NULL <at> 0x800c2f0] insufficient thread locking around avcodec_open/close()
[h264 <at> 0x800c2f0] Missing reference picture
[h264 <at> 0x800c2f0] decode_slice_header error
[flv <at> 0x8324530] Estimating duration from bitrate, this may be inaccurate
[flv <at> 0x8324530] Econcealing 1100 DC, 1100 AC, 1100 MV errors
[h264 <at> 0x800c2f0] Missing reference picture

i make batch script and try to get all video files info using 'ffmpeg -i videofile'  but i never get these errors

How can i get more info about why it's happening or are these errors enough?
its happening 5 diffrent servers.

_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee
Luis Felipe López Acevedo | 8 Aug 2011 18:00
Picon
Gravatar

UnicodeDecodeError while adding cherokee ppa

Hi,

I'm new to cherokee and I'm trying to install it using the instructions for APT given in the website[1].

When I run "sudo add-apt-repository ppa:cherokee-webserver"  I get the following error:


Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/dist-packages/softwareproperties/ppa.py", line 59, in run
    self.add_ppa_signing_key(self.ppa_path)
  File "/usr/lib/python2.6/dist-packages/softwareproperties/ppa.py", line 88, in add_ppa_signing_key
    print "Error reading %s: %s" % (lp_url, e)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 32: ordinal not in range(128)


I appreciate any help with this.

Thanks in advance,


1. http://www.cherokee-project.com/doc/basics_installation_unix.html

--
Luis Felipe López Acevedo
IntrosMedia

_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee
Alvaro [Andor] | 8 Aug 2011 18:05
Gravatar

Re: UnicodeDecodeError while adding cherokee ppa

Hi Luis,

Looks like a problem in your distro...

Which Ubuntu release are you using?

You may add the repositories directly to your /etc/apt/sources.list file instead of using the add-apt-repository script.




On 08/08/11 11:00, Luis Felipe López Acevedo wrote:
Hi,

I'm new to cherokee and I'm trying to install it using the instructions for APT given in the website[1].

When I run "sudo add-apt-repository ppa:cherokee-webserver"  I get the following error:


Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/dist-packages/softwareproperties/ppa.py", line 59, in run
    self.add_ppa_signing_key(self.ppa_path)
  File "/usr/lib/python2.6/dist-packages/softwareproperties/ppa.py", line 88, in add_ppa_signing_key
    print "Error reading %s: %s" % (lp_url, e)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 32: ordinal not in range(128)


I appreciate any help with this.

Thanks in advance,


1. http://www.cherokee-project.com/doc/basics_installation_unix.html

--
Luis Felipe López Acevedo
IntrosMedia



_______________________________________________ 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
Luis Felipe López Acevedo | 8 Aug 2011 18:19
Picon
Gravatar

Re: UnicodeDecodeError while adding cherokee ppa

2011/8/8 Alvaro [Andor] <andor <at> pierdelacabeza.com>
Hi Luis,

Looks like a problem in your distro...

Which Ubuntu release are you using?

You may add the repositories directly to your /etc/apt/sources.list file instead of using the add-apt-repository script.



I'm using Trisquel 4.01 (based on Ubuntu 10.04)

--
Luis Felipe López Acevedo
IntrosMedia

_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee
Alvaro [Andor] | 8 Aug 2011 18:35
Gravatar

Re: UnicodeDecodeError while adding cherokee ppa

Then add this to your /etc/apt/sources.list  :

deb http://ppa.launchpad.net/cherokee-webserver/ppa/ubuntu lucid main deb-src http://ppa.launchpad.net/cherokee-webserver/ppa/ubuntu lucid main
Run this for getting the PPA signing key:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EBA7BD49

Then update:

sudo apt-get update

Install:

sudo apt-get install cherokee

and you are good to go! :D

On 08/08/11 11:19, Luis Felipe López Acevedo wrote:
2011/8/8 Alvaro [Andor] <andor <at> pierdelacabeza.com>
Hi Luis,

Looks like a problem in your distro...

Which Ubuntu release are you using?

You may add the repositories directly to your /etc/apt/sources.list file instead of using the add-apt-repository script.



I'm using Trisquel 4.01 (based on Ubuntu 10.04)

--
Luis Felipe López Acevedo
IntrosMedia


_______________________________________________
Cherokee mailing list
Cherokee <at> lists.octality.com
http://lists.octality.com/listinfo/cherokee
Luis Felipe López Acevedo | 8 Aug 2011 23:23
Picon
Gravatar

Re: UnicodeDecodeError while adding cherokee ppa

El 8 de agosto de 2011 11:35, Alvaro [Andor] <andor <at> pierdelacabeza.com> escribió:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EBA7BD49


Great, thanks!

I'll bug you again if I find myself in trouble when deploying Django apps.

Thanks again,

--
Luis Felipe López Acevedo
IntrosMedia

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

Gmane