Make WordPress Core

Changeset 26870


Ignore:
Timestamp:
12/26/2013 09:47:24 PM (11 years ago)
Author:
nacin
Message:

Update the Microsoft IIS configuration.

props blobaugh, msopentech.
fixes #26696.

Location:
branches/iis
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/iis/manifest.xml

    r12089 r26870  
    77        setAclAccess="Modify" />
    88    <alias from="wordpress/wp-config-sample.php" to="wordpress/wp-config.php" />
     9    <alias from="web.config" to="wordpress/web.config" />
    910</MSDeploy.iisApp>
  • branches/iis/parameters.xml

    r20994 r26870  
    219219<!-- WordPress specific parameters -->
    220220
     221<!-- Authentication Unique Keys and Salts -->
     222
     223<!-- AUTH_KEY -->
     224
     225<!-- Single quotes and back slashes are not allowed in the key and salt values. Combination of $ with other characters are breaking the replacement in wp-config. Ex: $_ , $` , $+ . So adding the regex to validate $ symbol.  -->
     226
     227<parameter
     228    name="Authentication Key"
     229    defaultValue="put your unique phrase here"
     230    description="Unique phrase used to strengthen your password. It should not contain single quotes, backslashes and dollar character."
     231    tags="NoStore"
     232    >
     233    <parameterValidation
     234        type="RegularExpression"
     235        validationString="^[^\\'$]*$"
     236        />
     237</parameter>
     238<parameter
     239    name="Automatic Auth Key PHP File"
     240    defaultValue="define('AUTH_KEY',         '{Authentication Key}');"
     241    tags="Hidden, NoStore"
     242    >
     243    <parameterEntry
     244        type="TextFile"
     245        scope="wp-config.php$"
     246        match="define\('AUTH_KEY',\s*'[^']*'\);"
     247        />
     248</parameter>
     249
     250<!-- SECURE_AUTH_KEY -->
     251
     252<parameter
     253    name="Secure Authentication Key"
     254    defaultValue="put your unique phrase here"
     255    description="Unique phrase used to strengthen secure password. It should not contain single quotes, backslashes and dollar character."
     256    tags="NoStore"
     257    >
     258    <parameterValidation
     259        type="RegularExpression"
     260        validationString="^[^\\'$]*$"
     261        />
     262</parameter>
     263<parameter
     264    name="Automatic Secure Auth Key PHP File"
     265    defaultValue="define('SECURE_AUTH_KEY',  '{Secure Authentication Key}');"
     266    tags="Hidden, NoStore"
     267    >
     268    <parameterEntry
     269        type="TextFile"
     270        scope="wp-config.php$"
     271        match="define\('SECURE_AUTH_KEY',\s*'[^']*'\);"
     272        />
     273</parameter>
     274
     275<!-- LOGGED_IN_KEY -->
     276
     277<parameter
     278    name="Logged In Key"
     279    defaultValue="put your unique phrase here"
     280    description="Unique phrase used to strengthen authentication. It should not contain single quotes, backslashes and dollar character."
     281    tags="NoStore"
     282    >
     283    <parameterValidation
     284        type="RegularExpression"
     285        validationString="^[^\\'$]*$"
     286        />
     287</parameter>
     288<parameter
     289    name="Automatic Logged In Key PHP File"
     290    defaultValue="define('LOGGED_IN_KEY',    '{Logged In Key}');"
     291    tags="Hidden, NoStore"
     292    >
     293    <parameterEntry
     294        type="TextFile"
     295        scope="wp-config.php$"
     296        match="define\('LOGGED_IN_KEY',\s*'[^']*'\);"
     297        />
     298</parameter>
     299
     300<!-- NONCE_KEY -->
     301
     302<parameter
     303    name="Nonce Key"
     304    defaultValue="put your unique phrase here"
     305    description="It is used to sign the nonce key which protects the nonce from being generated, protecting you from certain forms of attacks where a hacker attempts to guess the nonce. It should not contain single quotes, backslashes and dollar character."
     306    tags="NoStore"
     307    >
     308    <parameterValidation
     309        type="RegularExpression"
     310        validationString="^[^\\'$]*$"
     311        />
     312</parameter>
     313<parameter
     314    name="Automatic Nonce Key PHP File"
     315    defaultValue="define('NONCE_KEY',        '{Nonce Key}');"
     316    tags="Hidden, NoStore"
     317    >
     318    <parameterEntry
     319        type="TextFile"
     320        scope="wp-config.php$"
     321        match="define\('NONCE_KEY',\s*'[^']*'\);"
     322        />
     323</parameter>
     324
     325<!-- AUTH_SALT -->
     326
     327<parameter
     328    name="Authentication Salt"
     329    defaultValue="put your unique phrase here"
     330    description="Unique phrase used to strengthen your password. Salt is an addition to the secret keys. They work with the keys. It should not contain single quotes, backslashes and dollar character."
     331    tags="NoStore"
     332    >
     333    <parameterValidation
     334        type="RegularExpression"
     335        validationString="^[^\\'$]*$"
     336        />
     337</parameter>
     338<parameter
     339    name="Automatic Auth Salt PHP File"
     340    defaultValue="define('AUTH_SALT',        '{Authentication Salt}');"
     341    tags="Hidden, NoStore"
     342    >
     343    <parameterEntry
     344        type="TextFile"
     345        scope="wp-config.php$"
     346        match="define\('AUTH_SALT',\s*'[^']*'\);"
     347        />
     348</parameter>
     349
     350<!-- SECURE_AUTH_SALT -->
     351
     352<parameter
     353    name="Secure Authentication Salt"
     354    defaultValue="put your unique phrase here"
     355    description="Unique phrase used to strengthen secure password. Salt is an addition to the secret keys. They work with the keys. It should not contain single quotes, backslashes and dollar character."
     356    tags="NoStore"
     357    >
     358    <parameterValidation
     359        type="RegularExpression"
     360        validationString="^[^\\'$]*$"
     361        />
     362</parameter>
     363<parameter
     364    name="Automatic Secure Auth Salt PHP File"
     365    defaultValue="define('SECURE_AUTH_SALT', '{Secure Authentication Salt}');"
     366    tags="Hidden, NoStore"
     367    >
     368    <parameterEntry
     369        type="TextFile"
     370        scope="wp-config.php$"
     371        match="define\('SECURE_AUTH_SALT',\s*'[^']*'\);"
     372        />
     373</parameter>
     374
     375<!-- LOGGED_IN_SALT -->
     376
     377<parameter
     378    name="Logged In Salt"
     379    defaultValue="put your unique phrase here"
     380    description="Unique phrase used to strengthen authentication. Salt is an addition to the secret keys. They work with the keys. It should not contain single quotes, backslashes and dollar character."
     381    tags="NoStore"
     382    >
     383    <parameterValidation
     384        type="RegularExpression"
     385        validationString="^[^\\'$]*$"
     386        />
     387</parameter>
     388<parameter
     389    name="Automatic Logged In Salt PHP File"
     390    defaultValue="define('LOGGED_IN_SALT',   '{Logged In Salt}');"
     391    tags="Hidden, NoStore"
     392    >
     393    <parameterEntry
     394        type="TextFile"
     395        scope="wp-config.php$"
     396        match="define\('LOGGED_IN_SALT',\s*'[^']*'\);"
     397        />
     398</parameter>
     399
     400<!-- NONCE_SALT -->
     401
     402<parameter
     403    name="Nonce Salt"
     404    defaultValue="put your unique phrase here"
     405    description="Unique phrase used to strengthen authentication. Salt is an addition to the secret keys. They work with the keys. It should not contain single quotes, backslashes and dollar character."
     406    tags="NoStore"
     407    >
     408    <parameterValidation
     409        type="RegularExpression"
     410        validationString="^[^\\'$]*$"
     411        />
     412</parameter>
     413<parameter
     414    name="Automatic Nonce Salt PHP File"
     415    defaultValue="define('NONCE_SALT',       '{Nonce Salt}');"
     416    tags="Hidden, NoStore"
     417    >
     418    <parameterEntry
     419        type="TextFile"
     420        scope="wp-config.php$"
     421        match="define\('NONCE_SALT',\s*'[^']*'\);"
     422        />
     423</parameter>
     424
    221425<!-- Set the correct path for the ACL based on the AppPath selected
    222426    by the user.
Note: See TracChangeset for help on using the changeset viewer.