Questions tagged [cherrypy]

20 questions
12
votes
2 answers

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 preferred method for deploying apps is to use a WSGI…
Stephen Malone
  • 123
  • 1
  • 6
6
votes
2 answers

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 in the apache log, so I know it's there somewhere.…
adam
  • 163
  • 1
  • 1
  • 7
4
votes
1 answer

Process monitoring and service manager for Python web application

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 switching from Windows servers to Linux servers,…
Ben Hoyt
  • 143
  • 1
  • 7
4
votes
3 answers

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 available via single port address? Perhaps by adding…
ckuijjer
  • 143
  • 4
3
votes
2 answers

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 nginx vs. not, and noticing that the former case has…
npt
  • 313
  • 3
  • 10
2
votes
1 answer

Docker Compose Port Not Exposed?

I have a simple Python based web server running in a container set up with docker compose that exposes port 8080. When I docker-compose up the services it reports the ports are exposed but the port is not exposed externally. What should I look at…
evoelise
  • 43
  • 4
1
vote
1 answer

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 serve images. I'm recreating it to document it and…
1
vote
1 answer

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 Rackspace and done some preliminary installation…
Larry Lustig
  • 113
  • 6
1
vote
2 answers

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/experience. Honestly I don't know where to start at all on…
Abhishek Dujari
  • 567
  • 2
  • 5
  • 17
0
votes
1 answer

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 applications are running on the same server, and serving…
0
votes
1 answer

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/ ). or ( any two servers. ). situation is my…
nish
  • 123
  • 6
0
votes
1 answer

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 sort out the problem but no luck. It seems like…
Sayed Jalil Hassan
  • 103
  • 1
  • 1
  • 3
0
votes
2 answers

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 script can't seem to find (which is fine for now), but…
0
votes
1 answer

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 sure what this does. This is all the info i…
v3nt
  • 131
  • 1
  • 1
  • 5
0
votes
3 answers

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://backend-server:8000/$1 [P] ProxyPassReverse /myapp/…
Upgradingdave
  • 241
  • 5
  • 13
1
2