[wpmu-trac] [WordPress MU Trac] #1025: WPMU installed in Subdirectory, But Error On Blogs

WordPress MU Trac wpmu-trac at lists.automattic.com
Wed Jul 8 02:32:29 UTC 2009


#1025: WPMU installed in Subdirectory, But Error On Blogs
--------------------------------+-------------------------------------------
 Reporter:  advancedracedotcom  |       Owner:  donncha                       
     Type:  defect              |      Status:  new                           
 Priority:  normal              |   Milestone:  2.7.1                         
Component:  component1          |     Version:  2.7.1                         
 Severity:  normal              |    Keywords:  WPMU subdirectory, blogg error
--------------------------------+-------------------------------------------
 I installed WPMU 2.7.1 at http://advancedrace.com/new/. My host and I (he
 allowed me to come to his office for helping me in the installation
 procedure) followed the readme.txt and the installation instructions found
 over at here(http://codex.wordpress.org/Installing_WPMU).
 We checked we got mod_rewrite enabled, as when we disbled it the wpmu
 installer gave us a warning telling us that mod_rewrite disabled.
 We also have the line "AllowOverride FileInfo Options" in the appropriate
 place in the Apache instead of "AllowOverride None".

 We used subdirectory install as my host asked me to keep wpmu blogs in
 subdirectories.
 So other than that I have a normal wordpress install in another directory,
 a copy of its files are under the public_html folder though, allowing it
 run on the main domain page which is advancedrace.com
 As so the WPMU guys say on the download page
 (http://mu.wordpress.org/download/) of this current version :"
 Requirements
 Apart from WordPress Requirements

 Apache mod_rewrite - if you had WP installed already with fancy URLs then
 you should be fine. "

 While installing wpmu in the public_html under a subfolder "new" though, I
 just renamed the wp-config.php file of the single wordpress install for
 the few minutes while we ran the wpmu installation and then changed it
 back to normal.

 But after entering all the data on the installation page like database
 user and password and other, we get to the page showing the password. But
 when we click on login it gives a 500 internal server error.

 If the .htaccess file is renamed to htaccess.txt then we get into the
 login and get the admin panels and the site. We were first creating pages
 and blogs but none worked as they showed 404 error. But then in the admin
 menu of permalinks I just changed the permalinks to default format from
 the previous "month and name" format, and the permalinks for pages are now
 working as you might notice, but the blogs that are getting created, they
 are still showing page 404 error.

 Here is what is in my .htaccess file:


 {{{
 RewriteEngine On
 RewriteBase /new/

 #uploaded files
 RewriteRule ^(.*/)?files/$ index.php [L]
 RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
 RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

 # add a trailing slash to /wp-admin
 RewriteCond %{REQUEST_URI} ^.*/wp-admin$
 RewriteRule ^(.+)$ $1/ [R=301,L]

 RewriteCond %{REQUEST_FILENAME} -f [OR]
 RewriteCond %{REQUEST_FILENAME} -d
 RewriteRule . - [L]
 RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
 RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
 RewriteRule . index.php [L]

 <IfModule mod_security.c>
 <Files async-upload.php>
 SecFilterEngine Off
 SecFilterScanPOST Off
 </Files>
 </IfModule>
 }}}
 Just for your information I dont have a .htaccess file for the other
 wordpress setup in the public_html folder as it is in the other directoty
 where it is originally installed, and all the databases are created fine
 as well, as checked by my host and me.
 I hope I have given the most details that I think of.

 I m thinking may be I need to edit the .htaccess file or some other part
 of the admin or anything else that I might be missing. My host has been
 very patient and spent a lot of time on this, as we spent together over 4
 hours at his office trying to get it to run (I have myself spent over 22
 hours on getting it to run and searching for help on the forum and on the
 web).

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/1025>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list