google app engine - How to write app.yaml for vast php project? -


i have ready php website. website writing app.yaml google app engine. read many answers doesnt me. facing problem php files under various subfolders in libraries folder. in index.php, accept rss feed url , process full text feed calling other php files. getting error.

/makefulltextfeed.php?url=https%3a%2f%2fnews.google.co.in%2fnews%3fpz%max =10&links=preserve&exc=&submit=create+feed not found on server. 

how write app.yaml php files comes under various sub-folders?? have write handlers: individual php files?? stuck here whole day. new topic. if find stupid question please forgive me. here app.yaml

application: xxxx-xxxx-90212 version: alpha-001 runtime: php api_version: 1  handlers: - url: /   script: index.php  - url: /config   script: config.php  - url: /makefulltextfeed   script: makefulltextfeed.php  - url: /css   static_dir: css  - url: /js   static_dir: css    - url: /images   static_dir: images 

i have php files in subfolder. how write app.yaml that.

as described here can use notation match root path, ends .php, php script

# serve php scripts. - url: /(.+\.php)$   script: \1 

this config assume each url ends .php, can modify url regex catch urls (i test regex think it's works :) )

# serve php scripts. - url: /((.+\/).*)$   script: \1.php 

or can simulate httpd mod_rewrite described here.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -