Hi,
Il's my first post in WordPress Forum.
I'm have setup WordPressMU. We are planning on using the subdirectory method of blog access blogs.example.com/name. I am now testing the installation by setting up a blog for myself. I go ahead and create a blog and get the activation email from the blog server. I click the link to activate the blog and this is also successful. However, when I try to login to the blog using the link http://blogs.example.com/toto/wp-login.php I get a error code "Not Found The requested URL /toto/wp-login.php was not found on this server"
When I check the folder /var/www/html/blogs.example.com/toto, there isn't. It seems for me that Apache get me back this error in this case.
I am using a pretty generic RedHat installation. The DocumentRoot for the VirtualHost blogs.example.com is /var/www/html/blogs.example.com. The rewrite module is specified in the httpd.conf file as below :
RewriteEngine On
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot /var/www/html/blogs.example.com
ServerName blogs.example.com
ServerAlias blogs.example.com
ErrorLog /var/log/httpd/blogs.example.com.net-error_log
CustomLog /var/log/httpd/blogs.example.com-access_log common
DirectoryIndex index.php
<Directory />
AllowOverride FileInfo Options
</Directory>
</VirtualHost>
The apache error log file also states that the file /toto/wp-login.php was not present :
[Thu Apr 26 11:50:28 2007] [error] [client 192.168.1.15] File does not exist: /var/www/html/blogs.example.com/toto
My .htaccess config is as below :
RewriteEngine On
RewriteBase /
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [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]
I had try to test this .htacces's config but unfortunately :
RewriteEngine On
RewriteBase /
Rewrite http://www.domain.com to domain.com
RewriteCond %{HTTP_HOST} ^mublog\.(.*)
RewriteRule ^(.*) http://%1/$1 [R,L]
uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [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]
PS : ls -l .htaccess
-rw-r--r--
Do you have any suggestions on what might be wrong? or they are any WordPress Mu installation for the subdirectory option?
Thanks in advance.