-
-
Notifications
You must be signed in to change notification settings - Fork 125
Expand file tree
/
Copy pathapi.conf
More file actions
28 lines (22 loc) · 595 Bytes
/
api.conf
File metadata and controls
28 lines (22 loc) · 595 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
User www-data
Group www-data
LogFormat "%h %l %u %t \"%r\" %>s %b" common
ErrorLog /var/www/openml/logs/error.log
CustomLog /var/www/openml/logs/access.log common
HostnameLookups Off
<Directory />
Options FollowSymLinks
AllowOverride None
Require all denied
</Directory>
<Directory /var/www/openml>
Options FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>
<VirtualHost *:80>
DocumentRoot /var/www/openml
RewriteEngine on
RewriteCond %{SERVER_NAME} =api.openml.org
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>