Hi,

I'm developing a website with a web designer who only uses basic html
(ms frontpage).

For the dynamic part of the site I'm using django.

I want to mount django at the root of the site but still allow the
designer to upload static files as they please.

Reading the docs I have come up with the following configuration. Just
wondering if somebody who has done this type of setup before could
comment on my configuration. Is there anything I have missed or
anything I have overlooked with this config?

Thanks,
Paddy

<VirtualHost *:80>

DocumentRoot /home/user/example.com/html
ServerName www.example.com

ErrorLog /var/log/apache2/example.com.error.log
CustomLog /var/log/apache2/example.com.access.log combined


Alias /media /usr/lib/python2.5/site-packages/django/contrib/admin/
media
Alias /static /var/django/example.com/static

AliasMatch /(.*\.(html|htm|css|jpg|gif|png|pdf|doc|xls)) /home/user/
example.com/html/$1


<Directory /home/user/example.com/html>
        allow from all
</Directory>


WSGIDaemonProcess example user=django group=django threads=25
WSGIProcessGroup example

WSGIScriptAlias / /var/django/example.com/django.wsgi

</VirtualHost>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to