php - How to define a static url in app.yaml "Google App Engine"? -
i trying make ajax call in project file in root directory named abc.php
. ajax call gets succeed when try on local server. on server gives 500 server error
.
i think problem need set static url in app.yaml
. according given doc. implemented following code:
handlers: - url: /abc script: abc.php # serve images static resources. - url: /(.+\.(gif|png|jpg|jpeg|css|js|pdf|woff|woff2|eot|svg|ttf|ico))$ static_files: \1 upload: .+\.(gif|png|jpg|jpeg|css|js|pdf|woff|woff2|eot|svg|ttf|ico)$ application_readable: true - url: /.* script: index.php
but still not able access abc
url on server. can please tell wrong it?
Comments
Post a Comment