0
votes
1answer
55 views

Why am I getting a 403 in attempting to access view-source:https://ccachicago.pragmatometer.com/admin/static/css/base.css?

I've been trying by hook or by crook to get /admin/static/ served up in an Apache SSL VirtualHost, preferably by Apache (which is forwarding SSL traffic to a Django Gunicorn instance), or barring ...
2
votes
1answer
35 views

Split the same virtualhost configuration across multiple files

I have multiple django applications on my server that run each within their own virtualhosts, bound to different ports. (I do this so as to isolate each WSGIProcessGroup). Now I would like to proxy ...
1
vote
0answers
118 views

Varnish server in front of nginx server with multiple virtualhosts

I have tried to search for a solution for this, but can't find any documentation/tips on my specific setup. My setup: Backendserver: ngnix: 2 different websites (2 top domains) in virtualenv, ...
0
votes
0answers
43 views

Messed Up Virtual Hosting After Installing Django with mod_wsgi

I was tasked with setting up Django, which seemed to require mod_wsgi, on an Ubuntu server fairly recently, which I was able to get working through much ardor and trial and error. Unfortunately, I ...
0
votes
1answer
376 views

centos 6.4 - django deploy with apache and mod_wsgi

I'm trying to deploy on a VM with centos 6.4 a basic django project with apache and mod_wsgi. This is the project tree: myproj/ ├── manage.py ├── myapp │   ├── __init__.py │   ├── models.py │   ├── ...
0
votes
1answer
147 views

One server running Django (with Nginx and Apache) and Wordpress Blog

I have nginx listening to port 80 for my primary site foo.com. It proxys to port 8080 which is where the Django app lives server { listen 80; server_name www.foo.com foo.com; access_log ...
0
votes
0answers
144 views

Apache - First named virtual host being matched, but returning a redirect

I have several name-based virtual hosts on my Apache server. As I understand it, if the IP/port is matched, but the client supplies a blank or unknown host name, the first virtual host will be used. ...
0
votes
1answer
45 views

Serve PHP page mapped as part of Django's (Python's) virtualhost

I have a question similar to this: Apache : Map one virtualhost to a subdirectory of another virtualhost Except mine is about serving PHP within Django's domain like that: example.com serves ...
0
votes
1answer
295 views

mod_wsgi overriding virtual hosts on Apache?

I have a working Django app hosted on my linode (Fedora 15), and I'm attempting to host a php-based site there as well. I'm using name-based virtual hosts to redirect requests based on the host name, ...
0
votes
1answer
156 views

Multiple Django sites on a single SSL certificate using a single IP with Apache

Is it technically possible to setup multiple Django sites using a single SSL certificate on a single IP address with Apache? Below is an excerpt from my SSL config: Alias /media/ ...
0
votes
0answers
76 views

Server not found error in Apache when accessing website via www.example.com

I have a whm server where i host a couple of websites. I usually assume that whm does a good job with setting up the site apache files. Cpanel says that it automatically configures the user vhost file ...
3
votes
2answers
3k views

Apache : Making one virtual host subdomain/subdirectory of another virtual host

My setup is a bit awkward. I've got http://sub.main.com mapped to my server's IP but not the http://main.com. I am running two sites on my server(using different web frameworks). For each of those ...
1
vote
1answer
352 views

Serving arbitrary subdomains using apache2, mod_wsgi and django

I'm attempting to setup a django development server using a sandbox approach. The specific technologies in place are apache2, mod_wsgi and django. I'd like to use subdomains formatted as: ...
0
votes
1answer
413 views

Host multiple apps with Django, mod_wsgi

I want to host two web apps using a same Apache server, and with IP address in the URL. Two apps are differentiated by their URLs. For example, 203.1.1.1/app1/ and 203.1.1.1/app2/ I'm using mod_wsgi ...
0
votes
4answers
590 views

Media server and Web server — same IP address, how do I set this up?

Hi I'm trying to build a website where users can upload images. I am wanting to have a seperate media server to host the images, so that the web application can point to the images like ...
4
votes
3answers
2k views

Way to configure apache for ~125 django sites to optimize memory usage (mod_python v mod_wsgi; worker vs prefork; static files)

I'm currently running 125 Django sites on a single dedicated box at GoDaddy. The sites are relativelly low traffic and I'm wondering what i can do to optimize the memory usage in my apache config. ...