Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter rufote

    (@rufote)

    Solved. Thank you very much for your help. That was the clue: AllowOverride All has to be set on the involved “Directory” of the Apache server and with:

    # use .htaccess files for overriding,
    AccessFileName .htaccess
    # and never show them
    <Files ~ “^\.ht”>
    <IfModule !mod_access_compat.c>
    Require all denied
    </IfModule>
    <IfModule mod_access_compat.c>
    Order allow,deny
    Deny from all
    </IfModule>
    </Files>

    for safety reasons…

    Again, thanks and regards.

    Thread Starter rufote

    (@rufote)

    Hello, my-sites.php exists under wp-admin and with the permissions 644 and owner:group the Apache user and Apache group.
    Concerning the httpd.conf parameter AllowOverride All is not set !!! I will change it and will let you know…

    BTW I’ve tried a fresh installation of another wp instance with the same results…and with the same config for AllowOverride of course !!!

    Thread Starter rufote

    (@rufote)

    This is the wp-config.php with the extra information you mention at the end…

    // ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define(‘DB_NAME’, ‘wordpress’);

    /** MySQL database username */
    define(‘DB_USER’, ‘xxxxxxxxx’);

    /** MySQL database password */
    define(‘DB_PASSWORD’, ‘xxxxxxxxxxxx’);

    /** MySQL hostname */
    define(‘DB_HOST’, ‘localhost’);

    /** Database Charset to use in creating database tables. */
    define(‘DB_CHARSET’, ‘utf8mb4’);

    /** The Database Collate type. Don’t change this if in doubt. */
    define(‘DB_COLLATE’, ”);

    /**#@+
    * Authentication Unique Keys and Salts.
    *
    * Change these to different unique phrases!
    * You can generate these using the {@link https://api.www.ads-software.com/secret-key/1.1/salt/ www.ads-software.com secret-key service}
    * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
    *
    * @since 2.6.0
    */
    define(‘AUTH_KEY’, ‘}wZOjWsT6!)~7i-fXvx/&#0buyrjrtj(qql[1d:8N{~:gde5vx3YFgqCHOe’);
    define(‘SECURE_AUTH_KEY’, ‘:h7=q)`U}5w@V@r/k:@rU)bbEj1c>wCWtya>z+;x{MDy-#0yQOC=?}swcJr’);
    define(‘LOGGED_IN_KEY’, ‘!NZ?ZQ(K@ u)RGqh!0U3jWsY~]]IEi8y{UHO_@Z >qP4<M@mX1Wiq%tl(yk’);
    define(‘NONCE_KEY’, ‘U7ntI}/MI?*7Rq$O03!q&#cGP:!B{s Y1HtN<9<X{P3q({iTAWk>xJ-u5e:’);
    define(‘AUTH_SALT’, ‘LDa!tfat6j*K-msXy@eC8vg_wvwjxB8cJ.H[hU?%0K]IG6G!wSKzO%.l]#6’);
    define(‘SECURE_AUTH_SALT’, ‘0/B9#CNYnmo2v~:H;%b_U]`Q/(aR!4u<YgHkQ:vD0CGJo}Q<j/ &p4uOlG<‘);
    define(‘LOGGED_IN_SALT’, ‘b=vy6bz|LC,>R9iS5#w*&G38(z?DkHKG~,9*]vE14^g.{:6I7iJMs1%ao`Y’);
    define(‘NONCE_SALT’, ‘V- /1(p@PoN:}Wr0cu&EreqrO>izo>^&<5v~E;;*70u<@TbA|dS]sOOh_~&’);

    /**#@-*/

    /**
    * WordPress Database Table prefix.
    *
    * You can have multiple installations in one database if you give each
    * a unique prefix. Only numbers, letters, and underscores please!
    */
    $table_prefix = ‘wp_’;

    /**
    * For developers: WordPress debugging mode.
    *
    * Change this to true to enable the display of notices during development.
    * It is strongly recommended that plugin and theme developers use WP_DEBUG
    * in their development environments.
    *
    * For information on other constants that can be used for debugging,
    * visit the Codex.
    *
    * @link https://codex.www.ads-software.com/Debugging_in_WordPress
    */
    define(‘WP_DEBUG’, false);

    /* Multisitio */
    define( ‘WP_ALLOW_MULTISITE’, true );

    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, false);
    define(‘DOMAIN_CURRENT_SITE’, ‘www.xxxxxxxxxx.com’);
    define(‘PATH_CURRENT_SITE’, ‘/wordpress/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);

    /* That’s all, stop editing! Happy blogging. */

    /** Absolute path to the WordPress directory. */
    if ( !defined(‘ABSPATH’) )
    define(‘ABSPATH’, dirname(__FILE__) . ‘/’);

    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . ‘wp-settings.php’);

    and the .htaccess which is located in the …/wordpress/… directory:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wordpress/
    RewriteRule ^index\.php$ – [L]
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    </IfModule>
    # END WordPress

    Nothing seems strange to me….I think I did it successfully.
    I’m not familiar with the rewrite rules, but I included in the .htaccess what was shown after the multisite installation…

    • This reply was modified 6 years, 9 months ago by rufote.
Viewing 3 replies - 1 through 3 (of 3 total)