404 on sub-directory sites on fresh 3.4.1 install
-
The title says it all. Mostly. I receive a 404 error when I try to access the site or it’s dashboard.
I’m self-hosted running on Scientific Linux 6.2, Apache 2.2.15, and PHP 5.3. I’ve verified my htaccess is proper for sub-directory based network setups and that it is being read. I’ve verified the proper tables are being created for new sites.
Now what is strange is this only seems to happen if I name the site ‘chris’. I can create a site using any other name, or at least the hand full of names I tried, and they all work (test, demo, corbin, bob..). But when I create it named ‘chris’ it errors. I’ve tried deleting and recreating without success.
My apache error_log shows the following when I access the ‘chris’ site:
[Fri Jun 29 14:42:17 2012] [error] [client XX.XX.XX.XX] File does not exist: /srv/http/www/users, referer: https://www.theclonchs.com/wp-admin/network/site-new.php?update=added&id=9
That would leave me to believe the ‘chris’ named site is slipping through the htaccess rules. So for reference here is my htaccess file:
# BEGIN WordPress <IfModule mod_rewrite.c> 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).*) $1 [L] RewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L] RewriteRule . index.php [L] </IfModule> # END WordPress
Any help would be appreciated! I’m out of ideas.
-Chris
- The topic ‘404 on sub-directory sites on fresh 3.4.1 install’ is closed to new replies.