VirtualHost 80 ServerName site mysetes com DocumentRoot home casufi Si

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
<VirtualHost *:80>
ServerName site.mysetes.com
DocumentRoot /home/casufi/Sites/current/corporate
Alias /media /home/casufi/Sites/current/corporate/django/contrib/admin/media
Alias /site_resources /home/casufi/Sites/current/corporate/site_resources
RewriteEngine On
RewriteRule ^/(media.*)$ /$1 [QSA,L,PT]
RewriteRule ^/(site_resources.*)$ /$1 [QSA,L,PT]
WSGIScriptAlias / /home/casufi/Sites/current/corporate/apache.wsgi
</VirtualHost>