/[adm]/puppet/modules/apache/templates/vhost_wsgi.conf
ViewVC logotype

Contents of /puppet/modules/apache/templates/vhost_wsgi.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 890 - (show annotations) (download)
Mon Jan 24 12:22:10 2011 UTC (14 years ago) by misc
File size: 342 byte(s)
allow to set aliases for wsgi powered web application ( should be refactored, IMHO )
1 <VirtualHost *:80>
2 ServerName <%= name %>
3 # Serve static content directly
4 DocumentRoot /dev/null
5
6 WSGIScriptAlias / <%= wsgi_path %>
7
8 <%- aliases.each_pair do |key,value| -%>
9 Alias <%= key %> <%= value %>
10 <%- end -%>
11 <Location />
12 Allow from all
13 </Location>
14 </VirtualHost>
15

  ViewVC Help
Powered by ViewVC 1.1.30