• Resolved rudeseal

    (@rudeseal)


    I have been beating my head and I just cannot get this to work correctly.. I follow the procedues and get the Multiuser activated. updated the .htaccess and config files with the settings shown on the network page.. I have created the blogs.dir in the wp-content folder.. I set the permissions to 755 and 777 (did not work either way). When I click on Create site under the superuser, after about 20 seconds, it says Error 500, internal server error.. I go back to the control panel, it shows that the user account and the site was created, but it really didn’t.. I look in the blogs.dir folder and it is empty.. no site, nothing..

    What am I doing wrong..

    I am using the subdirectory install..

Viewing 15 replies - 1 through 15 (of 35 total)
  • You don’t see the subsites on your server, the subsites are virtual. Can you get a dashboard for the new site when you click on “my sites”? The 500 error is of course not normal.

    Talk to your webhost. Tell them you added some new htaccess rules for some virtual folders and you’re getting a 500 error.

    Thread Starter rudeseal

    (@rudeseal)

    Yes, the control panel/super admin/sites shows the new site under so it updated in the MySql Database and the emails go out to the admin and the new user, but no sub folders showup under the blogs.dir folder (site 4 should show up at least as wp-content/blogs.dir/4/ right??).

    here is my .htaccess file:
    # BEGIN WordPress

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [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]

    # END WordPress

    The recommended additions to my config file is:

    define( ‘MULTISITE’, true );
    define( ‘SUBDOMAIN_INSTALL’, false );
    $base = ‘/’;
    define( ‘DOMAIN_CURRENT_SITE’, ‘littleshelltribalmembers.com’ );
    define( ‘PATH_CURRENT_SITE’, ‘/’ );
    define( ‘SITE_ID_CURRENT_SITE’, 1 );
    define( ‘BLOG_ID_CURRENT_SITE’, 1 );

    Thread Starter rudeseal

    (@rudeseal)

    OK, looking through the FAQ’s of my hosting, (1and1.com), they say the following:

    “Whenever using mod_rewrite and/or the rewrite engine, it MAY not function properly on standard shared
    hosting and/or managed servers without the following line added before it in the .htaccess file:

    Options -MultiViews”

    I added the “Options -MultiViews” to the .htaccess and reset the permissions to 666, but still no go: Here’s my new .htaccess file:

    # BEGIN WordPress
    Options -MultiViews”

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [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]

    # END WordPress

    I changed my Permalinks to the “Pretty Permalinks” and they are working fine.. So, I don’t know what’s up.. What Permissions and folders needs to be in the wp-contents\ folder that I have to put in manually and what permissions do they all need to be set to?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Get rid of that ” in the multiviews line.

    # BEGIN WordPress
    Options -MultiViews
    
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [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]
    
    # END WordPress

    but no sub folders showup under the blogs.dir folder (site 4 should show up at least as wp-content/blogs.dir/4/ right??).

    No. As stated earlier, the blogs themselves do not live in that folder. they are *virtual*, meaning they are served up when requested.

    those folders are for media uploads only. You will only ever see content in them *after* the blog is working and you sue the media uploader to upload any extra files.

    that’s it.

    It’s entirely an htaccess issue.

    First I’ve heard of adding Options -MultiViews tho, if it works I’m writing this one down.

    Thread Starter rudeseal

    (@rudeseal)

    the Quote after the MultiViews is not in the online version of .htaccess. That is my mistake when I pasted it into the forum.. and it still does not work.. So even though it may be a problem with the 1and1 servers.. it’s not helping me..

    Thanks for the clarification on the virtual, I was not sure if it created the subsite folder on creation..

    I do have the phpinfo.php up on the site if anyone wants to look at it.. it is at http://www.littleshelltribalmembers.com/phpinfo.php to see if there are any modules or configurations that I need to email 1and1 about..

    I’m searching for a solution to the same problem. I’m able to go under SuperAdmin and setup the site and everything seems to work, but when I try to access the site I get a broken link.

    Nothing is created, can’t login, can’t access the subdirectory that should have been setup with the new site. Thought it was an issue with the blogs.dir directory, but if nothing is suppose to be there, where can I look.

    I’m guessing a rights issue but I don’t know what to check.

    I have the same issue.

    I just installed WP 3.0.1 and went through the normal process for enabling network (WPMU). It all seemed fine except it did not create the /blogs.dir directory and it uses /uploads folder for uploding files even after I have enabled network / multisite.

    Looking in the DB, I see the extra tables for the sub-sites and in options they have the correct upload path.

    The .htaccess file has the default configuration as crated by WPMU.

    Anyone got a clue to why this is happening?

    I see several threads having similar issues.

    My .htacess file looks like this:

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    # END WordPress

    This is working fine on my local computer, but not on my new VPS running CentOS 5.5 on Linux.

    mod_rewriteis turned on and should work fine.

    PS. I’m also not able to access my subsite http://subsite.mysite.com. I just get the ‘Web Server’s Default Page’.

    So I’m pretty sure this has something to with re-writing.

    Wildcards (DomainAlias *.mysite.com) is added to vhost.conf file.

    @spstieng

    except it did not create the /blogs.dir directory and it uses /uploads folder for uploding files even after I have enabled network / multisite.

    Some clarification:
    – WordPress does not create that folder, it instructs you to create it.
    – the main blog uses the default uploads folder for single-site compatibility. all other blogs will use the blogs.dir folder for media

    If your new VPS is the one where you;re using subdomains, set up wildcard domains in Apace in the vhost area.

    @tradrobinson – subdomains or subfolder? What kind of a broken link?

    And no, nothing will show up on the servers. the blogs are virtual. It means they do not physically exist.

    I’m using subfolders. When I mentioned nothing showing up on servers, I was trying to access the url of what should be the newly created site.

    I have the blogs.dir directory created. I understand that nothing should show up under the blogs.dir directory, but should an ID number be created there? Currently, there is nothing there.

    @andrea_r

    shit, u’re right (of course :). I had forgotten that I have to manually create the /blogs.dir folder.

    I’ve already added ServerAlias *.domain.com in vhost.conf file.

    Huh…. as I was looking through my httpd.include file, I saw that the following line was missing:
    Include /var/www/vhosts/mysite.com/conf/vhost.conf

    Plesk automatically generates the httpd.include file and should have this line included. But for some reason it was not.

    Now it works!

    Oh, Plesk.. how I hate you…. 😀

Viewing 15 replies - 1 through 15 (of 35 total)
  • The topic ‘Cannot get Multiuser to work in 3.0.1’ is closed to new replies.