0
votes
2answers
353 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 ...
2
votes
0answers
79 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 ...
1
vote
1answer
159 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 ...
1
vote
2answers
119 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 ...
0
votes
1answer
195 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 ...
0
votes
2answers
1k 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 ...