Parent Directory
|
Revision Log
|
Patch
revision 621 by misc, Wed Dec 15 03:11:52 2010 UTC | revision 928 by misc, Tue Feb 1 12:44:50 2011 UTC | |
---|---|---|
# | Line 1 | Line 1 |
1 | <% if use_ssl then | WSGIScriptAlias / /usr/local/lib/wsgi/<%= name %>.wsgi |
port = 443 | ||
else | ||
port = 80 | ||
end | ||
%> | ||
<VirtualHost *:<%= port %>> | ||
<% if use_ssl then %> | ||
SSLEngine on | ||
SSLCertificateFile /etc/ssl/apache/<%= name %>.pem | ||
SSLCertificateKeyFile /etc/ssl/apache/<%= name %>.pem | ||
<% end %> | ||
ServerName <%= name %> | ||
# Serve static content directly | ||
DocumentRoot /dev/null | ||
WSGIScriptAlias / /usr/local/lib/wsgi/<%= name %>.wsgi | ||
#footer | ||
<Location /> | ||
Allow from all | ||
</Location> | ||
</VirtualHost> | ||
|
ViewVC Help | |
Powered by ViewVC 1.1.30 |