Commit 275110d Rub21
committed
1 parent b2dc454 commit 275110d Copy full SHA for 275110d
File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 23
23
</Location>
24
24
25
25
# ======Proxying traffic to CGImap====
26
+ RewriteCond %{REQUEST_URI} ^/api/0\.6/map
26
27
RewriteRule ^/api/0\.6/map(\.json|\.xml)?$ fcgi://127.0.0.1:8000$0 [P]
27
28
RewriteCond %{REQUEST_METHOD} ^(HEAD|GET)$
28
29
RewriteRule ^/api/0\.6/(node|way|relation|changeset)/[0-9]+(\.json|\.xml)?$ fcgi://127.0.0.1:8000$0 [P]
37
38
# Redirect non-api requests made to api.openhistoricalmap.org to www.openhistoricalmap.org
38
39
# Testing
39
40
#
40
- RewriteCond %{HTTP_HOST} ^api\.
41
- RewriteCond %{REQUEST_URI} !^/api/
42
- RewriteRule ^(.*)$ https://staging.openhistoricalmap.org$1 [L,NE,R=permanent]
41
+ # RewriteCond %{HTTP_HOST} ^api\.
42
+ # RewriteCond %{REQUEST_URI} !^/api/
43
+ # RewriteRule ^(.*)$ https://staging.openhistoricalmap.org$1 [L,NE,R=permanent]
43
44
44
45
# Relax Apache security settings
45
46
<Directory /var/www/public>
You can’t perform that action at this time.
0 commit comments