-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathapp.yaml
32 lines (27 loc) · 1.01 KB
/
app.yaml
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
29
30
31
32
# See https://developers.google.com/appengine/docs/php/config/appconfig.
application: drupal
version: 1
runtime: php
api_version: 1
threadsafe: true
handlers:
# Files may end with static resource extensions used below and will attempt to
# be served directly instead of through Drupal as expected. This router needs to
# be first in order to take priority over static file router.
- url: /system/(files|public|temporary)/(.+)
script: mod_rewrite.php
# Handle static requests.
- url: /(.*\.(ico|jpg|png|gif|htm|html|css|js))$
# Location from which to serve static files.
static_files: \1
# Upload static files for static serving.
upload: (.*\.(ico|jpg|png|gif|htm|html|css|js))$
# Ensures that a copy of the static files is left for Drupal during runtime.
application_readable: true
- url: /system/queue
script: mod_rewrite.php
login: admin
# Catch all unhandled requests and pass to mod_rewrite.php which will simulate
# mod_rewrite by forwarding the requests to index.php?q=...
- url: /.*
script: mod_rewrite.php