> > and i put the whole directory as static_dir like: > > - url: /scripts > static_dir: scripts >
> ..., it happens to me that i can download the source code of > script.php!!!?? > With this you've defined the scripts folder as being *static*. static files are served as is - not interpreted by the dynamic instance. > > so, what am i doing wrong? > > There is an example in the docs https://developers.google.com/appengine/docs/php/config/appconfig # Serve php scripts. - url: /(.+\.php)$ script: \1 which can be adapted # Serve php scripts from script folder. - url: /scripts/(.+\.php)$ script: scripts/\1 -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
