
Also add "Satisfy any" to make 2.4 happy. Change-Id: Ie1e7007c0e2d90d8d83d91b97e4554b9daaba821
32 lines
863 B
Plaintext
32 lines
863 B
Plaintext
<VirtualHost *:80>
|
|
ServerName <%= scope.lookupvar("odsreg::vhost_name") %>
|
|
|
|
WSGIScriptAlias / /var/www/odsreg/django.wsgi
|
|
Alias /media/ /usr/local/odsreg/odsreg/cfp/static/
|
|
Alias /static/admin/ /usr/share/pyshared/django/contrib/admin/media/
|
|
|
|
<Directory /usr/share/pyshared/django/contrib/admin/media>
|
|
Order deny,allow
|
|
Allow from all
|
|
Satisfy any
|
|
</Directory>
|
|
|
|
<Directory /usr/local/odsreg/odsreg/cfp/static/>
|
|
Order deny,allow
|
|
Allow from all
|
|
Satisfy any
|
|
</Directory>
|
|
|
|
<Directory /var/www/odsreg>
|
|
Order deny,allow
|
|
Allow from all
|
|
Satisfy any
|
|
</Directory>
|
|
|
|
ErrorLog /var/log/<%= scope.lookupvar("httpd::params::apache_name") %>/odsreg_error.log
|
|
LogLevel warn
|
|
CustomLog /var/log/<%= scope.lookupvar("httpd::params::apache_name") %>/odsreg_access.log combined
|
|
ServerSignature Off
|
|
|
|
</VirtualHost>
|