All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
2 answers
140 views

Apache - mod rewrite with virtual host question

I have Apache 2.0 set up with a virtual host like this: <VirtualHost *:80> ServerName wackystore ServerAlias wackyprojects Alias /media/admin /opt/python/lib/python2.7/site-...
Greg_the_Ant's user avatar
2 votes
2 answers
498 views

Location Directive overrides mod_wsgi script alias mount

So I'm stymied. I have a webapp that uses Django and I'm using mod_wsgi to integrate it with apache. However, another person has a directive on the same machine that proxies to another server. The ...
Rokujolady's user avatar
2 votes
0 answers
389 views

how to serve a single page application with openshift

I'm tryng to deploy a single page app on openshift. On openshift all the static contents have to be in wsgi/static dir, but I obviously want to serve my static index.html from the root. Every attempts ...
steeeveb's user avatar
2 votes
0 answers
513 views

Error importing python modules in mod_wsgi [closed]

We are trying to get out wsgi application working on mod_wsgi. We have run it before using wsgiref.simple_server, as a debugging environment. Now, we want to move it over to using Apache httpd to ...
Juan Carlos Coto's user avatar
0 votes
1 answer
502 views

Enable mod_rewrite Apache

When I try to turn the RewriteEngine on, it tells me that mod_rewrite is not installed. I've looked in my apache2.conf file and there is not line to uncomment that resembles LoadModule ...
user avatar
0 votes
2 answers
2k views

How to serve dynamic pages outside the document root?

I'm trying to setup a simple web app and I'm having some difficulties. Here's how I have it setup : /srv/www/application <-- python code /srv/www/public_html <-- document root I want Apache ...
subb's user avatar
  • 103
0 votes
2 answers
2k views

Configure mod_wsgi WSGIScriptAlias with mod_rewrite

I want to redirect ex.com to www.ex.com but I still want www.ex.com/ to point to my app.wsgi without it showing up in the url. When I use the conf below and I go to ex.com, I get a 404 error saying ...
Lazik's user avatar
  • 105