Forum Moderators: phranque

Message Too Old, No Replies

two domains one hosting wordpress and wordpress mu

difficulties in installing wordpress mu in a subdirectory

         

Omegacool

7:48 am on Aug 22, 2008 (gmt 0)

10+ Year Member



Hello, greetings to all, I am new to the forum and not write well in English

I have two domains, dom1 and dom2 and only hosting. Dom1 is directed toward the root / for a instalation of "wordpress" and dom2 going to a folder /eco for a instalation of "wordpress mu"

I have a htaccess file in the root:

# DOM1 and DOM2 in top-level .htaccess file
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
#
# Externally redirect dom1.com to www.dom1.com
RewriteCond %{HTTP_HOST} ^dom1\.com [NC]
RewriteRule (.*) [dom1.com...] [L,R=301]
#
# Externally redirect dom2 to www.dom2.com
RewriteCond %{HTTP_HOST} ^dom2\. [NC]
RewriteRule (.*) [dom2.com...] [L,R=301]
#
# Internally rewrite dom2 to subdirectory /ecosa
RewriteCond %{HTTP_HOST} ^www\.dom2\.
RewriteCond %{REQUEST_URI} !/eco
RewriteRule (.*) /eco/$1 [L]
#
# BEGIN WordPress for pretty permalinks
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress

.htaccess in to the folder /eco wordpressmu

# DOM2
RewriteEngine On
RewriteBase /eco/

#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>

The problem is that after the installation of wordpress mu, the address is [dom2.com...] and to seek access to [dom2.com...] gives me the error: "Firefox has detected that server is redirecting the request to address this in a way that never ended "

The installation ends either from the site [dom2.com...]

[scribd.com...]

someone would help me to resolve this?

Can I put the full address (URL) for them to see the problem directly?
Tanks.

[edited by: Omegacool at 7:52 am (utc) on Aug. 22, 2008]