Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cherrypy]

The tag has no usage guidance.

-1
votes
0answers
11 views

my cherrypy site is not showing css [closed]

so i have this code: import cherrypy import os, os.path import random import string import mimetypes current_dir = os.path.join(os.path.dirname(file), 'server.conf') class MonSite(object): @...
-1
votes
1answer
35 views

Configure Apache2 to run a cherrypy app with other apps running

I have a Cherrypy app that I want to deploy on my Apache2 server. However, the same server serves another app. What are the options to configure Apache to serve both?
1
vote
1answer
414 views

Mime Magic on files without extension on Apache/2.2.31 and mod_wsgi 3.4

Sorry in advance for the length, thanks for your patience. I have an ancient production server that no one knows how it was built. It uses apache+mod_wsgi to run a Cherry Py python application to ...
0
votes
1answer
246 views

Two proxypass applications behind apache

I am running two web applications, one is tornado-based and the other one is cherrypy based, behind apache on an opensuse server. Both run on different domains pointing to the same IP. The two ...
4
votes
1answer
5k views

Process monitoring and service manager for Python web application [closed]

We're setting up a Python web application using the CherryPy web server on a bunch of Linux servers (it's behind an nginx load balancer sending traffic to the various servers). We're in the process of ...
9
votes
2answers
4k views

Deploying CherryPy apps: Standalone, WSGI Server or NGinx?

I intend to use a single VPS to deploy multiple low-traffic CherryPy apps as subdirectories; eg: example.com/app1, example.com/app2, etc. After researching on WSGI deployment, it looks like the ...
0
votes
1answer
104 views

load two cms on one server

i have been searching on net to know if it's possible (or allowable, as in no conflict ) to use two cms's on one server. Like currycms ( http://currycms.com/ ) and cherrypy ( http://www.cherrypy.org/ )...
0
votes
1answer
15k views

Max connections limit configuration on Apache server - CentOS 6.4

We have an Apache's and a CherryPy (Python) server running on on CentOs 6.4. Yesterday the Apache server suddenly went down while the CherryPy which uses the port 8080 works fine. We are trying to ...
0
votes
2answers
568 views

CherryPy 3 with Apache 2 using ModWSGI: stack traces?

I am trying to show stack traces or at least some sort of errors rendered to the HTML response while using a WSGI script. A ModuleNotFound exception is raised when I tried to import a module the ...
3
votes
2answers
4k views

nginx reverse proxy greatly increases worst-case latency

(edit: partially understood and worked around, see comment) I have a setup with nginx acting as a reverse proxy in front of a CherryPy app server. I'm using ab to compare performance going through ...
0
votes
1answer
148 views

uploading a python site to httpdocs?

OK - so we've agreed to host a python site, got the files and not sure where to go next. We use a dedicated server and manage it mainly with plesk which has a tick box for a python support but not ...
1
vote
1answer
809 views

Basic deployment questions: CherryPy on Ubuntu

I have a modest CherryPy / SQLite application under development. I would like to put it on a server in the cloud for client testing. Towards that end I've spun up a small Ubuntu instance at ...
0
votes
1answer
3k views

How to proxy context to different backend context in apache

I'd like to configure apache so that http://my-domain.com/myapp serves a Python webapp running in CherryPy on a backend server. Here's what's in the vhost: RewriteRule ^/myapp/?(.*) http://...
0
votes
1answer
283 views

Run CherryPy script with Python2.6 rather than Python2.4 on RHEL

Working on a RHEL 5 server. Trying to make a small CherryPy app that takes in arguments from the url (ex. internet.com/cherrypy/data/22/45 would return 22 and 45) and then use that to query a SQL ...
1
vote
2answers
1k views

run php with cherry.py web server?

I understand cherry.py server is multithreaded which theoretically would be a problem with php fastcgi in general. But would it be possible? has anyone tried it and can please share the idea/...
3
votes
3answers
303 views

Transparantly make multiple web applications available at a single address

I have multiple web applications running on their own http server, e.g. a ruby/rails application on port 8080 and a python/cherrypy application on 8081. Is it possible to make these transparently ...
6
votes
2answers
7k views

Pass username from apache Basic Authentication to cherrypy

I need to use apache basic authentication for part of my application. I would like to get the authenticated username from apache, but I cannot seem to find where to access it. I can see the username ...
0
votes
1answer
800 views

mod_wsgi + cherrypy = 404 - The path '/index.wsgi/' was not found

The .htaccess : AddHandler wsgi-script .wsgi RewriteEngine On RewriteBase / RewriteRule ^(media/.*)$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ /index.wsgi/$1 [QSA,L,PT] The index....
0
votes
1answer
1k views

cherrypy fails to stop when puppet tries to ensure running and refresh it at the same time

I am trying to manage a cherrypy service with puppet. However, when the configuration is applied, cherryd ends up with no PID file although the process is up and running. Since the PID file is lost I ...