wordpress - Is there any way to hide wp-config.php inside Google App Engine? -


just that.

i mean. i'm bit noob in gae. have wp web running inside , want protect bit. if using, example, apache, can put thing inside .htaccess file:

<files wp-config.php>     order allow,deny     deny </files> 

and if try access (directly, www.foo.bar/wp-config.php) going obtain 403 forbidden error, can't find similar same results using app.yaml file. gae managing differently kind of attack? have other option, apart of change location of file?

thanks.

according wordpress docs, can place wp-config.php file 1 directory above equivalent of root or public_html , wordpress core able find it. see https://codex.wordpress.org/editing_wp-config.php

if have similar directory structure in gae (i'm not user of gae), try that.

but there questions if beneficial: https://wordpress.stackexchange.com/questions/58391/is-moving-wp-config-outside-the-web-root-really-beneficial


Comments

Popular posts from this blog

many to many - Django Rest Framework ManyToMany filter multiple values -

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

Java Entity Manager - JSON reader was expecting a value but found 'db' -