Forums

The WordPress MU forums have moved to the MultiSite forum on WordPress.org

404 on nearly everything (3 posts)

  1. simonrobic
    Member
    Posted 2 years ago #

    Hi.

    Yeah, I know, a lot of topics are already dealing with that, but none of them are resolving it.

    So i managed to install mu. I can connect to the admin, and create new blogs (in the admin, or via wp-signup. I also have access to the index ("This is a WordPress Mu powered site."). But that's all.

    Impossible to access any blog created, or any article of the main one, like the Hello world one for the example.

    To be precise, I use the /blogname methode, and I follow the readme.txt instructions. I'm running it on a debian server, with vhosts, mod_rewrite activated.

    If you need any other information to help me, please let me know.

    Thank you.

  2. andrea_r
    Moderator
    Posted 2 years ago #

    Vhosts are only used for the subdomain method.

    If mod_rewrite is active, then check the main blog's Hello world post. If that doesn't show up, then you need to add a line in Apache for Allow FileOverride All (or something like that) because it's not *reading* the htaccess file in the the main directory.

    And yes, there are actually posts about this exact issue. :) With this solution.

  3. simonrobic
    Member
    Posted 2 years ago #

    I mentioned vhosts because i have multiple websites on my server.

    So, I have several folders, like /var/www/abc and /var/www/def (for example).
    And a vhost file for each website.

    For the one I try to install mu to, I have that vhost file :

    NameVirtualHost domain.tld
    <VirtualHost domain.tld>
    ServerAdmin mail@mail.com
    DocumentRoot /var/www/site/
    ServerName domain.tld
    ServerAlias *.domain.tld
    <Directory />
    Options FollowSymLinks
    AllowOverride FileInfo Options
    </Directory>
    <Directory /var/www/site/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    allow from all
    </Directory>
    </VirtualHost>

    (domain.tld and my email are, of course, not those ones)

    Also tried with AllowOverride All instead of the bold line.

    Is there somewhere else I have to write that ?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags