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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 890 - (hide 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 misc 812 <VirtualHost *:80>
2     ServerName <%= name %>
3     # Serve static content directly
4     DocumentRoot /dev/null
5    
6     WSGIScriptAlias / <%= wsgi_path %>
7 misc 890
8     <%- aliases.each_pair do |key,value| -%>
9     Alias <%= key %> <%= value %>
10     <%- end -%>
11 misc 812 <Location />
12     Allow from all
13     </Location>
14     </VirtualHost>
15    

  ViewVC Help
Powered by ViewVC 1.1.30