I’ve been trying to set up a basic WordPress site with Google App Engine’s new PHP SDK, following these instructions.
From what I understand, app.yaml
is where the process kicks off and should work similar to .htaccess
(re routing).
Google instruct you to drop your wordpress files into a wordpress folder, so your directory structure looks like this:
.
âââ app.yaml
âââ cron.yaml
âââ php.ini
âââ wordpress
âââ index.php
âââ license.txt
âââ readme.html
âââ (etc)
So their template app.yaml
should work, including the following lines:
- url: /wp-cron.php
script: wordpress/wp-cron.php
login: admin
- url: /xmlrpc.php
script: wordpress/xmlrpc.php
- url: /(.+)?/?
script: wordpress/index.php
But localhost:8080
gives me my app folder’s directory structure, instead of the anticipated wordpress/index.php.
I tried this as well:
- url: /.*
script: wordpress/index.php
Any ideas?
Note: I verified that wordpress/index.php
exists, by the way.
GAE’s dev_appserver will never list the directory structure. Sounds like you might be hitting some other web server running on your localhost?